VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: hk on September 02, 2013, 13:08:20 PM

Title: Product image Lightbox
Post by: hk on September 02, 2013, 13:08:20 PM
Hi,

How do I change the Title/comments shown below the image in Lightbox.

Thanks.

VM 2.0.16
Title: Re: Product image Lightbox
Post by: jenkinhill on September 02, 2013, 15:48:51 PM
There is no title image/text below the image in the current VM version, whether using fancybox or facebox. I don't have an old 2.0.16 version around to see what that one did.
Title: Re: Product image Lightbox
Post by: jjk on September 02, 2013, 21:52:06 PM
Quote from: hk on September 02, 2013, 13:08:20 PM
How do I change the Title/comments shown below the image in Lightbox.

What exactly do you want to display and is there any reason why you still use the old version 2.0.16?
Have a look at the lightbox images on the website mentioned in this link: http://forum.virtuemart.net/index.php?topic=110005.0 (including alt-image tags). That website currently works with VM 2.0.22x. Do you want something similar?
Title: Re: Product image Lightbox
Post by: hk on September 03, 2013, 11:07:16 AM
I recheked and found I'm using VM 2.0.18a

Yes, I want to have Product name as Alt tag for images, so that same appears below lighbox.
Title: Re: Product image Lightbox
Post by: jjk on September 03, 2013, 22:49:46 PM
Sorry, I've been quite busy today. Will try to find some time to check if my own overrides might work for you tomorrow.
Title: Re: Product image Lightbox
Post by: liquid.ideas on September 03, 2013, 23:47:04 PM
Hi If you want to use a super sexy and super awesome component you might try mediabox ck, makes your lightbox gorgeous and you can put:
<?php echo $product->product_name ?> in the title tag of your <a>