ich bekomms einfach nicht hin in einem Modul die aktuelle Root-Category-ID abzufragen.
Ich habs versucht mit:
Code: Alles auswählen
$cat = OOCategory::getCategoryById($this->getValue('category_id'));
$tree = $cat->getParentTree();
if ( $tree[0]->getID() == '3' )
{ ... }
Ich danke schonmal für eure Unterstützung.
pingu