Please upgrade to 2.1.x here.
The 2.0 branch is no longer being updated.
Important security fix: 2.1.10
, released 4 May.
is there a Smarty tag equivalent to $this->FireEvent() ?
Howdy. I am currently working on theming my Vanilla Forums install and the current order of business is to setup a default.master.tpl Smarty template. Looking at the PHP version, I notice that the following method is called towards the end, presumably so that plugins can do something after the main page content has been rendered:
<?php $this->FireEvent('AfterBody'); ?>
The docs for template tags are here:http://vanillaforums.com/blog/category/help/template-tags-help-topics/
There is no mention of the FireEvent call in the above list and the default.master.tpl template found under the stock mobile theme also does not have anything like this in it.
So my question is whether there is a Smarty based way to keep the same functionality or do we lose the ability to have plugins called via events if we go with Smarty templates over the PHP based views? It is definitely preferable to reduce to the amount of layout tangled up with program logic which is why going with Smarty for the templates is very much preferred.
0 · ·