JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash

12.08.2011 21:25
#1
walton
Joomshopping forum user no avatar
Name: phil
30.07.2011
Posts: 1
Quote
JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash

Hi

I bought the JoomShopping Product insert plugin and installed it on my site, and was adding products to articles when I noticed the whole of my front page was broken. The yoothemes widget kit no longer worked and I had a javascript error.

Error: $("#slideshow-1-4e4579c9b13e3").slideshow is not a function
Source File: http://www.jedphoenix.com/
Line: 212

I switched just the JoomShopping Product insert plugin off and the error cleared and it was fine.
Switch it on and the widgetkit slideshow no longer works and the site has errors.

I also note that the product in JED is said to be 1.5 1.6 and 1.7 yet the read me in the plugin says just 1.5 and 1.6 I have a 1.7 site and so was using the 1.6 version as its most compatible, but feel that you should clearly state that the commercial plugin does not work in 1.7 if thats the case.
As you can see in the screen shot, the pictures are just listing one after other, turn your plugin off and it works as you can see when you navigate to it
Your help would be much appreciated
JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash


Joomla: 1.7
JoomShopping: 2.3.2
PHP: PHP Version 5.2.17
MySQL: 5.0.77
Website Url: http://www.jedphoenix.com/

Letzte Änderung: 13.08.2011 09:16
 
13.08.2011 09:58
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16487
Quote
Aw: JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash

joomshopping_plugin_productinsert supported Joomla 1.7.

Problem.
JoomShopping use jquery + jQuery.noConflict();
Widget use jquery + no use jQuery.noConflict();

Conflict 2 jquery.

Use 1 connection jquery.

 
13.08.2011 10:05
#3
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16487
Quote
Aw: JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash

Change file.

components\com_jshopping\lib\factory.php

function loadJsFiles()

delete row

$document->addCustomTag('<script type = "text/javascript">jQuery.noConflict();</script>');

 
23.08.2011 23:50
#4
gmolop
Joomshopping forum user no avatar
Name: gmo
14.02.2011
Posts: 1
Quote
Aw: JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash

I have a similar problem and I think in my case, is because the page attempt to load two instances of jQuery, one called by the "widgetkit";
<script src="../media/widgetkit/js/jquery.js" type="text/javascript"></script>

and the other by the component joomshopping;
<script type = "text/javascript" src = "../components/com_jshopping/js/jquery/jquery-1.6.2.min.js"></script>

When attempting to load both the fault occurs.
(SOLVED without deleting any row, just checking if was previusly loaded)
******

Example;
Adding a simple function to check whether the functions of jQuery are preloaded (or not), we avoid to load twice and consequently avoid the error.

And if in a page is not activated any module of "widgetkit", the function returns a double negative and then load the jquery without losing any functionality from joomshopping in the whole site.

Cheers and I hope it helps.
Gmo .-
******

File; /components/com_jshopping/lib/factory.php
Line; #203
Function; loadJsFiles()


function loadJsFiles(){
static $load;
if (!$load){
$document =& JFactory::getDocument();
if (!jQuery) {
$document->addCustomTag('<script type = "text/javascript" src = "'.JURI::root().'components/com_jshopping/js/jquery/jquery-1.6.2.min.js"></script>');
}

$document->addCustomTag('<script type = "text/javascript">jQuery.noConflict();</script>');
$document->addCustomTag('<script type = "text/javascript" src = "'.JURI::root().'components/com_jshopping/js/jquery/jquery.media.js"></script>');
$document->addCustomTag('<script type = "text/javascript" src = "'.JURI::root().'components/com_jshopping/js/functions.js"></script>');
$document->addCustomTag('<script type = "text/javascript" src = "'.JURI::root().'components/com_jshopping/js/validateForm.js"></script>');
$load = 1;
}
}



Joomla: 1.7.0
JoomShopping: 3.2.3
PHP: 5.2.17
MySQL: 5.0.92
Website Url: http://vizual.es/

Letzte Änderung: 23.08.2011 23:51
 
10.07.2013 19:55
#5
gatekeepa
Joomshopping forum user no avatar
Name: gatekeepa
10.08.2011
Posts: 35
Quote
Aw: JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash

got the same problem here and the solution doesnt work.

using yoothemes yoo-showroom theme with widgetkid 1.3.5
code is completly different in the new joom shopping version. getting a blank page if i change any code.

any help would be much appreciated.


Joomla: 3.0.3. stable
JoomShopping: 4.1.1.
PHP: 5.3.19
MySQL: 5.5.28
Website Url: http://dev.grube-verlag.de/index.php/shop/product/view/1/2
 
10.07.2013 21:45
#6
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16487
Quote
Aw: JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash

url?

 
11.07.2013 16:05
#7
gatekeepa
Joomshopping forum user no avatar
Name: gatekeepa
10.08.2011
Posts: 35
Quote
Aw: JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash

http://dev.grube-verlag.de/index.php/shop/product/view/1/2

 
11.07.2013 21:11
#8
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16487
Quote
Aw: JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash

Topic: JoomShopping Product insert plugin!


Configuration / category/product
Use content plugins in descriptions?

 
13.07.2013 20:38
#9
gatekeepa
Joomshopping forum user no avatar
Name: gatekeepa
10.08.2011
Posts: 35
Quote
Aw: JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash

thank you very much. that did it ;)

 
30.07.2013 15:57
#10
kkbb
Joomshopping forum user no avatar
Name: kkbb
09.07.2013
Posts: 3
Quote
Aw: JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash

Hi,

I have a problem with displaying widgetkit on the JoomShopping store site.
Displays only a white block.

I removed the "$ document-> addCustomTag ('<script type = "text/javascript"> jQuery.noConflict (); </ script>');" but it didn't solve.

Thanks in advance for your help.

Best regards
Aw: JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash


Joomla: 2.5.13
JoomShopping: 3.2.7
 
30.07.2013 19:04
#11
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16487
Quote
Aw: JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash

Configuration / category/product
Use content plugins in descriptions?: Y


Not use thema "Commercial extension" for other thema

 
30.07.2013 21:21
#12
kkbb
Joomshopping forum user no avatar
Name: kkbb
09.07.2013
Posts: 3
Quote
Aw: JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash

Great thanks for reply.
But not working.
Another idea?

EDIT:
// load jQuery, if not loaded before
if (!JFactory::getApplication()->get('jquery')) {
JFactory::getApplication()->set('jquery', true);
// add jQuery

I wrote this code to components/com_jshopping/lib/factory.php, but still didn't work.


Letzte Änderung: 30.07.2013 22:43
 
30.07.2013 21:43
#13
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16487
Quote
Aw: JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash

url?

 
30.07.2013 23:29
#14
kkbb
Joomshopping forum user no avatar
Name: kkbb
09.07.2013
Posts: 3
Quote
Aw: JoomShopping Product insert plugin causes yootheme Wigetkit slideshow to crash

I did upgrade to version 3.15 and it works!
Thanks for help and thanks for great components!
Best regards


Letzte Änderung: 30.07.2013 23:29
 
Copyrights MAXXmarketing GmbH. All Rights Reserved