Thu 09 Jun |
|
Although VirtueMart 1.1 has a Configuration setting to enable content mambots / plugins in descriptions this only seems to work within the actual product description field. If you need the plugin to render elsewhere in VirtueMart do the following. Open the VirtueMart template file of the page where you want to have the Joomla Plugin for example: flypage.tpl.php etc Surround the html of the VM template file with the following snippets. Before the first piece of html (within the php ) ob_start(); And then at the close of the html: <?phpSo your template html is now stored in the variable $contenthtml and the Joomla native function content.prepare is called, all the content plugins are run and the output echoed. |
Last Updated on Thursday, 09 June 2011 18:48 |