
So how do we enable video playback in VirtueMart, in an easy manner, similar to the AllVideos Plugin? Well... we just enable the use of AllVideos inside VirtueMart!

Here's the solution to enable the plugin for the "product details" page:
Open up the file administrator/components/com_virtuemart/html/shop.product_details.php and in the end of it, look for:
Code: Select all
/* Finish and Print out the Page */
echo $template;
Code: Select all
// start - enable "content type" plugin parsing
global $_MAMBOTS;
$_MAMBOTS->loadBotGroup( 'content' );
$row->text = $template;
$results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$row, &$params, $page ), true );
$template = $row->text;
// end - enable "content type" plugin parsing
/* Finish and Print out the Page */
echo $template;
Cool, huh??
Download both from http://www.joomlaworks.gr and have fun!