xoops forums

loukaum

Just popping in
Posted on: 2011/11/18 23:02
loukaum
loukaum (Show more)
Just popping in
Posts: 93
Since: 2003/11/2
#1

Inserting Jquery plugins in my module

Hello all,

When I want to add a specific stylesheet for my module I use:

$xoTheme->addStylesheet XOOPS_URL '/modules/' $xoopsModule->getVar("dirname") . '/css/style.css' );


Is there a similar solution in order to add some jquery plugins and some code to the head section when load that module?
Resized Image

kris_fr

Theme Designer
Posted on: 2011/11/18 23:07
kris_fr
kris_fr (Show more)
Theme Designer
Posts: 1009
Since: 2005/12/31
#2

Re: Inserting Jquery plugins in my module

hi,

lines 23, 44 and 45 -> http://xoofoo.svn.sourceforge.net/vie ... ?revision=531&view=markup

loukaum

Just popping in
Posted on: 2011/11/18 23:22
loukaum
loukaum (Show more)
Just popping in
Posts: 93
Since: 2003/11/2
#3

Re: Inserting Jquery plugins in my module

Thank you kris_fr!
Resized Image