Question: Image in news summary
Posted: Wed Sep 22, 2010 3:39 pm
I'm building a site using CMS made Simple... (how surprising
) 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
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...
thnx in advance

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}
Code: Select all
<div class="NewsSummaryLink">
<a href="{$entry->moreurl}" title="{$entry->title}">{$entry->title} </a>
</div>