Navigation Active Not Working for Groups Other then 1

edited March 2011 in Bug Reports
fuel/modules/fuel/helpers/fuel_helper.php line 354 needs to be changed from

$active = $CI->navigation_model->find_by_location($p['active']);

to

$active = $CI->navigation_model->find_by_location($p['active'], $p['group_id']);

or active is not set for groups with id greater then 1.

Comments

  • edited 11:02AM
    Thanks for the report. I've just pushed that fix.
  • edited March 2011
    Sure thing ... when I use render_type collapsible with fuel_nav the whole navigation group disappears. I'm not sure I understand how that render_type is supposed to work. Is that how its supposed to work?
  • edited 11:02AM
    Hmm... I think there is a bug if you are rendering collapsible menus from the admin (it seems to work OK with a nav.php variables file). I'm looking into it.
  • edited 11:02AM
    OK... just pushed a fix for that issue as well in the Menu class.
  • edited 11:02AM
    I could not find the code that "thisisflashpoint" has mentioned. The issue with navigation filter in the CMS is still there. Can you please help?
  • edited December 2015
    Can you provide a code example of the issue to help debug?
Sign In or Register to comment.