Hi balinor,
yes you need to specify it in include/categories.php
In function ->func_get_categories_list
in the below mentioned line.
if ($short_list) {
$to_search = "
$sql_tbl[categories].subtitle,$sql_tbl[categories].categoryid,
Quote:
Originally Posted by balinor
Here's one I can't seem to work out - I created an additional field for categories, sort of like a second category title. I need to use this as a sub-title for the side menu categories. I can successfully get it to display on the category page using {$current_category.subtitle}, but I can't seem to get it to show under the side menu links. Here's the code:
Code:
{foreach from=$categories item=c}
<div class="CategoriesList"><a href="home.php?cat={$c.categoryid}" class="VertMenuItems">{$c.category}</a></div>
<div class="CategoriesListSub">{$c.subtitle}</div>
{/foreach}
Do I somehow need to specify this additional field in categories.php or am I just missing something obvious from staring at this for hours?
|