News Module - can i have more than one summary template?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
natronp
New Member
New Member
Posts: 7
Joined: Wed Mar 11, 2009 1:17 am

News Module - can i have more than one summary template?

Post by natronp »

I'd like to have one summary template to use on the homepage and then another to use on my actual news page which will contain all articles.  I'm pointing the detail page of the news page at itself so when you click on a summary on the news page, it'll show in that same page.

I see where you can add a template under "Summary Templates" in the admin, but not sure where i 'bind' it to my actual database template.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: News Module - can i have more than one summary template?

Post by jmcgin51 »

you don't "bind" it to any particular page template.  You determine the summary (or detail) template when you call the module.

i.e.

{cms_module module="News" summarytemplate="whatever" otherparameters="values"}

This means that you could call News twice in the same page/template, and use different summary templates each time.

If you don't specify a template, the module uses the template marked as Default in the module admin panel.
Post Reply

Return to “Modules/Add-Ons”