Get only parents from fuel navigation

Hi!

There is any way to get only the parent items from a certain menu? i.e: home - about - portfolio (without his categories) - news ( without his categories) ? or just i need to do is create a new navigation group only with the items i want to show?

Thanks in advanced!

Comments

  • the fuel_nav() helper function has a "depth" option
  • edited 8:09AM
    There is also a "parent" parameter which specifies where to start the navigation from in the hierarchy.
  • edited 8:09AM
    Thanks Guys! the "depth" option was the key!
    FuelCMS is an excellent CMS !!!!
Sign In or Register to comment.