Page 1 of 1

applying separate summary templates to news categories

Posted: Mon Dec 23, 2013 6:08 am
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.

Re: applying separate summary templates to news categories

Posted: Mon Dec 23, 2013 8:09 am
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)

Re: applying separate summary templates to news categories

Posted: Mon Dec 23, 2013 8:22 am
by splendidbloke
oh you legend, thanks so much!