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.

Problem with Smarty

edited November 2010 in Vanilla 2.0 - 2.8
Hey guys,

i just wanna include Wordpress header in smarty, so i tried many things, nothing worked.
Why does this not work? (I just shows nothing and no error message/log)
{include_php file="../wp-content/themes/MyTheme/header.php"}

and why do the {php} tags not work? For example:
does nothing.


  • Smarty security = on

    Instead of using smarty template (default.master.tpl) use plain old php file (default.master.php) copy one from the existing views into your theme folder
Sign In or Register to comment.