News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Modal windows don't work

Started by Siguana, March 31, 2018, 20:28:10 PM

Previous topic - Next topic

Siguana

  I am editing the coding for having my VirtueMart as I want, but I have broken something...

  Now, the modal windows don't work.

  For example, if I click into the image of a product, it doesn't open in a modal window, and it opens in a new page.  Or if I click into the "Ask a question about this product" link, it doesn't work (it only works if I right-click the link and I open it in a new tab).

  I have edited many things, and I don't want to start again from zero.  How can I fix it?

Jörgen

No Vm version, No Joomla Version ? Custom template ? Lots of changes ?

The only way I see is to revert the changes until You come back to a working version. Who knows what You have changed ?
Deactivate the changed override files in Your template one by one until it works again. Maybe just the CSS files ?

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

jenkinhill

It is a good idea to make a note of each change you make when editing & developing template overrides to make it easier to work back (I assume you are editing overrides and not original VM files).
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Studio 42

Check the browser console (F12 on PC chrome or firefox), you have certainly a javascript error.

Siguana

Quote from: Studio 42 on April 01, 2018, 19:58:15 PM
Check the browser console (F12 on PC chrome or firefox), you have certainly a javascript error.

  You are right!  It is a Javascript error!  I have check the coding and it is a problem with a third party extension.  I have contacted with the developer and I am waiting for the answer.  Thanks a lot!