hello,
I have many bug with the new version v241 about cms code.
before update i have no problem with themler v208
for example i use virtuemart joomla and i add a control CMS Code: with this code php:
<?php
echo shopFunctionsF::renderVmSubLayout('prices',array('product'=>$product,'currency'=>$this->currency));
?>
And now with new version I have many bugs and fatal error:
Notice: Undefined variable: product in C:\ProgramData\Themler\hd_data\themler_1915613272\virtuemart\templates\pnh4\includes\customcmscode_4.php on line 5
Fatal error: Using $this when not in object context in C:\ProgramData\Themler\hd_data\themler_1915613272\virtuemart\templates\pnh4\includes\customcmscode_4.php on line 5
other example:
<?php
if ($product->product_gtin) {
?>
<br />
<?php
echo JText::_ ('COM_VIRTUEMART_CART_GTIN'). ': ' . $product->product_gtin;
}
?>
Notice: Undefined variable: product in C:\ProgramData\Themler\hd_data\themler_1915613272\virtuemart\templates\pnh4\includes\customcmscode_8.php on line 5
Notice: Trying to get property of non-object in C:\ProgramData\Themler\hd_data\themler_1915613272\virtuemart\templates\pnh4\includes\customcmscode_8.php on line 5
<?php
if($product->customfieldsSorted['normal'][6]->customfield_value){
?>
<div>
<?php
echo $product->customfieldsSorted['normal'][6]->customfield_value;
?>
</div>
<?php
}
?>
Notice: Undefined variable: product in C:\ProgramData\Themler\hd_data\themler_1915613272\virtuemart\templates\pnh4\includes\customcmscode_3.php on line 2
Notice: Trying to get property of non-object in C:\ProgramData\Themler\hd_data\themler_1915613272\virtuemart\templates\pnh4\includes\customcmscode_3.php on line 2
etc...
and i see in /html/com_virtuemart/category/default_template.php
your system add for CMS code this code, for example:
<div class="data-control-id-1552765 bd-customcmscode-8 bd-tagstyles">
<?php renderTemplateFromIncludes('customcmscode_8', array(), 'includes', false); ?>
</div>
Can you resolved this bugs rapidely, please?
regards
philippe.t
hello,
I have many bug with the new version v241 about cms code.
before update i have no problem with themler v208
for example i use virtuemart joomla and i add a control CMS Code: with this code php:
<?php
echo shopFunctionsF::renderVmSubLayout('prices',array('product'=>$product,'currency'=>$this->currency));
?>
And now with new version I have many bugs and fatal error:
Notice: Undefined variable: product in C:\ProgramData\Themler\hd_data\themler_1915613272\virtuemart\templates\pnh4\includes\customcmscode_4.php on line 5
Fatal error: Using $this when not in object context in C:\ProgramData\Themler\hd_data\themler_1915613272\virtuemart\templates\pnh4\includes\customcmscode_4.php on line 5
other example:
<?php
if ($product->product_gtin) {
?>
<br />
<?php
echo JText::_ ('COM_VIRTUEMART_CART_GTIN'). ': ' . $product->product_gtin;
}
?>
Notice: Undefined variable: product in C:\ProgramData\Themler\hd_data\themler_1915613272\virtuemart\templates\pnh4\includes\customcmscode_8.php on line 5
Notice: Trying to get property of non-object in C:\ProgramData\Themler\hd_data\themler_1915613272\virtuemart\templates\pnh4\includes\customcmscode_8.php on line 5
<?php
if($product->customfieldsSorted['normal'][6]->customfield_value){
?>
<div>
<?php
echo $product->customfieldsSorted['normal'][6]->customfield_value;
?>
</div>
<?php
}
?>
Notice: Undefined variable: product in C:\ProgramData\Themler\hd_data\themler_1915613272\virtuemart\templates\pnh4\includes\customcmscode_3.php on line 2
Notice: Trying to get property of non-object in C:\ProgramData\Themler\hd_data\themler_1915613272\virtuemart\templates\pnh4\includes\customcmscode_3.php on line 2
etc...
and i see in /html/com_virtuemart/category/default_template.php
your system add for CMS code this code, for example:
<div class="data-control-id-1552765 bd-customcmscode-8 bd-tagstyles">
<?php **renderTemplateFromIncludes('customcmscode_8', array(), 'includes', false)**; ?>
</div>
Can you resolved this bugs rapidely, please?
regards
philippe.t
Last edited 12 March 2016 by philippe.t
Vote to pay developers attention to this features or issue.