Cris Santos
06-04-2006, 08:17 PM
What am i doing wrong here?
What I want to do is to get a link to "parent category" to show up next to actual cat. But parent cat is not showing up.
<td align="left" valign="top"><strong>{$lang.category}:</strong></td>
<td align="left" valign="top"><img name="" src="" width="10" height="0" alt="" /></td>
<td width="300" align="left" valign="top"><a href="{if $config.mod_rewrite}{$category.path}/{else}index.php?category={$category.id}{/if}" class="cat-url">{$category.title}</a> | <a href="{if $config.mod_rewrite}{$category.path}/{else}index.php?category={$category.parent_id}{/if}" class="cat-url">{$category.parent_title}</a></td>
What I want to do is to get a link to "parent category" to show up next to actual cat. But parent cat is not showing up.
<td align="left" valign="top"><strong>{$lang.category}:</strong></td>
<td align="left" valign="top"><img name="" src="" width="10" height="0" alt="" /></td>
<td width="300" align="left" valign="top"><a href="{if $config.mod_rewrite}{$category.path}/{else}index.php?category={$category.id}{/if}" class="cat-url">{$category.title}</a> | <a href="{if $config.mod_rewrite}{$category.path}/{else}index.php?category={$category.parent_id}{/if}" class="cat-url">{$category.parent_title}</a></td>