Welcome Guest, Not a member yet? Register   Sign In
Dynamic header & nav menu: how to handle them?
#1

[eluser]Unknown[/eluser]
Hello everybody, I'm new to CI and I have to start a simple project.

I have a standard template for the 95% of my pages: header, horizontal nav menu, body and footer.

I read everything about templating, but there is always something that I cannot understand.

My menu is not a static menu: it's a megamenu that requires some query every time.

And in my header I have a dynamic top bar with some notification icons (like in Facebook) that requires query too...

The question is: have I to add all the queries, for the header and the menu, in every controller that call the pages with an header and a menu?

Or there is a smart way to do this?

Thank you


Messages In This Thread
Dynamic header & nav menu: how to handle them? - by El Forum - 07-25-2012, 11:16 PM
Dynamic header & nav menu: how to handle them? - by El Forum - 07-25-2012, 11:59 PM
Dynamic header & nav menu: how to handle them? - by El Forum - 07-26-2012, 02:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB