Page 1 of 1

Question: Image in news summary

Posted: Wed Sep 22, 2010 3:39 pm
by Demandela
I'm building a site using CMS made Simple... (how surprising  ;D) Now i want to add logo's to the site using the news module. I narrowed it down to the things i only want to see. That is the logo and the title. Category and writer and that shit i wrecked out.

Then i found this addon to show pictures in the newssummary

http://forum.cmsmadesimple.org/index.ph ... l#msg84215

That is working great but....

Now i want to make the thumbnail image clickable. Now i have a link above the thumbnail that i can click.

this is the line i have added

Code: Select all

{if isset($entry->logo)}<img src="{$entry->file_location}/{$entry->logo}"/>{/if}
I think i need to add something, but i have no clue what to add? i think i have to combine something with this code...

Code: Select all

<div class="NewsSummaryLink">
<a href="{$entry->moreurl}" title="{$entry->title}">{$entry->title} </a>
</div>
thnx in advance