applying separate summary templates to news categories

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
splendidbloke
New Member
New Member
Posts: 8
Joined: Thu May 16, 2013 8:37 am

applying separate summary templates to news categories

Post by splendidbloke »

Hi there,

Just wondering if there is a way to completely separate news categories from each other in the news module. What I want to do is have 2 different news pages, each with their own category and summary template - i want one of them to not have the post date.

If this isn't possible, perhaps I could get some suggestions about how to tackle what the client wants.

http://www.mi-records.com/index.php?page=media

The client wants to have a system where he can freely add and remove artists he has worked with, complete with pictures, links etc. Currently, the news module seems to be the best way to accomplish this but I am quite the noob and I wouldn't be surprised if there was a much better way of achieving what I want.

In summary, I need:
- Artists page: heading, picture, (no post date), content.
- news page: heading, post date, content.

- Thanks in advance for any help you can provide, your help is always much appreciated. Sorry for the length of the post.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: applying separate summary templates to news categories

Post by Wishbone »

On one page:

Code: Select all

{News category=cat1 summarytemplate=sum1}

On the other page:

Code: Select all

{News category=cat2 summarytemplate=sum2}

If the two summary templates are semi-identical, you can have it detect which category and do something different for one of them (like leave off the date)
splendidbloke
New Member
New Member
Posts: 8
Joined: Thu May 16, 2013 8:37 am

Re: applying separate summary templates to news categories

Post by splendidbloke »

oh you legend, thanks so much!
Post Reply

Return to “CMSMS Core”