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


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?





Sign In or Register to comment.