Status: offline

remy

Forum User
Full Member
Registered: 06/09/03
Posts: 162
What's the preferred way to add a directory to the set template root?
Currently I must use
--get_vars(), to get the template variables,
--create a new template and
--than set_root() and
--set_var() to restore the parameters.

A method get_root() to retrieve the current roots is not available, but would be very helpful.
Also I would suggest the method add_root().

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
I would have to explore this a bit more but you can add a feature request for this at:

https://github.com/Geeklog-Core/geeklog/issues

What exactly are you trying to accomplish?

If you want you can fork Geeklog and add in the new methods so we can include them in the next version of Geeklog.




One of the Geeklog Core Developers.