[themes] How to include and use jquery plugin in my theme

Massimiliano Marini max.linuxtime at gmail.com
Wed Aug 20 23:50:42 UTC 2008


> As soon as you add a JS file with that function, jQuery gets added
> automatically.

where I must wrote drupal_add_js?

I've tried into my page.tpl.php

example: <?php drupal_add_js('scripts/jquery.corner.js') ?>

but it doesn't work ... why? Where I'm in error?

-- 
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
"It's easier to invent the future than to predict it." -- Alan Kay


More information about the themes mailing list