Subject: template root not adjustable

Posted on: 20/02/2017 09:24am
By: remy

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().

Re: template root not adjustable

Posted on: 20/02/2017 10:07am
By: Laugh

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.




Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=96446