Welcome Guest, Not a member yet? Register   Sign In
Template
#1

[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?
#2

[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/codeignit...index.html
Without any other detail, I'm not sure how to answer your question
#3

[eluser]Unknown[/eluser]
Thanks for clearing that up.

Much appreciated!




Theme © iAndrew 2016 - Forum software by © MyBB