verwende die rexfactory für das main menue horizontal
Code: Alles auswählen
<?php
# ------ haupt navi
$nav = rex_navigation::factory();
echo '<div id="navi">';
echo $nav->get(0,-1,FALSE,TRUE);
echo '</div><!-- /navi -->'."\n";
?>
Code: Alles auswählen
<?php
$cat = OOCategory::getCategoryById($this->getValue('category_id'));
$tree = $cat->getParentTree();
$id = $tree[0]->getId();
$subnav = rex_navigation::factory();
$subnav->setClasses(array('sub1', 'sub2'));
echo $subnav->get($id,2,FALSE,TRUE);
?>
kann mir jemand weiterhelfen
danke schon mal..