Page 1 of 1

Re: Two fold: News/Search problem: Attributes ignored..

Posted: Sun Jul 15, 2007 7:35 am
by RonnyK
Samalah,

I don't get your problem with news ...., do you have a link to see.

I call news like:

Code: Select all

{news category="general" number=5 detailpage="nieuws" dateformat="%d-%m-%Y"}
where detailpage is the contentpage to be openened with the corresponding template.

For you second problem,

I use:

Code: Select all

{search  searchtext="" resultpage="Zoekresultaat"}
where resultpage is the contentpage, with corresponding template to be openened.

Ronny

Re: [SOLVED] Two fold: News/Search problem: Attributes ignored..

Posted: Mon Jan 14, 2008 10:44 pm
by Dr.CSS
The call you had, {cms_module module='News' category='Daughters *' moretext='Read More »' detailtemplate='daughters-detail.tpl' dateformat='%d %b %Y' number='1'},
and the problem comes from not specifying a summary template if you don't it will default to the default summary template...

So what you do is make a new summary template with just a call for the main content from your article and call it in your news tag...

Which can now just use {new......} instead of cms_module module=yadayadaya