Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Get Smarty Variable in PHP
timd
New
Hey,
I'm new to Smarty and Vanilla. I'm trying to get the current path in my template themehooks and store it in a php variable.
I found the smarty variable {$Path} which is basicly what I need. But how can I assign this in PHP to a var in my base_render_before function?
Or is there another function available to get that path easier?
Thanks
Tim
Tagged:
0
Comments
Try this:
that's what i was looking for. thank you