Fuel_nav() with group name
Hi,
How do you use the group name when getting the nav items? Currently I can only get the nav items if I use the Id. The problem I have with using the Id is that at no point was this Id given to me. I had to go guess what it was.
<?= fuel_nav(['group_id' => 2]) ?>
how can this be changed so I can use
<?= fuel_nav(['group_name' => 'footer']) ?>
Comments