Get rid of mootools

More
10 years 5 months ago #48187 by skulditsky
It is very strange when site uses both mootools and jQuery. As you know, Joomla will deprecate using of mootools library, and someone (like me) who write own templates and frontend functionality already doesn't use mootools. But with flexicontent I still have mootools in my code.
Please, move on and completely refuse mootools in future versions.

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

More
10 years 5 months ago #48188 by micker
Replied by micker on topic Get rid of mootools
it's on road ;)

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
10 years 5 months ago #48229 by ggppdk
Replied by ggppdk on topic Get rid of mootools
Hello

with every update we are try to remove more and more mootools code, maybe this will be completed in v2.3.0


-- 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
9 years 9 months ago #52791 by pipedream
Replied by pipedream on topic Get rid of mootools
Hi,

Thanks for making FlexiContent available, I'm new to it and hope to use it more often.

Nevertheless, I became a little frustrated by realizing that FlexiContent still forces MooTools to be loaded in certain circumstances, even when there is apparently no need for it.

So I decided to see if it was possible to lighten the site by removing whatever forces MooTools to be loaded and finally got it by doing the following:

1) Unpublishing the items Voting and Favourites;
2) In fields of Image type, disable the Add JS Gallery option;

I think that while FlexiContent and/or Joomla still uses MooTools, you could list in your FAQ these and other ideas that prevent it to be loaded, since the site speed is a very important metric.

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

More
9 years 9 months ago #52793 by ggppdk
Replied by ggppdk on topic Get rid of mootools
Hello

if your website is new, try v3Beta3 or later:
github.com/FLEXIcontent/flexicontent-cck

it uses less mootools,
e.g. removed from almost all fields code, except minigallery

but mootools need to be loaded before jQuery,

we cannot load jQuery and decide later to load mootools, we could have a "flag" to decide loading it at the end of PHP code execution, but that does not guarantee that mootools code will not be in the page, doing this now will only cause problems

in every chance we are replacing mootools JS code, but in v3Beta, it is almost always loaded before 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.

More
9 years 9 months ago #52797 by pipedream
Replied by pipedream on topic Get rid of mootools
Thanks, I will try v3.

However I'm not sure if I understand what you mean with the order of loading MooTools.

By disabling some things that I didn't need, I was able to completely get rid of MooTools, which is my main focus. But I understood that in v3 MooTools will only be loaded if one uses the minigallery, right?

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.400 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