[Proposal] Add more jQuery UI plugins

210 views
Skip to first unread message

Dmitry Rekun

unread,
Mar 5, 2014, 2:34:39 AM3/5/14
to joomla-...@googlegroups.com
Hi guys!

I wonder if there is any reason why we do not use all jQuery UI plugins? What do you think about adding more or even all of them? This would be great addition for the frontend developers.

Dmitry

Thomas Lang

unread,
Mar 5, 2014, 3:13:48 AM3/5/14
to joomla-...@googlegroups.com
+1

Are there any technical reasons why they are not included?
At least the widgets and effects modules would help out alot.

Viper

unread,
Mar 5, 2014, 3:34:59 AM3/5/14
to joomla-...@googlegroups.com
+1 Dmitry.
I think plugins should be separated from jqueryUI core, so end developers can use jqueryUI w/o their plugins(widgets, effects).

Daniele Rosario

unread,
Mar 5, 2014, 3:36:29 AM3/5/14
to joomla-...@googlegroups.com
Adding to this: what about managing these plugins (and others) like bower does?
So we can also manage dependencies and updates without doing that manually?


Daniele Rosario


--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send email to joomla-...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/groups/opt_out.

Dmitry Rekun

unread,
Mar 5, 2014, 4:38:43 AM3/5/14
to joomla-...@googlegroups.com
In the next major Joomla release, why not? ;)

Dmitry

Cliff Ford

unread,
Mar 5, 2014, 5:42:42 AM3/5/14
to joomla-...@googlegroups.com
At the moment a lot of core scripting is done in libraries, Squeezebox (Mootools) and Calendar widget initialisation come to mind. It would be nice if they could be moved to layouts.

Cliff
Message has been deleted

George Wilson

unread,
Mar 5, 2014, 6:43:47 AM3/5/14
to joomla-...@googlegroups.com
OK just wrote it out once but got the path wrong so here we go again :P

<layout plug>
Look at this set of PR's https://groups.google.com/d/msg/joomla-dev-cms/6_MzeyEZ0zQ/oFMeOZ8xzhkJ and this PR moving the majority of form fields into a PR: https://github.com/joomla/joomla-cms/pull/3231
</layout plug>

In terms of jQuery UI - I feel Joomla should only ship with elements it needs. The inclusion method allows the inclusion of any jQuery UI plugins (https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/html/jquery.php#L107) so all you would need to do is include them in your template in 'ROOT/templates/TEMPLATE/js/jui/jquery.ui.PLUGIN.min.js' then stuff the template is using is in the template :P Then the frontend dev's can choose their pace of upgrades as well rather than it being broken one day by a Joomla Update :P As we're moving towards a lighter Joomla I don't see what's wrong with this actually

Kind Regards,
George

Thomas Lang

unread,
Mar 5, 2014, 7:19:56 AM3/5/14
to joomla-...@googlegroups.com
of course including the missing jquery ui plugins isn't the problem.

But it would make the life so much easier when all developers have the same base and do not need to worry about multiple inclusion of the plugins by other extensions and thus breaking the own code.

Viper

unread,
Mar 5, 2014, 7:35:38 AM3/5/14
to joomla-...@googlegroups.com
How about backend developers? Store jqueryUI plugins in template folder imho bad idea.

Dmitry Rekun

unread,
Mar 5, 2014, 8:38:39 AM3/5/14
to joomla-...@googlegroups.com
Totally agree with Viper.

BTW George - jquery.ui method currently does not allow any plugin, because it has a restriction ;)

$supported = array('core', 'sortable');

Dmitry

George Wilson

unread,
Mar 5, 2014, 9:02:30 AM3/5/14
to joomla-...@googlegroups.com
Oops :p I fail the reading test :)

Dmitry Rekun

unread,
Mar 11, 2014, 5:56:31 AM3/11/14
to joomla-...@googlegroups.com
So... Anyone has something against? If no then we could start to make a PR for that :)

Dmitry

Viper

unread,
Mar 11, 2014, 5:04:29 PM3/11/14
to joomla-...@googlegroups.com
How about compatibility? Some of bootstrap plugins will conflict with jqueryUI plugins. At least 'button', 'tooltip'.

Youjoomla.com

unread,
Mar 11, 2014, 5:07:35 PM3/11/14
to joomla-...@googlegroups.com


--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send email to joomla-...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/d/optout.



--
Best Regards
Dan Casky
Youjoomla Customer Service
1670 Southgate Mill DR NW
Duluth ,GA
30096
-------------------------------
www.youjoomla.com
Professional Joomla Web Design Services

Youjoomla.com

unread,
Mar 11, 2014, 5:08:02 PM3/11/14
to joomla-...@googlegroups.com
Can be used for all conflicts with jq UI in same manner.

Youjoomla.com

unread,
Mar 11, 2014, 5:08:25 PM3/11/14
to joomla-...@googlegroups.com
And UI should be loaded before bootstrap.js

Viper

unread,
Mar 11, 2014, 5:22:32 PM3/11/14
to joomla-...@googlegroups.com, youjoo...@gmail.com
Thank you! Looks like a crutches but it works :)

Youjoomla.com

unread,
Mar 11, 2014, 5:31:53 PM3/11/14
to joomla-...@googlegroups.com

Youjoomla.com

unread,
Mar 11, 2014, 5:32:47 PM3/11/14
to joomla-...@googlegroups.com
SO 

var bootstrapButton = $.fn.button.noConflict(); 
$.fn.bootstrapBtn = bootstrapButton; 

var bootstrapTooltip = $.fn.tooltip.noConflict(); 

$.fn.bootstrapTlp = bootstrapTooltip;

why do I feel like spamming lol :) sorry . 

Viper

unread,
Mar 11, 2014, 5:50:42 PM3/11/14
to joomla-...@googlegroups.com, youjoo...@gmail.com
I've read github thread and I see that is a big BIG crutches.
I've test a widget.bridge and noconflict but it's works and not. Example. It's doesn't work wit the jqueryUI modal. Buttons still the same as the default(w/o any style). Some tooltips replaced by Bootstrap some not(w/ .hasTip class always 'Bootstraped')...

Dmitry Rekun

unread,
Mar 12, 2014, 3:04:01 AM3/12/14
to joomla-...@googlegroups.com, youjoo...@gmail.com
Can we identify UI plugins that does not have any conflict with the Bootstrap?

Dmitry
Reply all
Reply to author
Forward
0 new messages