FLEXIcontent adds .js

More
10 years 5 months ago #52158 by iamrobert
Hi,

I have upgraded FLEXIcontent to the latest github and following js code seems to be added.
+ What's it for?
+ How do I disable it if I need to?

The site is:
visitfootball.com/test/
Code:
<script src="/media/jui/js/jquery.ui.core.min.js" type="text/javascript"></script> <script src="/media/jui/js/jquery.ui.sortable.min.js" type="text/javascript"></script> <script src="/components/com_flexicontent/librairies/jquery/js/jquery-ui/jquery.ui.dialog.min.js" type="text/javascript"></script> <script src="/components/com_flexicontent/librairies/jquery/js/jquery-ui/jquery.ui.menu.min.js" type="text/javascript"></script> <script src="/components/com_flexicontent/librairies/jquery/js/jquery-ui/jquery.ui.autocomplete.min.js" type="text/javascript"></script>

Thanks,

RObert

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

More
10 years 5 months ago #52159 by ggppdk
Replied by ggppdk on topic FLEXIcontent adds .js
Hello

in component parameters

inside 1st TAB

set the "load jQuery" parameter

to "manually in frontend"

-- but you should make sure that you load these wherever needed,
e.g. item form needs them
e.g. text search / filtering form

in short check to see if something is broken


-- 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.

More
10 years 5 months ago #52164 by iamrobert
Replied by iamrobert on topic FLEXIcontent adds .js
Thanks - I will test...

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

More
10 years 5 months ago #52191 by iamrobert
Replied by iamrobert on topic FLEXIcontent adds .js
Hi GPPK,

Sorry - I have it set to manually but its still loading.

Infact I have always had it set manually.

[attachment=0:2c8ul43f]<!-- ia0 -->download (1).png<!-- ia0 -->[/attachment:2c8ul43f]

So has something changed in the update?

I have enabled JS/CSS control:
https://joomla-extensions.kubik-rubik.d ... ss-control
to block them.
Attachments:

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

More
10 years 5 months ago #52192 by ggppdk
Replied by ggppdk on topic FLEXIcontent adds .js
Hello


Yes, there is 1 place in the frontend code,
that load jQuery without checking the parameter


-- find this inside file:
components/com_flexicontent/controller.php
Code:
// Load jquery Framework flexicontent_html::loadJQuery();
replace with code that uses the "Load jQuery" component parameter:
Code:
// Load jquery Framework flexicontent_html::loadFramework('jQuery');


-- 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.331 seconds
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
Save