PDA

View Full Version : How to add content to a Catagory page?


SwizzleSkids
12-28-2004, 05:29 PM
So what if I wanted to add some content to a catagory page - for example:

I created a catagory called widgets with 3 articles in it. My catagory page is then just looks like this:

Widgets

Article 1
Article 2
Article 3

Which is great - but I'd like to put some descriptive text below the Widgets title:

Widgets
Widgets are good tor this reason, blah blah blah

Article 1
Article 2
Article 3

I could just do it in one of the panels - but the catch is that I'd like it be different for every catagory. Blue Widgets would have it's unique content, Red Widgets, etc...

Lots of programming, probably?

Joe
12-30-2004, 10:53 AM
Do you mean you want a different description for each category or each article on the category page?

SwizzleSkids
12-30-2004, 04:24 PM
Do you mean you want a different description for each category or each article on the category page?

Joseph -

A description of that category.

Joe
12-30-2004, 07:45 PM
You'd need to add a new field in the database table to hold the description, add the input and editing fields to the administration forms, then add the rendering code in the frontend.
Follow the category heading code as a guide.