Welcome Guest, Not a member yet? Register   Sign In
Change the directory of template.php
#1

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

[eluser]bubbafoley[/eluser]
what library is it?
#3

[eluser]vishok[/eluser]
William concept template library. WWW.williamconcepts.com/ci/codeigniter/libraries/template. According to me the best template library for codeigniter. Tanks
#4

[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
#5

[eluser]vishok[/eluser]
Could you give me an example of how this library works? I have problem with path. Trans
#6

[eluser]DjLeChuck[/eluser]
Hi,

Look in ./libraries/template.php, you will see paths (eg: l.108, l.159...)




Theme © iAndrew 2016 - Forum software by © MyBB