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.
[Documentation] Accessing the PHP equivalents of smarty theme tokens, i.e. {head}
Hello.
I am having trouble finding out how I can access dynamic values in my PHP template. In the smarty version I can use tokens like {head}, {BodyClass}, {BodyID}, {asset name="Content"}, etc. I would like to access these same values provided by Vanilla in my PHP template. If that's not possible, I'd be happy to learn how to create custom tokens and go back to smarty.
All I need are some documents
Thanks for your time in helping me with this obstacle.
- Chris
Tagged:
0
Answers
Hope this helps:
Smarty
PHP
Smarty
PHP
Smarty
PHP
That's perfect, thanks Todd.
@Todd, what about:
{dashboard_link}
{discussions_link}
{activity_link}
{inbox_link}
{profile_link}
{custom_menu}
And any other Smarty(pants) tag that's been defined?