Support Offline: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

check Need 2 clicks for “next” “prev” arrows in NIvo Lightbox view?

More
2 years 5 months ago - 2 years 5 months ago #41127 by Patrick Toulze
When viewing an article in the Nivo lightbox you are using for your Content Slider.
—> You need to click 2 times “next” or “prev” arrows to see the next article.

That make this great module look buggy for users that will probably abandon after the first click.

• I maybe find an explanation for that Nivo Lightbox problem on StackOverflow
Title: “lightbox activates when clicking the link twice instead of once”
Link: stackoverflow.com/questions/31416770/lig...wice-instead-of-once
Last edit: 2 years 5 months ago by Patrick Toulze. Reason: Add live site infos

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

More
2 years 5 months ago #41129 by Jackie
Hello.
Thank you for contacting us.
We have checked our site and don't have that issue with the lightbox.
Please give us your site URL, we will help you check it.
Thanks.

Best regards.
Jackie Nguyen.

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

More
2 years 5 months ago - 2 years 5 months ago #41131 by Patrick Toulze
I Just upload the live website (in construction) on my testing server and add the Admin links and password.

Same problem on this live server (tested on Chrome/Firefox)

Steps to reproduce
— In the front Page go to the Portfolio bottom section
— Click any elements (base on normal Joomla articles)
— When viewing the article in the lightbox, click the prev/next (< >) buttons — You need to click 2 times to make it go to the prev/next

Happen 100% of the time

This is a testing environment, I don’t care what happen to the website. Can be replace in minutes

NO RUSH! B)
Last edit: 2 years 5 months ago by Patrick Toulze.

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

More
2 years 5 months ago #41134 by Jackie
Hi again.
We have checked and fixed that issue on your site.
Please recheck it.
Thanks.

Best regards.
Jackie Nguyen.

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

More
2 years 5 months ago #41135 by Jackie
The issue is when you put more than one "Content Slider" module on one page. We have checked and fixed the issue when calling the Nivolightbox.
Now it works fine, please recheck it.
Thanks.

Best regards.
Jackie Nguyen.

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

More
2 years 5 months ago - 2 years 5 months ago #41137 by Patrick Toulze
Thanks Jackie to look at that!

I just make sure to flush all Joomla and Browser cache and try. It seem to do the same thing?
— 2 click to move the element when in the lightbox

File Attachment:
Last edit: 2 years 5 months ago by Patrick Toulze. Reason: Clearer

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

More
2 years 5 months ago #41138 by Jackie
Hi again.
Maybe the issue is from the custom default file in the template. After disabled, the file in the template the module works fine. Please check your custom code again.
Thanks.

Best regards.
Jackie Nguyen.
The following user(s) said Thank You: Patrick Toulze

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

More
2 years 5 months ago - 2 years 5 months ago #41139 by Patrick Toulze
Sadly without my override, the text link bring the article in Joomla main content, not in the Lightbox. Do you have a setting to have both image and text link opening the article (with navigation) in the lightbox.?

——————————————————————————————————
Ok, I finally make it work by changing my original override code around line 141-42

Working code
<?php if ($params->get('show_title', 1) == 1): ?>
                            	<a href="#juxlightbox<?php echo $list->id; ?>" data-lightbox-gallery="gallery2" data-lightbox-type="inline" >
					<h2 class="jux-title"><span><?php echo $list->title ?></span></h2>
                                </a>
<?php endif ?>

What make it work without double click is that that I change —> data-lightbox-gallery="gallery1" (use for the image) by data-lightbox-gallery="gallery2"

Now the image and the Title link open both the article in the lightbox with navigation and need only one click for prev/next

I upload the fix to live now for you to see.... That should be a possibility without having to do an override.
Last edit: 2 years 5 months ago by Patrick Toulze. Reason: I was wrong — OK FIX

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

More
2 years 5 months ago #41140 by Jackie
Thank you for your feedback. If you need help, please let us know again.
Thanks.

Best regards.
Jackie Nguyen.
The following user(s) said Thank You: Patrick Toulze

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

More
2 years 5 months ago #41141 by Patrick Toulze

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

Moderators: Jackie
Time to create page: 0.116 seconds
Powered by Kunena Forum