Welcome Guest, Not a member yet? Register   Sign In
Easiest Way to Handle Multiple View Styles?
#2

[eluser]gtech[/eluser]
If the template is select by the user,
the easiest way to store and retrieve variables that are available across page requests is to use the session library, this is well documented in the CI documentation.

if the template is selected by a permanent config value then take a look at the config class:
[url="http://ellislab.com/codeigniter/user-guide/libraries/config.html"]http://ellislab.com/codeigniter/user-guide/libraries/config.html[/url]
You can add your own variables to the config/config.php file


Messages In This Thread
Easiest Way to Handle Multiple View Styles? - by El Forum - 05-11-2008, 11:37 PM
Easiest Way to Handle Multiple View Styles? - by El Forum - 05-12-2008, 02:11 AM
Easiest Way to Handle Multiple View Styles? - by El Forum - 05-12-2008, 07:22 AM
Easiest Way to Handle Multiple View Styles? - by El Forum - 05-12-2008, 07:32 AM
Easiest Way to Handle Multiple View Styles? - by El Forum - 05-12-2008, 08:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB