I'd like each item on the search results page to have a title, thumbnail image and which CGBlog category(s) the entry was posted in.
So far I can only make the title show up. The link to the blog entry is also working.
Code: Select all
<div class="grid">
<h3>{$entry->category.name}</h3>
<h2><a href="{$entry->url}">{$entry->urltxt}</a></h2>
<a href="{$entry->url}"><img src="{$entry->file_location}/{$entry->fieldsbyname.Thumbnail->value}" width="300" height="142" /></a>
</div>
Anyone got any ideas? Any help greatly appreciated - I've been searching the forums and trying various code combinations for ages with no success.