Skip to main content

change javascript error alerts to notifications

More
13 years 8 months ago #90757 by natanjarorije
Hi there,
I use the option "no registration" for my store, so people dont have to create an account but only emailadres and address information. Whe they don't fill in a required field, a javascript error pops up. Is it possible to change this? So that the error is displaying in my div with <jdoc:include type="message" /> instead of a ugly popup?

Thanks in advance

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

More
13 years 8 months ago #90891 by Jerome
Hi,

It would not be possible to add the Joomla message system in Javascript because the page is not reloaded.
But, you can access to the javascript code in the hikashop.js file and change the way that the alert is made, with a less intrusive popup system maybe.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: natanjarorije

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

More
13 years 8 months ago #90960 by natanjarorije

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

Time to create page: 0.056 seconds
Powered by Kunena Forum