Kurze Frage zur Rex-Navigation:
Code: Alles auswählen
<?php
$P = explode("|",$this->getValue("path").$this->getValue("article_id")."|");
if($P[2]){ # <----- nur anzeigen wenn mindest in 2 ebene
$category_id = $P[1];
$depth =1;
$open = FALSE;
$ignore_offlines = TRUE;
$nav = rex_navigation::factory();
echo $nav->get($category_id, $depth, $open, $ignore_offlines);
}
?>