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

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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

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

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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
Post Reply

Return to “CMSMS Core”