10 years ago
Topic

Hello,
I have an Joomla-Installation with Virtuemart on this I installed Seblod.
In the backend on Virtuemart no Javascript will work anymore. IF I take a look at the webdevolpertools on Chrome I see this errors in the console:

  1. Uncaught ReferenceError: Class is not defined cck_menu.js:1
  1. Uncaught TypeError: undefined is not a function cck_index.js:1
  1. Uncaught TypeError: undefined is not a function index.php?option=com_virtuemart&view=virtuemart:131

The biggest problem now is that I can't use the savebutton furthermore. I think the problem is a jQuery conflict because VMart and Seblod load different libraries in the admin-head. IS there a solution to prevent loading jquery twice?

BR

Get a Book for SEBLOD
4229 Posts
Kadministrator
10 years ago
0
Level 1

Hi,

have you tried changing settings in the component options->site tab?

If this does not help, there are plugins in JED that help in this situations and make sure only one library is loaded at the time. Which Joomla are you on?

10 years ago
0
Level 1

You can try to fix this with jQuery Easy (http://extensions.joomla.org/extensions/core-enhancements/performance/jquery-scripts/18327) or with jQuery Integrator (http://extensions.joomla.org/extensions/core-enhancements/performance/jquery-scripts/12995) 

JFS
10 years ago
3
Level 1

Hi,
thanks for our replys.
I tooked a look at the component options->site tab. But I can't find an option for jQuery.
I see only a textfield with a JS label. Is this what you mean?

I use Joomla 2.5.24 and Seblod 3.3.7.

10 years ago
2
Level 2

Hi! No no... i posted two links of Joomla plugins. Install it on your site in the joomla extension manager, set it up and activate it. It should fix your problem.

JFS
10 years ago
1
Level 3

Hi,
first I want to checkout the way from Klas because I want to use less extension if its possible.
But I will use your links if there is noch way through the options.

BR

4229 Posts
Kadministrator
10 years ago
0
Level 4

Sorry, I somehow thought there is an option for javascript too, but you cna only choos how much CSS to load, so I'm afraid you will need to use one of those plugins.

JFS
10 years ago
0
Level 1

Okay, no problem. One thing more for one of the upcoming versions :P .
Than I have to use one of the extensions.

EDIT: Thanks now all works perfect again in Joomla. Also the accordeon effects (this thing with the blue arrow icons :) ) in the article and categories work again.

Greets and thank you.

Get a VIP membership