Hello
Thank you very much for you hints!! I was able to insert mambots parsing in a few minutes to the appropriate vm code. At the moment for my purposes only the files shop.browse.php for the category description and the file shop.product_details.php are of interest. For the file shop.product_details.php I was some bit lazy and applied the mambots parsing on the entire template output.
Thank you very much again, best regards:
For other users interested in the modifications, please find the modifications in the code samples below:
shop.browse.php : around line 76
/**
* CATEGORY DESCRIPTION
*/
$desc = $ps_product_category->get_description($category_id);
/* Prepend Product Short Description Meta Tag "description" when applicable */
if( @$_REQUEST['output'] != "pdf") {
$mainframe->prependMetaTag( "description", substr(strip_tags($desc ), 0, 255) );
}
//***** start : modifcation for mambot parsing
global $_MAMBOTS;
$_MAMBOTS->loadBotGroup( 'content' );
$row->text = $desc;
$results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$row, &$params, $page ), true );
$desc = $row->text;
//***** end : modifcation for mambot parsing
if( trim(str_replace( "<br />", "" , $desc)) != "" ) {
echo '<div style="width:100%;float:left;">';
echo $desc;
echo '</div>
<br style="clear:both;" /><br />';
shop.product_details.php : at the very end of the file
...
$template = str_replace( "{back_url}", $back_url, $template );
$template = str_replace( "{product_content_heading}", "" ,$template);
$template = str_replace( "{product_sku_lable}", $VM_LANG->_PHPSHOP_CART_SKU ,$template);
$template = str_replace( "{product_price_lable}", $VM_LANG->_PHPSHOP_CART_PRICE ,$template);
$template = str_replace( "{product_tax_lable}", $VM_LANG->_PHPSHOP_CART_TAX ,$template);
$template = str_replace( "{product_tax}", $product_tax ,$template);
//***** start : modifcation for mambot parsing
global $_MAMBOTS;
$_MAMBOTS->loadBotGroup( 'content' );
$row->text = $template;
$results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$row, &$params, $page ), true );
$template = $row->text;
//***** end : modifcation for mambot parsing
/* Finish and Print out the Page */
echo $template;