hikashop block osm module

  • Posts: 846
  • Thank you received: 92
10 years 9 months ago #141230

-- url of the page with the problem -- : local
-- hikaserial :1.8.0
-- hikashop : 2.2.3
-- php : 5.3.9
-- firefox 26.0
--extension : osmodul
-- Error-message-- : don't work ( specific to my configuration )

Hi
I use a custom version of osm module with json .
Click on a link ( that goes to one hikashop product )add hikashop.js and hikaserial.js beetween jquery.js and leafflet.js . If i disable hikashop.js , the module work !!
How can i detect the line problem in firefox ?
I see that HKS add many same scripts item . Is it the way HSK work ( or i do something wrong when edit some HKS php file ) ?

Regards

Attachments:
Last edit: 10 years 9 months ago by lionel75.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 9 months ago #141252

Hi,

The script shown in the screenshot is in the view "product | show_block_img".
You can use a static variable in order to include the script only once. I think I will do this modification for the next release.

More than that, you can use the browser debugger in order to stop the script execution when an error occurred.
Some browsers allow to "pretty print" the javascript code source so it is easier to see the error line when it's not all displayed in a single one.

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.

Time to create page: 0.059 seconds
Powered by Kunena Forum