Habe jetzt eine Kombination aus horizontaler und vertikaler Navigation zustande bekommen mit folgendem Code (hier gefunden;-)):
Code: Select all
[PHP]
$id = $GLOBALS['content']['cat_id'];
$parent_id=$GLOBALS['content']['struct'][$id]['acat_struct'];
While ($parent_id<>0){
$id=$parent_id;
$parent_id=$GLOBALS['content']['struct'][$id]['acat_struct'];
}
if ($id > 0) {
echo '{NAV_TABLE_COLUMN:'.$id.'}'; // Hier wird die ID-basierte NAVI eingesetzt
}
[/PHP]
Kann mir jemand sagen, in welcher PHP-Datei ich das machen kann?
Thnx
Miles