Please see include/categories.php
There is some code
Code:
if (($current_area == "C" && defined("GET_ALL_CATEGORIES")) || defined('MANAGE_CATEGORIES')) {
$_categories = func_get_categories_list($cat);
} elseif($current_area == "C") {
$_categories = func_get_categories_list($cat, true, "current");
} else {
$_categories = func_get_categories_list($cat, true, "all");
}
by default the variable "GET_ALL_CATEGORIES" is not defined.
I've added
Code:
define("GET_ALL_CATEGORIES","1");
and now I have list of all categories in
PHP - $all_categories
Smarty - $allcategories