Download & Extend

drupal_add_effect() to use basic jQuery UI effects from PHP (without JS)

Project:Drupal core
Version:8.x-dev
Component:base system
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I've spoken with sun, RobLoach, catch and webchick on IRC #drupal-contribute and - if I'm not mistaken - there was a accordance to that we actually need at least 3 issues/solutions to solve issues like #87994: Quit clobbering people's work when they click the filter tips link

... the one which already exists (link above) to approve that we can access any handler successfully to change filter tips link behaviour, another one (this here) to extract that drupal_add_effect() handler code arosed over there in the other issue, to have it understood as an own task for many use-cases and ... (not sure about that) maybe other handlers as own issues (?) or all together with this one here, since we can see it as one handler with 3 or more options to choose from.

Why I choose theme system first, can be read here http://drupal.org/node/87994#comment-5459474. I could think of them being available as checkboxes in appearance/YOURTHEME/settings defaults. But maybe it is better to have them as checkboxes on the content type creation/edit dialogs. Not sure about that. Maybe this needs to be discussed. Feel free to correct my choice.

And a third one for jQuery UI version 1.9 and higher to make sure that we can use all improvements from jQuery's next big releases. The issue also already exists here -> #1085590: Update jQuery UI to the latest in the git repository

I will reroll the patch from #87994 against core regarding to this issue here to start from there. Credits for the patch go to the contributers in the #87994 issue, not to me.

(I also would like to have an opinion from core maintainers like chx in connection with the cleaning initiative and its reasonable priority, if it is possible to have it backported in D7 to get rid off the filter tip link disaster)

Comments

#1

Title:Adding drupal_add_effect() handler to theme system as option for cases like the filter tips link issue» Adding drupal_add_effect() handler as option for issues like the filter tips link behaviour

Changing title, since it needs discussion about that. I am not familiar with it.

#2

Title:Adding drupal_add_effect() handler as option for issues like the filter tips link behaviour» drupal_add_effect() to use basic jQuery UI effects from PHP (without JS)
Component:theme system» base system
Category:task» feature request

#3

thanks sun!

nobody click here