VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: cocacolacowboys on April 11, 2020, 11:14:30 AM

Title: Remove the URL for the Product Media URL
Post by: cocacolacowboys on April 11, 2020, 11:14:30 AM
Hi,
I use Themler instead of default template for virtuemart (vmbeez3). When I click on Product image, the image is enlarged, but it is not possible to click and make the image small again. On the default template for virtuemart (vmbeez3) I can click and make the image small again, without problems, but not on the Themler template.

Therefore, I want to be able to remove the ability to remove the URL for the Product Media URL. How do I do this? Anyone who knows?

yes, I understand that this issue must have come up earlier. Sorry for that...

Virtuemart 3.6.10 10211
Joomla 3.9.16
Php 7.2
Title: Re: Remove the URL for the Product Media URL
Post by: Jörgen on April 11, 2020, 11:40:38 AM
This is an issue with the Themler template. Please talk to them.

Jörgen @ Kreativ Fotografi
Title: Re: Remove the URL for the Product Media URL
Post by: cocacolacowboys on April 11, 2020, 11:47:10 AM
Thank you. I have send them an email about the issue. For me its ok if I can remove the url. Is that possible?
Title: Re: Remove the URL for the Product Media URL
Post by: Jörgen on April 11, 2020, 14:27:55 PM
Of course, but the place could depend om the template.
Jörgen
Title: Re: Remove the URL for the Product Media URL
Post by: GJC Web Design on April 11, 2020, 15:05:43 PM
find in your template

$image->displayMediaFull("",true,"rel='vm-additional-images'");

and change to

$image->displayMediaFull("",false);
Title: Re: Remove the URL for the Product Media URL
Post by: Jörgen on April 11, 2020, 16:19:12 PM
Thank you GJC
Jörgen
Title: Re: Remove the URL for the Product Media URL
Post by: cocacolacowboys on April 11, 2020, 16:25:07 PM
GJC, thank you so much. I will try asap. Thank again : )
Title: Re: Remove the URL for the Product Media URL
Post by: cocacolacowboys on April 11, 2020, 17:50:08 PM
Hi and thank you

Unfortunately, this did not work. The image was still clickable. Possibly this has to do with my cache memory?
Title: Re: Remove the URL for the Product Media URL
Post by: cocacolacowboys on April 11, 2020, 18:00:18 PM
Your solution works on virtuemart default template, but not on Themler template : (
Title: Re: Remove the URL for the Product Media URL
Post by: GJC Web Design on April 11, 2020, 18:13:10 PM
no crystal ball available....
Title: Re: Remove the URL for the Product Media URL
Post by: pinochico on April 11, 2020, 18:55:26 PM
QuoteThis is an issue with the Themler template. Please talk to them.

Back to start :)