VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: nick.sal on April 11, 2017, 15:13:44 PM

Title: Fancy Box navigation not working
Post by: nick.sal on April 11, 2017, 15:13:44 PM
Joomla Version 3.6.5
VirtueMart 3.0.9
FancyBox 1.3.4
Live site example: http://www.lineacarpets.gr/new/el/katalogos/product-test-detail (http://www.lineacarpets.gr/new/el/katalogos/product-test-detail)
Hello, i am having difficulties making the FancyBox navigation working on my site

I have read the documentation and FancyBox Groups images based on the rel tag you give them.

So i changed some data-rel tags on default_images_additional.php to rel tags using the vm-additional-images hoping that will solve the issue. Prior to this change the navigation was not working at all, now it displays the main product image.
Seems like only the main image gets the rel tag and the one you select from the aditional images. What can be causing this? any ideas?

https://forum.virtuemart.net/index.php?topic=134339.0 (https://forum.virtuemart.net/index.php?topic=134339.0) This topic is really similar to my problem but it's not answered

Thanks in advance.
Title: Re: Fancy Box navigation not working
Post by: jenkinhill on April 11, 2017, 15:29:36 PM
You are using a zoom effect rather than a simple image modal.  This is a commercial template, not default using the VirtueMart template structure, but if you force the page to use Protostar and VM dfaults then you can see that the fancybox navigation in the modals does work.  Try  http://www.lineacarpets.gr/new/el/katalogos/product-test-detail?tmpl=component&template=protostar
So you should ask the template supplier about this.  http://forum.virtuemart.net/index.php?topic=108212.0

Also your VirtueMart version is very old and insecure ( http://forum.virtuemart.net/index.php?topic=118683.0 ). You should test an update (currently we are at VM3.2.1) on a backup copy of the live site, as there are likely to be template compatibility issues - maybe they have an updated version?