(2015-06-04, 23:47:20)shawn_a Wrote: Yeah but its not supported outside of plugins... so as with any feature/bug it can break at anytime.
disclaimer: I do this all the time as well, even inside components with my hook_component plugin
At some point I would like to engineer these things into themes, as well as ability to register plugins, components, and assets.
The problem with this, is what happens when a plugin is already queueing core jquery or jqueryui on front end.
queue_script('jquery', GSFRONT);
Yikes!! Ok so for now I will only include in something like header.inc.php
Thanks for the heads up! So far nothing is broken but you are right what if a plugin I need to use is queueing it!
I forgot to add this in my post but I am plugging into the global vars something like this: I dont know where I got it LOL.
I know just enough to be dangerous
global $SITEURL;
global $TEMPLATE;