Jquery problem with manual loading

More
10 years 11 months ago #43163 by igcorreia
Hi,

I want to have the library of jquery in the entire site even when FC is not loaded so for that I add it to the head of the site manually, I am using the Gantry Framework.

I went to the FC Global Conf and changed the jquery to MANUALLY so I don't have 2 jquery libraries loaded.

The problem is that selec2.js and tmpl-common.js form FC are loaded before the JQUERY.

How can I fix this?

j.mp/192PqjP

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #43174 by ggppdk
Hello

-- We have no control of the order the Gantry framework will
... make call to add jQuery loading tag into the <head> tag of the HTML document


Solution 1:
1. disable loading of jQuery in the Gantry Framework and add it at the top of the <head> tag of your joomla template index.php file

2. Use a joomla system plugin to manipulate and replace HTML code for loading jQuery
e.g. jQueryEasy


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.491 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline