[eluser]anis2505[/eluser]
[quote author="greedyman" date="1371057290"]
I found the other way to do this. I create a template folder with images, css, js and a file index.php, index.php is the master page. In this master page, beside code html I have php code: $this->load->view('page'). In the controller, with any method that I'm going to call index.php file and pass view name to it. It means that call view in view.[/quote]
it's all the same. I just wanted to make sure that all parts of template are as much independent as possible. Well I guess your idea is much cleaner.
But why not using other templates engines Smarty Rain or anything else.