Page 1 of 1

Creating and sorting sub-categories

Posted: Mon Sep 11, 2006 10:13 am
by jescobar
I'm creating a news script, so far I've been successfull but I wanted to know if there was a tutorial or get some tips how to create categories and link them to sub-categories

i.e.

Category (by dates)
09/11/2006 (linked to sub-category below)

Sub-Category (the actual news items)
[List of news items for 09/11/2006]

Thanks for any tips!

Posted: Mon Sep 11, 2006 3:09 pm
by feyd
How does your system work? As much detail as possible would probably be best.

Posted: Mon Sep 11, 2006 3:34 pm
by jescobar
Right now I don't have the categories set up, so when you pull up the admin page it just displays all the news sorted using 'id' ASC.

I would like to implement a system where I can get them grouped together (in categories) where all news items from the same date would be grouped.

The fields used are the following,

1. title
2. topicimage
3. news
4. poster
5. date

and when entered, create a category (on a different date) based on item #5 (date).