I enable pdf, print and email for product.
with new version VM 2024 I can't send email and print or now, there is new popup for the same page of my product..
help please...
NOBODY :( ????? help please
http://forum.virtuemart.net/index.php?topic=102811.0
I Try this for print but doesn't change for me..
In fact I try again with no ovveride the file on my template and replace the code
Edit: /components/com_virtuemart/helpers/vmview.php
if ($modal) return '<a class="modal" rel="{handler: \'iframe\', size: {x: 700, y: 550}}" title="'. JText::_($altText).'" href="'.JRoute::_($link).'">'.$text.'</a>';
else return '<a title="'. JText::_($altText).'" href="'.JRoute::_($link).'">'.$text.'</a>';
by :
if ($modal)
{
if($boutonName == 'printButton' && isset($_REQUEST['print']))
{
$js = "
window.addEvent('domready', function(){
window.print();
});
";
$doc = JFactory::getDocument();
$doc->addScriptDeclaration( $js );
return '<a title="'. JText::_($altText).'" href="javascript:void(0)" onclick="javascript:window.print(); return false;">'.$text.'</a>';
}
else if($boutonName != 'printButton' && isset($_REQUEST['print']))
return '';
else
return '<a class="modal" rel="{handler: \'iframe\', size: {x: 700, y: 550}}" title="'. JText::_($altText).'" href="'.JRoute::_($link).'">'.$text.'</a>';
}
else return '<a title="'. JText::_($altText).'" href="'.JRoute::_($link).'">'.$text.'</a>';
sry, and thx.
My solution is here http://forum.virtuemart.net/index.php?topic=102811.msg408480#msg408480