Or - load your jquery with the normal html tag and not the helper and
reserve your use of the helper to include scripts that are strictly on
a controller/action/view basis.
Then your jquery can be the very first thing loaded always - also you
could modify the helper by passing in a configurable list of script
names or regular expressions to check against so you could whitelist
or blacklist certain scripts from even being includable (if you
include jquery manually, and have a blacklist including a regex that
catches the jquery filename you can make the helper simply refuse to
output that script tag )

On Dec 8, 9:47 pm, Benjam Welker <benjamwel...@gmail.com> wrote:
> It also seems that scripts added in the default layout or through elements
> that are included in the default layout don't have their scripts added to
> the queue at all.
>
> I was going to try adding all the default scripts in via an element, but
> they just get ignored.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to