Registration button doesnt work in ie8

  • Posts: 259
  • Thank you received: 22
10 years 5 months ago #184710

-- url of the page with the problem -- : www.workscene.com.au
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.14
-- Browser(s) name and version -- : Internet Explorer 8

Users with Internet Explorer 8 cannot register on www.workscene.com.au . The buttons simply don't respond. All other browsers we have tested are fine.

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

  • Posts: 2143
  • Thank you received: 747
10 years 5 months ago #184727

Just wondering: you're using a fairly modern template, and other "demanding" extensions (site looks good, by the way!). Are you sure that it's only those buttons that don't work in IE8, and not several other features, too?

IE8 has been released in early 2009 and was replaced by IE9 two years later. So, it's a very old browser, it was way off standards already during its lifetime, and it cannot deal with many modern web features and content today. In fact, it breaks the majority of templates and newer extensions published these days.

In other words, you should encourage your site visitors to upgrade to a newer IE version, or install and use a different browser (Firefox, Chrome and the likes), otherwise they'll find it more and more troublesome surfing the web. There are even Joomla extensions which would detect old browsers and warn your visitors before entering your site.

Having said this in general, there might still be a possibility of getting the buttons in question to work in a "stone age" browser - but that I'll leave to the official support here... they'll know how if possible at all. ;)


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 10 years 5 months ago by lousyfool. Reason: word missing

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

  • Posts: 259
  • Thank you received: 22
10 years 5 months ago #184799

I agree it would be nice if everyone upgraded to a more recent browser but the unfortunate fact is that 15% of web users are still using ie8 and in the real world businesses can't turn their backs on 15% of the market. These buttons are the only part of the site not working that I can identify.

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
10 years 5 months ago #184800

Hi,

I see that you're using bootstrap and in that case, the buttons style is also done with bootstrap.
Edit the file "login" of the view "checkout" via the menu Display>Views and change the line:

echo JHTML::_('hikaselect.radiolist',  $values, 'data[register][registration_method]', ' onchange="displayRegistration(this)"', 'value', 'text', $defaultSelection, false, false, true );
to:
echo JHTML::_('select.radiolist',  $values, 'data[register][registration_method]', ' onchange="displayRegistration(this)"', 'value', 'text', $defaultSelection, false, false, true );
and the switcher will then use the standard radio list of Joomla instead of the bootstrap radio list.
That might help although it's less nice.

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

  • Posts: 259
  • Thank you received: 22
10 years 5 months ago #184806

On further investigation it is the registration "switcher" that is not working in IE8. Any suggestions would be welcomed.

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

  • Posts: 259
  • Thank you received: 22
10 years 5 months ago #184930

Hi Nicolas, that almost works. The only problem is that in ie8, selecting the login radio button now displays the Guest checkout screen, the Registration button displays the Login screen and the Guest button displays the Registration screen. The buttons coincide with the correct screens in Firefox and Chrome. Very strange.

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

  • Posts: 26249
  • Thank you received: 4039
  • MODERATOR
10 years 5 months ago #185037

Hi,

Well, it is not exactly what happen.
In fact, when you choose a radio, the event "onchange" is called but not at the right perfect moment ; the result is that it change the selection with the previous value and not the new one.
That's why we generally use "onchange" and "onclick" events in order to handle old browsers.
We can also add a little check in order to only call the event for the selected (checked) radio.

So, something like that :

echo JHTML::_('select.radiolist',  $values, 'data[register][registration_method]', ' onchange="if(this.checked) { displayRegistration(this); }" onclick="if(this.checked) { displayRegistration(this); }"', 'value', 'text', $defaultSelection, false, false, true );

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.

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

  • Posts: 259
  • Thank you received: 22
10 years 5 months ago #185183

Brilliant Jerome, that solved the problem, and within a couple of hours of a big TV advertising campaign starting so perfect timing as well.

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

Time to create page: 0.085 seconds
Powered by Kunena Forum
loading