Welcome Guest, Not a member yet? Register   Sign In
Best approach(es) to implementing site navigation
#3

[eluser]Fred Riley[/eluser]
Thanks for the reply. I have set up header and footer views, and the top level menu appears in the header. However, my design is that the second and third-level menus will appear in the page body text - see this page which has all 3 navs visible

So the clunky approach would be to have a view for each of the top level sections, with a different subnav in each, but that would lead to update problems as the site grows. Hence my thinking that the menu items for all navs should be defined just once, perhaps as an array constant. If I went that way, where is it best to put global constants? In /libraries, perhaps, or /config?

Cheers

Fred


Messages In This Thread
Best approach(es) to implementing site navigation - by El Forum - 02-19-2012, 10:33 AM
Best approach(es) to implementing site navigation - by El Forum - 02-20-2012, 02:33 PM
Best approach(es) to implementing site navigation - by El Forum - 02-21-2012, 11:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB