![]() |
Multiple Template - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Multiple Template (/showthread.php?tid=2135) |
Multiple Template - El Forum - 07-18-2007 [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. Multiple Template - El Forum - 07-18-2007 [eluser]Skulls[/eluser] do a search on the forum topics first ![]() Multiple Template - El Forum - 08-04-2007 [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. |