IE7 shows empty popup when changing address

  • Posts: 41
  • Thank you received: 0
11 years 8 months ago #61769

Hi,

while using an IE7 explorer (yuch) and changing the invoice address or creating a new one, a windows pops up (I think this is Mootools), but it remains empty.

I've looked around and found this in dj_head.php:

<!--[if IE 7]>
    <link href="<?php echo $dj_path;?>css/ie7.css" rel="stylesheet" type="text/css" />
    <?php if($direction == 'rtl'): ?>
        <link href="<?php echo $dj_path;?>css/ie7_rtl.css" rel="stylesheet" type="text/css" />
        <?php endif; ?>
<!--[endif]>

which seemed to be interpreted as comments in IE7

I changed it to
<!--[if IE 7] -->
    <link href="<?php echo $dj_path;?>css/ie7.css" rel="stylesheet" type="text/css" />
    <?php if($direction == 'rtl'): ?>
        <link href="<?php echo $dj_path;?>css/ie7_rtl.css" rel="stylesheet" type="text/css" />
        <?php endif; ?>
<!--[endif]-->

but to no avail.

I'm guessing this is a bug, hence the report.

Thx!

BC

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 0
11 years 8 months ago #61770

correction: this seems more of an iframe than a mootools thingie.

Last edit: 11 years 8 months ago by bcnx.

Please Log in or Create an account to join the conversation.

  • Posts: 81626
  • Thank you received: 13085
  • MODERATOR
11 years 8 months ago #61908

The popup system is the joomla built in system. And it's working fine on our end with all the browsers.

Maybe something related to your template or a system plugin on your website.

Could you try to switch your template temporarily and disable one by one the system plugins in order to identify the issue ?

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 0
11 years 8 months ago #61921

Busy doing that. My money is on the template then, as it is converted from a Joomla 1.5 template to a 2.5 one. Will keep you guys posted.

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 0
11 years 8 months ago #61931

mmm, not easy to find

the code creating the window seems to be in address_view.php:

 <a title="<?php echo JText::_('HIKA_EDIT'); ?>" class="modal hikashop_checkout_<?php echo $this->type;?>_address_edit" rel="{handler: 'iframe', size: {x: 450, y: 480}}" href="<?php echo hikashop_completeLink('address&task=edit&redirect=checkout&address_id='.$address->address_id.'&step='.$this->step.'&type='.$this->type.$url_itemid,true);?>" onclick="return hikashopEditAddress(this,<?php echo (int)$same_address?>,false);"><p><?php echo JText::_('HIKA_EDIT'); ?></p></a>

one workaround seem to be to change the handler to nothing in stead of "iframe".
I'm not sure how the System plugins come to play here.

BC

Please Log in or Create an account to join the conversation.

  • Posts: 81626
  • Thank you received: 13085
  • MODERATOR
11 years 8 months ago #62044

That code does not really generate the popup.

It's just a HTML link with information regarding the desired handler and the size of the popup. The rest is totally handled by joomla which parses the page and add javascript to display the popup for the links with the "modal" class and the rel attribute data.

So does it now works for you ?

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 0
11 years 8 months ago #62110

Sadly, no, I just worked around by it deleting the 'iframe' word after the handler. This simply creates a new window, moving around the problem. It's not quite elegant though.

Please Log in or Create an account to join the conversation.

  • Posts: 81626
  • Thank you received: 13085
  • MODERATOR
11 years 8 months ago #62231

Can you revert that and give a link to your shop so that we can see the problem ? Maybe we'll find something worth exploring.

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 0
11 years 8 months ago #62319

OK, will pm the login info to you.

Last edit: 11 years 8 months ago by bcnx.

Please Log in or Create an account to join the conversation.

  • Posts: 81626
  • Thank you received: 13085
  • MODERATOR
11 years 8 months ago #62467

I tried with all the versions of IE including IE7 and the address edition popup works fine on your website.

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 0
11 years 8 months ago #62570

Interesting, I have two machines who have a problem with that. Thx for verifying. I will check again with those two machines. Maybe this is locale related. Or IE updates-related.

Please Log in or Create an account to join the conversation.

  • Posts: 1
  • Thank you received: 0
11 years 4 months ago #82516

Attached is a screen shot of the bug occurring on the HikaShop demo site.

I was using IE7, and clicked on the Add to Cart link for the Black Shoe product.
The black semi transparent background appeared and after a lengthy pause the empty white
box also appeared. We have also had customers describe this exact same issue while
trying to update their address using IE7.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26023
  • Thank you received: 4005
  • MODERATOR
11 years 4 months ago #82662

Hi,

About your first post, the right way to write a conditional rule for IE is :

<!--[if IE 7]>
Specific Internet Explorer 7.0 code.
<![endif]-->

I have tried with the latest version of "IE Tester" and I could reproduce your popup problem. But the problem is that, it is impossible to do some debug in order to understand what is the problem with the CSS.
But I don't think that is a HikaShop problem, we use the Joomla modal boxes.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 11 years 4 months ago by Jerome.

Please Log in or Create an account to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum