news module: summary links to full contents

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
amygdela

news module: summary links to full contents

Post 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
amygdela

Re: news module: summary links to full contents

Post 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?
Locked

Return to “CMSMS Core”