Skip to main content

A few questions

More
13 years 2 months ago #114478 by Soko?owski
Replied by Soko?owski on topic A few questions
If i change this line, then images work fine, but characteristic dont...

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

More
13 years 2 months ago #114727 by nicolas
Replied by nicolas on topic A few questions
Do you get a javascript error ? Can you look in your browser javascript log console ?

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

More
13 years 2 months ago #114814 by Soko?owski
Replied by Soko?owski on topic A few questions
I'm not sure if I'm looking in the right place. I'm using firebug and the "script". I dont see any errors. I tested with the changed code in characteristic.php and with default code.

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

More
13 years 2 months ago #115139 by nicolas
Replied by nicolas on topic A few questions
I checked your website but I couldn't see the change so I couldn't see if there was a problem and what kind of problem it could be.
Can you try like that please:
Code:
if(el && el2) el.innerHTML=el2.innerHTML.replace(\'rel="shadowbox[\',\'rel="shadowbox[copy_\');

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

More
13 years 2 months ago #115144 by Soko?owski
Replied by Soko?owski on topic A few questions
I added ur code.
Characteristics work, but now duplicate picture.

Now I left your code, so you can check it.

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

More
13 years 2 months ago #115172 by nicolas
Replied by nicolas on topic A few questions
Ok, that's great !

Let's try with that then:
Code:
if(el && el2) el.innerHTML=el2.innerHTML.replace(new Regex(\'rel="shadowbox\[\', g),\'rel="shadowbox[copy_\');

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

More
13 years 2 months ago #115177 by Soko?owski
Replied by Soko?owski on topic A few questions
Now characteristics dont work. And duplicate first picture.

I left your code, so you can check it.

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

More
13 years 2 months ago #115179 by nicolas
Replied by nicolas on topic A few questions
Try like that:
Code:
if(el && el2) el.innerHTML=el2.innerHTML.replace(new Regexp(\'rel="shadowbox\[\', 'g'),\'rel="shadowbox[copy_\');

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

More
13 years 2 months ago #115182 by Soko?owski
Replied by Soko?owski on topic A few questions
Now product page doesnt display


I left your code, so you can check it.

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

More
13 years 2 months ago #115234 by nicolas
Replied by nicolas on topic A few questions
I forgot escaping the quotes.
Try like that:\
Code:
if(el && el2) el.innerHTML=el2.innerHTML.replace(new Regexp(\'rel="shadowbox\[\', \'g\'),\'rel="shadowbox[copy_\');

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

More
13 years 2 months ago #115240 by Soko?owski
Replied by Soko?owski on topic A few questions
Characteristics dont work. Now duplicate only first picture.

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

More
13 years 2 months ago #115265 by nicolas
Replied by nicolas on topic A few questions
Try like that:
Code:
if(el && el2) el.innerHTML=el2.innerHTML.replace(new RegExp(\'rel="shadowbox\[\', \'g\'),\'rel="shadowbox[copy_\');
Apparently, the case is important.

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

More
13 years 2 months ago #115309 by Soko?owski
Replied by Soko?owski on topic A few questions
Characteristics dont work. Now duplicate only first picture.

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

More
13 years 2 months ago #115319 by Jerome
Replied by Jerome on topic A few questions
Hi,

What does "Characteristics dont work" mean ?

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.

More
13 years 2 months ago #115335 by Soko?owski
Replied by Soko?owski on topic A few questions
If i change color of product,pictures dont change(i still see default pictures).

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

More
13 years 2 months ago #115381 by nicolas
Replied by nicolas on topic A few questions
The
Code:
[
character is causing some issues now.
do it like that and that will avoid the issue with it:
Code:
if(el && el2) el.innerHTML=el2.innerHTML.replace(new RegExp(\'rel="shadowbox.\', \'g\'),\'rel="shadowbox[copy_\');
The following user(s) said Thank You: Soko?owski

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

More
13 years 2 months ago #115403 by Soko?owski
Replied by Soko?owski on topic A few questions
Your solution is great! The characteristics of work, only duplicates the first image(is it possible to correct it?).


I'm very grateful for the help.

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

More
13 years 2 months ago #115434 by Soko?owski
Replied by Soko?owski on topic A few questions
hmm,
Firstly pictures dont duplicate, if i wait few minutes with open web browser and click on picture then pictures duplicate.

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

More
13 years 2 months ago #115531 by nicolas
Replied by nicolas on topic A few questions
Hi,

It's not possible to change the duplication for the first image. It will require to rewrite the whole image display handling.
It's on the todo list, but it's a lot of work.

I couldn't get any other picture duplication on your page.

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

Time to create page: 0.292 seconds
Powered by Kunena Forum