Page 1 of 1

News Module - Summary Template Editor

Posted: Wed Aug 29, 2007 8:46 am
by avon_g
I cant seem to find any reference anywhere about the Summary Template Editor in the News Module.
I can see and edit the "Sample" Template and add new ones but i cant seem to find anywhere that
these templates are then used....

TIA

Re: News Module - Summary Template Editor

Posted: Wed Aug 29, 2007 9:03 am
by RonnyK
If you go to "Content -> News -> Summary template", you'll see that below the textarea, all listed templates are available. On of them has the mark "default". If you don't give a parameter for a specific template, this is the one being pulled.

Ronny

Re: News Module - Summary Template Editor

Posted: Wed Aug 29, 2007 9:07 am
by avon_g
can you advise as to where the parameter for a specific template goes....this is the problem I am having
TIA

Re: News Module - Summary Template Editor

Posted: Wed Aug 29, 2007 9:12 am
by RonnyK
From the help,
(optional) summarytemplate="sometemplate.tpl" - Use a separate template for displaying the article summary. It have to live in modules/News/templates.
(optional) detailtemplate="sometemplate.tpl" - Use a separate template for displaying the article detail. It have to live in modules/News/templates.
I think that you don't need the ".tpl" at the end anymore, as they are no files anymore, but stored in the DB. So call the news with something like:

Code: Select all

{news summarytemplate="yournondefaulttemplate" }
Ronny