Disable lightbox

08.05.2012 23:25
#1
originalmi
Joomshopping forum user no avatar
Name: andrea
11.04.2012
Сообщения: 36
Quote
Disable lightbox

Hi guys, how can I disable the lightbox effect on the product images? I don't need this effect and there is no way to disable it from the joomshopping backend, i hope you can help me.

Greetings

 
11.05.2012 16:10
#2
originalmi
Joomshopping forum user no avatar
Name: andrea
11.04.2012
Сообщения: 36
Quote
Aw: Disable lightbox

No one has a solution?

 
21.05.2012 14:23
#3
originalmi
Joomshopping forum user no avatar
Name: andrea
11.04.2012
Сообщения: 36
Quote
Aw: Disable lightbox

Please guys help me with this problem

 
22.05.2012 19:05
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25919
Quote
Aw: Disable lightbox

change file

\components\com_jshopping\lib\factory.php

function loadJsFilesLightBox(){
static $load;
if (!$load){
$document =& JFactory::getDocument();
$document->addCustomTag('<script type = "text/javascript" src = "'.JURI::root().'components/com_jshopping/js/jquery/jquery.lightbox-0.5.pack.js"></script>');
$document->addCustomTag('<link type = "text/css" rel = "stylesheet" href = "'.JURI::root().'components/com_jshopping/css/jquery.lightbox-0.5.css" media="screen" />');
$document->addCustomTag('<script type = "text/javascript">function initJSlightBox(){
jQuery("a.lightbox").lightBox({
imageLoading: "'.JURI::root().'components/com_jshopping/images/loading.gif",
imageBtnClose: "'.JURI::root().'components/com_jshopping/images/close.gif",
imageBtnPrev: "'.JURI::root().'components/com_jshopping/images/prev.gif",
imageBtnNext: "'.JURI::root().'components/com_jshopping/images/next.gif",
imageBlank: "'.JURI::root().'components/com_jshopping/images/blank.gif",
txtImage: "'._JSHOP_IMAGE.'",
txtOf: "'._JSHOP_OF.'"
});
}
jQuery(function() { initJSlightBox(); });</script>');
$load = 1;
}
}


chanage to

function loadJsFilesLightBox(){
}


 
24.05.2012 16:03
#5
originalmi
Joomshopping forum user no avatar
Name: andrea
11.04.2012
Сообщения: 36
Quote
Aw: Disable lightbox

Thank you, I disabled the lightbox, but remains a link that shows the image in an other page, i want to remove links from the images, how can I do this?

 
24.05.2012 21:26
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25919
Quote
Aw: Disable lightbox

Yes. change template product

components\com_jshopping\templates\default\product\product_default.php

 
28.05.2012 16:49
#7
originalmi
Joomshopping forum user no avatar
Name: andrea
11.04.2012
Сообщения: 36
Quote
Aw: Disable lightbox

What string I have to change in this file?

 
31.05.2012 16:02
#8
originalmi
Joomshopping forum user no avatar
Name: andrea
11.04.2012
Сообщения: 36
Quote
Aw: Disable lightbox

Please tell me what string I have to change for disable the link in the product image

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.