I have a problem with the moreurl of news. It seems to lead nowhere than the page the news smarty tag is embedded. I want it to got to another summary template at the page "news".
following given setup: cmsms 1.7, news 2.10.4
There is a page "news" and it's working. {content} is given at this page.
Theres a page "collaboration" where I'm using this smarty {news category="Collaboration" detailpage="news" summarytemplate="newsbox" number="3"} in a {content block="right"}.
The summary template newsbox looks like this:
Code: Select all
<div id="newsbox">
<div id="newsboxhead">NEWS</div>
{foreach from=$items item=entry}
<div class="NewsBoxSummary">
<div class="NewsBoxSummaryLink">
<a href="{$entry->moreurl}" title="{$entry->title|cms_escape:htmlall}">{$entry->title|cms_escape}</a>
</div><!-- this link should lead to news -->
{if $entry->summary}
<div class="NewsBoxSummarySummary">
{eval var=$entry->summary}
</div>
{/if}
</div>
<hr />
{/foreach}
</div>
thanks
leerraum