Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Joomsef 3.6.4 - VirtueMart print order IE8
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 3 (Joomla 1.5 compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Joomsef 3.6.4 - VirtueMart print order IE8

Joomsef 3.6.4 - VirtueMart print order IE8 14 years, 5 months ago #12598

VirtueMart.
After update from Joomsef 3.6.2 to 3.6.4, when printing an order or product category, showing Error 404 in all IE.
With Mozilla - no problem.
The topic has been locked.

Re:Joomsef 3.6.4 - VirtueMart print order IE8 14 years, 5 months ago #12601

  • dajo
  • OFFLINE
  • Posts: 5069
Hello,

This can be seen as a bug in VM using relative URLs, which cause problems when using any SEF component, or a bug in IE not taking into account the base href tag when opening new window.
Anyway, it can be fixed like this:
Edit the file /administrator/components/com_virtuemart/classes/htmlTools.class.php, find the function PrintIcon() (around line 997) and there should be this code around line 1000:
if( !$link ) {
$query_string = str_replace( 'only_page=1', 'only_page=0', vmAmpReplace(vmGet($_SERVER,'QUERY_STRING')) );
$link = 'index2.php?'.$query_string.'&pop=1'.(vmIsJoomla('1.5') ? '&tmpl=component' : '');
}

Change the line starting with '$link =' to this:
$link = JURI::root().'index2.php?'.$query_string.'&pop=1'.(vmIsJoomla('1.5') ? '&tmpl=component' : '');


You could also contact VirtueMart's developers to implement the fix into next version.

Best regards,
ARTIO Support Team
ARTIO Support Team
The topic has been locked.

Re:Joomsef 3.6.4 - VirtueMart print order IE8 14 years, 5 months ago #12612

Yes, now it works.
Many, many thanks.
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný