Change the directory of template.php - 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: Change the directory of template.php (/showthread.php?tid=39151) |
Change the directory of template.php - El Forum - 03-02-2011 [eluser]vishok[/eluser] i'd like to change the directory of the file template.php. This library check in application/views/ i'd like this library to check for my template file in /themes/ in the root. How can i do it? Thanks Change the directory of template.php - El Forum - 03-02-2011 [eluser]bubbafoley[/eluser] what library is it? Change the directory of template.php - El Forum - 03-02-2011 [eluser]vishok[/eluser] William concept template library. WWW.williamconcepts.com/ci/codeigniter/libraries/template. According to me the best template library for codeigniter. Tanks Change the directory of template.php - El Forum - 03-02-2011 [eluser]bubbafoley[/eluser] that library doesn't support themes. You'll have to rework it if you want that. Take a look at this template library. I've found it much more useful. http://getsparks.org/packages/template/show Change the directory of template.php - El Forum - 03-03-2011 [eluser]vishok[/eluser] Could you give me an example of how this library works? I have problem with path. Trans Change the directory of template.php - El Forum - 03-03-2011 [eluser]DjLeChuck[/eluser] Hi, Look in ./libraries/template.php, you will see paths (eg: l.108, l.159...) |