Rembrandt,
thanks for this great tip!
I found that it also works with the origanal code:
//-----------------------------------------------------
//--- Show Categories ---------------------------------
//-----------------------------------------------------
$categories = get_categories(0);
if (!$categories) {
$categories = $lang['no_categories'];
}
$site_template->register_vars("categories", $categories);
unset($categories);
When the original code is placed as Rembrandt mentioned, you can also use the original {categories} on every page you wish to show categories.
I'm using 4Images 1.7.11