Author Topic: AJAX problems in ie6  (Read 7161 times)

obiwan

  • Beginner
  • *
  • Posts: 25
AJAX problems in ie6
« on: April 02, 2009, 23:40:22 pm »
Hey everyone I have been having a serious problem in virtuemart, when customers check out the options appear for the end user to log in or to register. While the ajax is loading the customer can click in the input fields to enter their name user name etc. Once the ajax is finished loading the input fields in the log in form and registration form are no longer able to be selected.

I tried disabling the ajax in the site>configuration but still run into the same problem.

Any help, tips or solutions would be greatly appreciated.

macallf

  • Full Member
  • ***
  • Posts: 2411
    • Mark Callf Design
Re: AJAX problems in ie6
« Reply #1 on: April 03, 2009, 00:08:40 am »
As far as I am aware, AJAX is not used in that part of VM.
Mark
All of My old mods are now available on my website.
Mark Callf Designs

If you like the work I've done for VM please fell free to Donate

Please Note: I am no longer actively developing or involved with VM development.

obiwan

  • Beginner
  • *
  • Posts: 25
Re: AJAX problems in ie6
« Reply #2 on: April 03, 2009, 02:12:17 am »
Components > virtue mart > admin configuration >site tab > Select the theme for your Shop (configuration link) > Use Ajax to add, update or delete products from the cart?




macallf

  • Full Member
  • ***
  • Posts: 2411
    • Mark Callf Design
Re: AJAX problems in ie6
« Reply #3 on: April 03, 2009, 04:15:39 am »
But you said when you checkout, at that point AJAX is not used.

Ajax is only used on the details and browse page to add items to the cart. Not when loading the registration page!

Clicking in the username and password field on the browse and details pages, works for me. Even when the popup stating that it's added items to the cart. But then again, I no longer have IE6, it was a pain in the neck with most things.
Mark
All of My old mods are now available on my website.
Mark Callf Designs

If you like the work I've done for VM please fell free to Donate

Please Note: I am no longer actively developing or involved with VM development.

obiwan

  • Beginner
  • *
  • Posts: 25
Re: AJAX problems in ie6
« Reply #4 on: April 03, 2009, 04:29:49 am »
Trust me when I say I never use ie6! Ever but for development purposes I run unix and have Safari, firefox, ie6 & ie7 installed and it must work on all those browsers until consumers get it through their skull that ie6 just down right sucks, so I guess this means you cannot help since you clearly cannot see the errors or little bugs in ie6.

Appreciate your help anyways.


Any one else out there got some pointers. It's only an idea that it's the ajax causing the problem not sure what it is really my 2 guesses were that it was the png fix, or the ajax.

obiwan

  • Beginner
  • *
  • Posts: 25
Re: AJAX problems in ie6
« Reply #5 on: April 03, 2009, 04:50:38 am »
It's weird because everything is fine up until you select check out, it brings up the returning customers and new customers form. You can tell something is loading because the mouse has the hour glass loader. You can select any input field and type into it up until it finishes loading whatever it's loading then all the input fields are no longer responsive to the mouse.

You have to use the tab key.

obiwan

  • Beginner
  • *
  • Posts: 25
Re: AJAX problems in ie6 (SOLVED)
« Reply #6 on: April 03, 2009, 08:28:48 am »
The problem was the png fix, some elements that are created dynamically are not positioned. In order for most png fixes to work properly they have to be positioned relatively.

for example the login_registration.tpl.php in the virtuemart templates are not positioned

<div class="stretcher" id="login_stretcher">
<?php include( PAGEPATH . 'checkout.login_form.php' ); ?>
</div>

<div class="stretcher" id="register_stretcher">
<?php endif; ?>
<?php include(PAGEPATH. 'checkout_register_form.php'); ?>
<?php if( $show_login ) : ?>
   </div>
<?php


The Fix is just give a position to the object
#login_stretcher { position:relative;}
#register_stretcher { position:relative;}

amorino

  • Jr. Member
  • **
  • Posts: 144
    • Création sites web Tunisie
Re: AJAX problems in ie6
« Reply #7 on: August 18, 2009, 21:25:15 pm »
Hello,
I have a problem on that page too
All is loading togather on IE7 while on FF when i select a radio button the part concerned appear and the other one is hidden
Any help please?
Best regards
Amorino
Création sites web Tunisie
http://www.idealconception.com

flytom1

  • Beginner
  • *
  • Posts: 1
Re: AJAX problems in ie6
« Reply #8 on: September 11, 2009, 23:00:42 pm »
hello,

got an solution. replace line 23 with this code:

   $open_to_stretcher = !isset($_POST['func']) ? '3' : '1';

old version

   $open_to_stretcher = !isset($_POST['func']) ? '0' : '1';


works on IE8 as well 9-)

amorino

  • Jr. Member
  • **
  • Posts: 144
    • Création sites web Tunisie
Re: AJAX problems in ie6
« Reply #9 on: September 12, 2009, 04:18:51 am »
Thank you flytom1 but in wich file should we make these chages?
Création sites web Tunisie
http://www.idealconception.com

amorino

  • Jr. Member
  • **
  • Posts: 144
    • Création sites web Tunisie
Re: AJAX problems in ie6
« Reply #10 on: September 12, 2009, 06:36:17 am »
I found the line in login_registration.tpl.php but the solution did not work with me :(
Création sites web Tunisie
http://www.idealconception.com