Welcome Guest, Not a member yet? Register   Sign In
logical help
#2

[eluser]smilie[/eluser]
You must understand that CI loads controllers - not views.
So, URL such as: somedomain.com/somepage
Will actually trigger CI to execute controller named 'somepage'. That controller then triggers some view.

If you open news controller, then it will have variables.
But, once you open some other controller, vars from news are gone.

If you want your news variables on every page, then you should move news code to library and call that lib from every controller you need.

Hope you get the idea Smile

Regards,
Smilie


Messages In This Thread
logical help - by El Forum - 09-08-2010, 03:09 AM
logical help - by El Forum - 09-08-2010, 03:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB