Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

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:45AM
    There is also a "parent" parameter which specifies where to start the navigation from in the hierarchy.
  • edited 8:45AM
    Thanks Guys! the "depth" option was the key!
    FuelCMS is an excellent CMS !!!!
Sign In or Register to comment.