Template library - Any suggestions? |
[eluser]Mauricio de Abreu Antunes[/eluser]
I was trying to find any template library but i found only old libraries (CI 1.7) or template library by Phil, but its documentation is not available. I have a lot of repetead pages that only change their main contents and others modules. Is that library good http://ellislab.com/forums/viewthread/208484/? Any suggestions?
[eluser]Noobigniter[/eluser]
Hi, Personally, I wanted something clean, so I made like this: Code: application/ In layout.php, i have : Code: <?php $this->load->view('templates/partials/head');?> And in my controller, I added this: Code: $data['page'] = 'users/profil'; If this can help you ... Regards.
[eluser]Mauricio de Abreu Antunes[/eluser]
I got your point. You're loading your views into your view. |
Welcome Guest, Not a member yet? Register Sign In |