VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: chuckI on December 26, 2012, 22:28:30 PM

Title: Thumbnail popup in Defaultsecond template no lightbox
Post by: chuckI on December 26, 2012, 22:28:30 PM
I am using VM 2.0.12
PHP 5.3.19-1~dotdeb.0
Joomla 2.5.8

Templates > Shop Front Settings > Product Layout > Defaultsecond

There seems to be a problem with the thumbnail popup in the Defaultsecond template. On the products detail page when you click on the thumbnail it opens in a new window and not a popup lightbox.

If I change it to the Default template, the thumbnail link opens in a popup lightbox.

Is this a glitch? Can this be fixed or can I disable that in the Default second template?

http://temp.modwest.com/kettlehouse.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=23&virtuemart_category_id=15&Itemid=510 (http://temp.modwest.com/kettlehouse.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=23&virtuemart_category_id=15&Itemid=510)

Thanks, Chuck
Title: Re: Thumbnail popup in Defaultsecond template no lightbox
Post by: bytelord on January 06, 2013, 20:03:11 PM
Hello,

As is see you have fixed it but i suppose was a javascript conflict ... am i right?

Regards
Title: Re: Thumbnail popup in Defaultsecond template no lightbox
Post by: chuckI on January 07, 2013, 19:37:47 PM
Hi There,

Actually no it's not fixed.

Here is another link
http://temp.modwest.com/kettlehouse.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=22&virtuemart_category_id=15&Itemid=510 (http://temp.modwest.com/kettlehouse.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=22&virtuemart_category_id=15&Itemid=510)

If you click on the thumbnail, it does not open in a lightbox. If you click on the large image it does.

In the regular default template, clicking on the thumbnail opens it in a lightbox. But this is broken in the defaultsecond template.

Thanks!
Title: Re: Thumbnail popup in Defaultsecond template no lightbox
Post by: bytelord on January 07, 2013, 21:48:46 PM
Hello,

This is not related to vm2 but to the template you are using, first please read: http://forum.virtuemart.net/index.php?topic=108212.0
You should ask your template provider or the module vendor if you are using vendor for that...

Otherwise check your file under joomla_root_folder/templates/your_template/html/com_virtuemart/productdetails/default_images.php
locate the code the aditional images and modify the link, take a look on the FAQ: http://forum.virtuemart.net/index.php?topic=98647.0

Regards