Trying to load the .js's

5 views
Skip to first unread message

Javier Garcia

unread,
May 24, 2010, 2:45:10 PM5/24/10
to sfJqueryReloadedPlugin
Hi,

i have just installed this plugin through plugin:install (cc and
plugin-publish) and then i have added this line in my file:

<?php use_javascript('jquery-ui-1.7.2.custom.min')?>

But the .js is not loaded, any help?

Javi

Tom Boutell

unread,
May 26, 2010, 7:24:42 AM5/26/10
to sfjqueryrel...@googlegroups.com
The appropriate version will load automatically when and if you use the helper.

Your use_javascript statement could work if you gave the right path,
which is probably sfJqueryReloadedPlugin/js/jquery-ui-1.7.2.custom.min
(off the top of my head), but if you just want to load jQuery and
don't care about the helpers, you'd be better off adding the regular
jQuery distribution to your project.

--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com

Reply all
Reply to author
Forward
0 new messages