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.

Hide Fuel navigation item

Hi

I have a simple module that consists of two models - the parent, and a child. I've added both to MY_fuel_modules so that I can access them within Fuel. Doing this adds them to the "Modules" section of the left-hand pane.

I'd like the child model to be only accessible via the form view of the parent model and so would like to hide the child model from the left-hand pane.

I guess I'd need to do something like? unset($config[nav][modules][child_model]);

What's the best way to approach this?

I guess I could $config['nav_auto_arrange'] = FALSE; and then build the nav manually in MY_fuel but I'd like to avoid that if possible...

Cheers

Comments

Sign In or Register to comment.