Page 1 of 1
Categorie-images
Posted: Tue Dec 18, 2007 12:03 pm
by Troel
At this moment I'm making a website for the baby I'm expecting.
I used Serendipity before for my own website and I have there categorie-images that are shown on the frontpage (
www.troel.nl). Unfortunately, that won;t work with the new website (purk.huijben.net). Is this because of the template I use (Competition entry by David Cummins powered by Serendipity v1.0 )?
How can I show those images?
Posted: Tue Dec 18, 2007 1:36 pm
by d_cee
Hi
I disabled category icons for this template
To make them show you need to open the competition/entries.tpl and look for this code
Code: Select all
<!--
<span class="serendipity_entryIcon">
{foreach from=$entry.categories item="entry_category"}
{if $entry_category.category_icon}
<a href="{$entry_category.category_link}"><img class="serendipity_entryIcon" title="{$entry_category.category_name|@escape}{$entry_category.category_description|@emptyPrefix}" alt="{$entry_category.category_name|@escape}" src="{$entry_category.category_icon}" /></a>
{/if}
{/foreach}
</span>
-->
then just delete <!-- from the start of the code and --> from the end. Your category icons will then work ok
HTH
Dave
Posted: Tue Dec 18, 2007 4:50 pm
by Troel
I thought something like that yeah
I like the theme very much, but I really have a adorable image for one of the categories
Thanks, it works ok now!
Posted: Tue Dec 18, 2007 7:24 pm
by Don Chambers
Troel wrote:but I really have a adorable image for one of the categories

You CAN'T make a statement like that and not actually show us!!!

Posted: Tue Dec 18, 2007 8:23 pm
by Troel
Don Chambers wrote:Troel wrote:but I really have a adorable image for one of the categories

You CAN'T make a statement like that and not actually show us!!!

It's about pregnancy
