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

How to turn off lightbox

Started by achilleas, March 14, 2012, 13:04:08 PM

Previous topic - Next topic

achilleas

I turned off (for testing) all the "Css Styles & Javascripts" in configuration
Using the VirtueMart CSS    OFF
Using the Virtuemart jQuery   OFF
Using the product Scripts    OFF
Using the Script ajax Countries / Regions   OFF

but when I click on a product image its shows up in a modal box.

How can I turn off light box?

------------------------
VM adds these lines in template scripts

vmCartText = ' was added to your cart.' ;
vmCartError = 'There was an error while updating your cart.' ;
loadingImage = '/joomla/components/com_virtuemart/assets/images/facebox/loading.gif'  ;
closeImage = '/joomla/components/com_virtuemart/assets/images/facebox/closelabel.png' ;
faceboxHtml = '<div id="facebox" style="display:none;"><div class="popup"><div class="content"></div> <a href="#" class="close"></a></div></div>'
window.addEvent('domready', function() {

         SqueezeBox.initialize({});
         SqueezeBox.assign($$('a.modal'), {
            parse: 'rel'
         });
      })

--------------------------------
Is there a way to turn these off?

achilleas

I see that the class "modal" is hardcoded into templates. So maybe  template override will do the job.

jenkinhill

Yes, edit the default_images.php file in VM2.0.2 or later.
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