Welcome Guest, Not a member yet? Register   Sign In
CI smarty templating with HMVC ?
#2

[eluser]Aken[/eluser]
That's because you're only setting the value of a single variable. First you're setting it to one path, then you're changing it to another.

You will have to extend the way Smarty checks directories for files if you want it to check multiple folders. That's not really recommended anyway because what if you have two template files, in different folders, with the same name? What if you want one called, but because of the order Smarty checks, the other is pulled first?


Messages In This Thread
CI smarty templating with HMVC ? - by El Forum - 07-19-2011, 11:13 PM
CI smarty templating with HMVC ? - by El Forum - 07-20-2011, 01:34 AM
CI smarty templating with HMVC ? - by El Forum - 07-20-2011, 03:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB