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

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
leerraum
Forum Members
Forum Members
Posts: 180
Joined: Wed Apr 22, 2009 2:54 pm

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

Post 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
Last edited by leerraum on Tue Apr 20, 2010 9:17 am, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: news summary more url doesn't go anywhere

Post by Rolf »

hi leerraum. do you use pretty url? what are your settings?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
dcleckley
Forum Members
Forum Members
Posts: 127
Joined: Fri Mar 06, 2009 2:13 pm

Re: news summary more url doesn't go anywhere

Post by dcleckley »

leerraum, is this a separate issue form the other post that we worked through?
leerraum
Forum Members
Forum Members
Posts: 180
Joined: Wed Apr 22, 2009 2:54 pm

Re: news summary more url doesn't go anywhere

Post 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 :)
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: news summary more url doesn't go anywhere

Post by Rolf »

leerraum wrote: so -> solved :)
Please put [solved] in the title of the first post.

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “Modules/Add-Ons”