Page 1 of 1

[SOLVED] news summary more url doesn't go anywhere

Posted: Sun Apr 18, 2010 10:31 am
by leerraum
Hi,

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>
This should lead to "news", shouldn't it?

thanks
leerraum

Re: news summary more url doesn't go anywhere

Posted: Sun Apr 18, 2010 12:21 pm
by Rolf
hi leerraum. do you use pretty url? what are your settings?

Re: news summary more url doesn't go anywhere

Posted: Sun Apr 18, 2010 4:33 pm
by dcleckley
leerraum, is this a separate issue form the other post that we worked through?

Re: news summary more url doesn't go anywhere

Posted: Sun Apr 18, 2010 6:35 pm
by leerraum
yes, it was a seperate issue. but I worked around it. The link was supposed to go to the news summary page, so I modified the template using a hard coded link. so -> solved :)

Re: news summary more url doesn't go anywhere

Posted: Sun Apr 18, 2010 6:48 pm
by Rolf
leerraum wrote: so -> solved :)
Please put [solved] in the title of the first post.

Rolf