Kind of hard to explain, but I'll try. I'm using hard-coded stuff in a client's template to emit a secondary navigation in the sidebar. This site uses a
lot of categories which also are nested.
So the basic code for emitting the secondary nav in
category view looks like this:
Code: Select all
{elseif $view == 'categories'}
{if $category_info.parentid == '2'}
{include file="sidenav_schule.tpl"}
{elseif $category_info.parentid == '1'}
{include file="sidenav_kinderhaus.tpl"}
etc. etc. This worked perfectly fine until I had to add more categories. For some weird reason, this does
not seem to work any longer with three-digit values for $category_info.parentid (as far as I can tell), and
only in category view.
Does this make any sense? Might this be a bug?
YL