Template - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Template (/showthread.php?tid=16737) |
Template - El Forum - 03-15-2009 [eluser]Unknown[/eluser] In CakePHP it is easy to change the template by going to app->views->layouts->default.ctp. How would I change the default template with CI? Template - El Forum - 03-15-2009 [eluser]JayTee[/eluser] Cake isn't exactly the same - what are you trying to accomplish? CI loads a view with: $this->load->view('view_file_name'); A cake "template" is what a view is in CI Here's an MVC tutorial that discusses CI http://codeigniter.com/wiki/MVC There's a library for dealing with templates more like what you're talking about: http://williamsconcepts.com/ci/codeigniter/libraries/template/index.html Without any other detail, I'm not sure how to answer your question Template - El Forum - 03-15-2009 [eluser]Unknown[/eluser] Thanks for clearing that up. Much appreciated! |