Page 1 of 1

news module: summary links to full contents

Posted: Fri Sep 22, 2006 7:16 pm
by amygdela
Hello,

I want for a website I'm designing to edit the news template I've used so the summary of a newsitem is a link to the full contents of the same news item. So not a clickable title, but a clickable summary. How to do that?
This is my current template, quite basic:

Code: Select all

<!-- Start foto Template -->
{foreach from=$items item=entry}
<div class="right-image">

{if $entry->summary}
		{eval var=$entry->summary}

{else if $entry->content}

		{eval var=$entry->content}
{/if}

</div>
{/foreach}
<!-- End foto Template -->
Can anybody help me? Thanks in advance!

Jasper

Re: news module: summary links to full contents

Posted: Wed Sep 27, 2006 1:51 pm
by amygdela
Sorry to bump this topic, but its quite important...

How can I link the contents of the summary to the full contents of a news item? In my situation, the summary of a newsitem is a small image, and if a visitor clicks the image it should see a bigger version of the image with a newsitem posted under it. How can I make that small image link to the full contents?