categories not showing in search
Posted: Fri Nov 25, 2005 12:42 pm
hi folks!
i've some problems with my serendipity installation. i wrote my own template and just noticed a bug that i'm not able to solve... the problem is, that the categories won't show in the entry when i'm using the search. normal category or archive display is no problem, just using the search, the category display is blank.
my code is:
{if $entry.categories}
{foreach from=$entry.categories item="category"}
<a href="{$category.category_link}" class="content_small">{$category.category_name|@escape}</a>
{/foreach}
{/if}
has anybody else had similar problems? using the forum search didn't bring up any relevant topics... waiting desperately for any anwsers!
cheers!
mike
ps. you can go see the error on http://www.bkanal.ch/blog
use the blog to provoke the error.
i've some problems with my serendipity installation. i wrote my own template and just noticed a bug that i'm not able to solve... the problem is, that the categories won't show in the entry when i'm using the search. normal category or archive display is no problem, just using the search, the category display is blank.
my code is:
{if $entry.categories}
{foreach from=$entry.categories item="category"}
<a href="{$category.category_link}" class="content_small">{$category.category_name|@escape}</a>
{/foreach}
{/if}
has anybody else had similar problems? using the forum search didn't bring up any relevant topics... waiting desperately for any anwsers!
cheers!
mike
ps. you can go see the error on http://www.bkanal.ch/blog
use the blog to provoke the error.