How to remove "category" field from news ?[SOLVED]

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
Rytter

How to remove "category" field from news ?[SOLVED]

Post by Rytter »

Hi,

I don't really need to show anyone a category on news(there won't be that many news  :)). can anyone please explain how to remove it so it doesn't show on the page ? I don't care whether I still have to select a category when creating news - it's only the display part I want to change.

I tried looking at the parameters to the news module, but couldn't find anything.

Thanks in advance

Kenneth
Last edited by Rytter on Thu Apr 05, 2007 7:50 pm, edited 1 time in total.
heatherfeuer

Re: How to remove "category" field from news ?

Post by heatherfeuer »

Under content in the admin section, click on the news link.  You will see several tabs, one of which is for the summary template.  In that template, remove the following div:


{$category_label} {$entry->category}


There is probably a similar div in the news detail template.  At that point, you can pretty much ignore the news category altogether.
Rytter

Re: How to remove "category" field from news ?

Post by Rytter »

Works great, thanks :-)

Rgs
Kenneth
Locked

Return to “Layout and Design (CSS & HTML)”