News Module Help
News Module Help
Hi,
im using CMS Made Simple 0.12.1 and News module 2.0.3
Ive set up my news module for my site, i have two columns. the left column displays the news when u click 'more' in the news summary and the news summary is displayed on the left. However when i open the page no default news comes up on the left, instead i get this code: string(43) "Smarty error: eval: missing 'var' parameter".
The news summary on the right is all set up correctly but How do i go about setting up so the news part on the left has a default opening text when the page opens?
Thanks..
im using CMS Made Simple 0.12.1 and News module 2.0.3
Ive set up my news module for my site, i have two columns. the left column displays the news when u click 'more' in the news summary and the news summary is displayed on the left. However when i open the page no default news comes up on the left, instead i get this code: string(43) "Smarty error: eval: missing 'var' parameter".
The news summary on the right is all set up correctly but How do i go about setting up so the news part on the left has a default opening text when the page opens?
Thanks..
Re: News Module Help
How are you using the news tag?
What is diff. between left tag and right tag?
What is diff. between left tag and right tag?
Re: News Module Help
Hello,
I've have the same bug with cmsms 0.13. , when i want to see the detail of the news i've this message :
string(43) "Smarty error: eval: missing 'var' parameter"
and when using pretty url or not with the default template.
I've have the same bug with cmsms 0.13. , when i want to see the detail of the news i've this message :
string(43) "Smarty error: eval: missing 'var' parameter"
and when using pretty url or not with the default template.
Re: News Module Help
Are you using {cms_module module='news'} as the tag?
Re: News Module Help
{cms_module module="news" number="5"}
Re: News Module Help
try it with single quotes 'news'
Re: News Module Help
nothing change, i have the same error message et it doesn't display the detail of the news
Re: News Module Help
What does the detail template look like?
Re: News Module Help
{$entry->title}
-->
{if $entry->category}
{$entry->category}
{/if}
{if $entry->formatpostdate}
{$entry->formatpostdate}
{/if}
{if $entry->summary}
{eval var=$entry->summary}
{/if}
{if $entry->author}
{$entry->author}
{/if}
{eval var=$entry->content}
{$entry->printlink}
{if $return_url != ""}
{$return_url}
{/if}
-->
{if $entry->category}
{$entry->category}
{/if}
{if $entry->formatpostdate}
{$entry->formatpostdate}
{/if}
{if $entry->summary}
{eval var=$entry->summary}
{/if}
{if $entry->author}
{$entry->author}
{/if}
{eval var=$entry->content}
{$entry->printlink}
{if $return_url != ""}
{$return_url}
{/if}
Re: News Module Help
even if i restore the defaults parameters, i 've the same error message and non news detail displayed.
Re: News Module Help
Is something happening about fixing this error? I now have it on one of my sites and nothing I do seems to fix it.
I am using CMSMS V0.13. My news detail template is as follows:
My news module placement code is:
The 'latest_news' page looks like:
I have tried restoring default templates also, and no joy.
Need help urgently!
TonyG
www.mraqld.org
I am using CMSMS V0.13. My news detail template is as follows:
Code: Select all
<h3 id="NewsPostDetailTitle">{eval var=$entry->title}</h3>
<hr id="NewsPostDetailHorizRule">
{if $entry->formatpostdate}
<p id="NewsPostDetailDate">
{$entry->formatpostdate}
</p>
{/if}
<p id="NewsPostDetailContent">
{eval var=$entry->content}
</p>
<p id="NewsPostDetailPrintLink">
{$entry->printlink}
{if $return_url != ""}
| {$return_url}
{/if}
| {cms_selflink page='30' text='See more news'}
</p>
{cms_module module="comments" modulename="News" pageid=$entry->id emailfield=1 websitefield=1 spamprotect=1 notify="president@mraqld.org"}
Code: Select all
{cms_module module='news' number='3' moretext='Read article' dateformat='%d/%m/%Y' detailpage='latest_news'}
Code: Select all
{cms_module module='news' dateformat='%d/%m/%Y' entry='content' detailpage='latest_news' returntext='Back to Latest News' moretext='Read article'}
Need help urgently!
TonyG
www.mraqld.org
Re: News Module Help
You only need one page to have the news tag in it unless it's a page that is going to have news on it also, if it's just a landing page no tag needed... if nothing but a landing page and it's not shown in the menu then when you make it just put  : in the content box so you don't get a "No Content" error...
You may want to go to Extensions > Modules and click the word 'Help' to the right of News to see if it takes the detail page parameter... nad other parameters/instructions also visit the Handbook for more info...
http://wiki.cmsmadesimple.org/index.php ... ntent/News
You may want to go to Extensions > Modules and click the word 'Help' to the right of News to see if it takes the detail page parameter... nad other parameters/instructions also visit the Handbook for more info...
http://wiki.cmsmadesimple.org/index.php ... ntent/News