• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Template

#1
[eluser]Unknown[/eluser]
Hi,

I’ve just started learning CI. Can anyone guide me that how can i use the multiple template handling in CI.

#2
[eluser]Skulls[/eluser]
do a search on the forum topics first Big Grin

#3
[eluser]esra[/eluser]
[quote author="faraz" date="1184763794"]Hi,

I’ve just started learning CI. Can anyone guide me that how can i use the multiple template handling in CI.[/quote]

There are a lot of different master view and template parsing solutions that you can use to create a master view or a template. Generally, you need to open a session with something like a $cur_template variable set to a default template value, then update $cur_template in the session as the user switches templates. This should be covered in multiple threads, but a good understanding of how sessions work should point you in the right direction.

In fact, I believe that there are a few session tutorials on the web that use this as an example. You might check something like webmonkey.com for some example code.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.