VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Budrys on July 06, 2018, 13:41:34 PM

Title: Issue with facebox image
Post by: Budrys on July 06, 2018, 13:41:34 PM
I have issue with popup facebox image - it is not shown.

In code i have src for that image with "undefined" at the beggining.

Title: Re: Issue with facebox image
Post by: jjk on July 07, 2018, 15:29:16 PM
Do you use an extension like for example JCH-optimize? It i´might cause some scripts to load in the wrong order. You may also try different settings in VM configuration > tempate tab > Activate Css Styles & Javascripts.
Title: Re: Issue with facebox image
Post by: Studio 42 on July 07, 2018, 15:44:38 PM
And try with default protostar template, to check if this is a template problem.(add ?template=protostar or &template=protostar at end of your URL)
Title: Re: Issue with facebox image
Post by: Budrys on July 11, 2018, 09:54:18 AM
I don't have any extensions.

The same issue is with Prostar template and with VM javascript.
Title: Re: Issue with facebox image
Post by: jjk on July 11, 2018, 11:54:42 AM
If the problem is on your website ...betty71.pro-linuxpl.com/beta/, you are loading fancybox, the old facebox and JCE media box. So there probably is a conflict. On pages where the fancybox doesn't work correctly, reloading the page by pressing F5 makes it work. I think you should try to disable facebox and perhaps also the JCE media box if you want to use Fancybox.
Title: Re: Issue with facebox image
Post by: Studio 42 on July 11, 2018, 12:07:48 PM
I rememeber now the problem.
The parameter virtuemart site url is loaded later it's why you get undefined and not base site url.
Use fancybox, because i mean that the dev team do not maintain and test facebox code