Hello i use skinny theme.
When adding a new category in the panel is visible. On the front, however, did not show up: (
Using latest pivotx blog 2.3.7
Please help
SOLUTION :
// Config set
allow_php_in_templates = 1
// file : templates/skinny/_sub_sidebar.tpl
[[php]]
global $PIVOTX;
$host = $PIVOTX['config']->get('canonical_host');
$blog = '/blog/category/';
$allcats = $PIVOTX['categories']->getCategories();
foreach($allcats as $cat) {
if($cat['hidden'] < 0){
$menucategory .= '<li><a href="' . $host . $blog . $cat['name'] . '" style="text-decoration:none;">' . $cat['display'] . '</a></li>';
}
}
echo $menucategory;
[[/php]]