News Module - Hide Category List

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Hoppo88
New Member
New Member
Posts: 6
Joined: Fri Apr 15, 2011 10:42 pm

News Module - Hide Category List

Post by Hoppo88 »

Hello all. I have implemented the News module into a CMS template using the {news} tag. However on the page that displays this it also displays a list of all the categories aswell before it lists the news.

Is it at all possible to hide this category list and just have the news articles listed?

The code im trying to hide is

Code: Select all

<li class="firstnewscat">
	<a href="http://#####/index.php?mact=News,cntnt01,default,0&cntnt01category_id=1&cntnt01returnid=37">General</a></li>
<li>
	<a href="http://#####/index.php?mact=News,cntnt01,default,0&cntnt01category_id=2&cntnt01returnid=37">Test</a></li>
Any help would be great !

Dave
spcherub
Power Poster
Power Poster
Posts: 402
Joined: Fri Jun 06, 2008 5:54 pm

Re: News Module - Hide Category List

Post by spcherub »

Looks like you need to edit the summary template you are using to display News items.

If you are using the default template ("sample"), then simply remove the top 16 or so line (the first <ul>...</ul> block).

If this does not work, please post the actual News template you are using are someone here can recommend the actual edits.

Hope that helps.

-S
Post Reply

Return to “CMSMS Core”