-
I've tried to migrate from v4 to v5 but I got an error on all my template functions.
I got an error when trying to use it where it was ok in v4
I saw nothing in the doc for this kind of functions |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Ho I saw that I have to replace {myTplFunction} by {call myTplFuncion} Mybe this can be added in the doc? |
Beta Was this translation helpful? Give feedback.
-
I simplify my code and I reproduce the issue with this code zzzzChild.tpl
zzzz.php
inc/zzzz.inc.php
Error is I think I found the problem, if I replace the include by the code it works with this zzzzChild.tpl
|
Beta Was this translation helpful? Give feedback.
The documentation states that if you define a template function in a separate template, you need to use the
{call name="selection"}
syntax to invoke it. This does indicate a change in behavior regarding inlining of included templates. I know this has changed in v5.