In the tutorial "Learning FUEL CMS PART 4: Using the CMS", it is mentioned that one can upload nav.php under the 'main' navigation group, which can later be used by fuel_nav () function.
in fuel_nav () function, following lines are listed:
// grab all menu items by group
$menu_items = $CI->navigation_model->find_all_by_group($p['group_id']);
where 'group_id' defaults to 1.
However, every time a new group is created in the navigation pane of the CMS admin interface, the group_id will automatically increment, for example, one can have two groups 'main' and 'main_extra' with group_id of 1 and 2 respectively.
Is there a way to load a navigation mens with group_id other than 1?
Thanks...
Comments
<?=fuel_nav(array('group_id' => 2))?>
http://www.getfuelcms.com/user_guide/helpers/fuel_helper
Hope that helps