[ 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_LIST_UL:F,'.$id.',0,,activ }'; } [ /PHP ]