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.

Including dynamic content (PHP) inside of default.master.tpl

Hi,

I'm using the latest 2.1 release with the Bootstrap theme (http://vanillaforums.org/addon/bootstrap-theme).

I notice there doesn't seem to be a template.master.php anymore - only the smarty .tpl version both inside of Vanilla and the template i am using.

I'd like to include a block of HTML in the header which comes from a central location for simple maintenance.
We achieve the same effect in Wordpress using a cURL request - caching this data - and simply echoing out the output inside of the template.

What is the best way to reproduce this inside of Vanilla?

Is there any documentation around creating custom smarty tags?

Thanks

Comments

Sign In or Register to comment.