Use multiple Summary News Templates on home page?

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
virtualbrian
New Member
New Member
Posts: 2
Joined: Wed Nov 26, 2008 4:25 am

Use multiple Summary News Templates on home page?

Post by virtualbrian »

Hello all I am new to CMS Made Simple and have found it to be just what it says it is. Also, my client loves it.

I've been able to make all of my template mods and everything is working great.

I've got one question/problem that I can't seem to fix.

I've created multiple News categories. I have articles in each category. I want to display the summary of each category on the home page of my site. BUT I want to use different Summary templates because I would like to display the summaries lightly different for each News category.

So here is my question. Is it possible to apply different summary templates to different News elements on the same page. If so, how would I go about doing this?

Thanks in advance. I think I'm just skipping something that is probably obvious.  ???
User avatar
webform
Power Poster
Power Poster
Posts: 511
Joined: Sat Nov 25, 2006 3:39 pm

Re: Use multiple Summary News Templates on home page?

Post by webform »

Try using summarytemplate and category in your module call and insert a news tag for each category you want:

Code: Select all

{news summarytemplate='mytemplate' category='mycategory'}
See the News module help for more parameters!
virtualbrian
New Member
New Member
Posts: 2
Joined: Wed Nov 26, 2008 4:25 am

Re: Use multiple Summary News Templates on home page?

Post by virtualbrian »

I knew it was gong to be something easy that I looked over. Thanks for the help!
Post Reply

Return to “CMSMS Core”