code non vérifié et valable uniquement pour les versions de xoops avec framework/plugins/jquery
dans theme.html, mettre
<{php}>
/** add JQuery and JQuery UI */
global $xoTheme;
$xoTheme->addScript("browse.php?Frameworks/jquery/jquery.js");
$xoTheme->addScript("browse.php?Frameworks/jquery/plugins/jquery.ui.js");
$this->assign('xoops_module_header', $xoTheme->renderMetas(null, true));
<{/php}>
et modifier le fichier script.quelquechose du thème, par :
<{if (isset($ixt_jsenable) && !($ixt_jsenable == "no"))}>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.preloader.js" charset="utf-8"></script>
<{if isset($ixt_slides) && !(($ixt_slides == "") || ($ixt_slides == "no"))}>
<{if (($ixt_slidertip == "malsup") || ($ixt_slidertip == "ixt47"))}>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.cycle.all.min.js" charset="utf-8"></script>
<{elseif (($ixt_slidertip == "nivo") || ($ixt_slidertip == "ixt48"))}>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.nivo.slider.js" charset="utf-8"></script>
<{elseif (($ixt_slidertip == "coin") || ($ixt_slidertip == "ixt49"))}>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.coin.slider.js" charset="utf-8"></script>
<{elseif (($ixt_slidertip == "3dround") || ($ixt_slidertip == "ixt50"))}>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.round.slider.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.easing.1.3.js" charset="utf-8"></script>
<{elseif (($ixt_slidertip == "orbit") || ($ixt_slidertip == "ixt51"))}>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.orbit.slider.js" charset="utf-8"></script>
<{elseif (($ixt_slidertip == "roundabout") || ($ixt_slidertip == "ixt52"))}>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.roundabout.slider.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.roundabout-shapes.min.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.easing.1.3.js" charset="utf-8"></script>
<{elseif (($ixt_slidertip == "serie3") || ($ixt_slidertip == "ixt53"))}>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.s3.slider.js" charset="utf-8"></script>
<{elseif (($ixt_slidertip == "anything") || ($ixt_slidertip == "ixt54"))}>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.anything.slider.js" charset="utf-8"></script>
<{elseif ($ixt_slidertip == "all")}>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.cycle.all.min.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.nivo.slider.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.coin.slider.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.round.slider.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.orbit.slider.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.roundabout.slider.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.roundabout-shapes.min.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.easing.1.3.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.s3.slider.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.anything.slider.js" charset="utf-8"></script>
<{/if}>
<{/if}>
<script type="text/javascript" charset="utf-8">
var blcon='<{$ixt_blconcat}>';var canleft='<{$ixt_canvas_left}>';var canright='<{$ixt_canvas_right}>';var w0='<{$ixt_w0}>';var w1='<{$ixt_w1}>';var w2='<{$ixt_w2}>';var ixttheme='<{$theme}>';var uitheme='<{$ixt_uitheme}>';var vixtbkgcolor='<{$ixt_bkgcolor}>';var vixtsbheaderscolor='<{$ixt_sbheaderscolor}>';var vixtcontentcolor='<{$ixt_contentcolor}>';var vixtconheaderscolor='<{$ixt_conheaderscolor}>';var vixtwidheaderscolor='<{$ixt_widheaderscolor}>';var vixteftheaderscolor='<{$ixt_eftheaderscolor}>';var ixturl='<{$ixt_url}>';
</script>
<{if (isset($ixt_ctrl2) && ($ixt_ctrl2 == "yes"))}>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/init.control.min.pack.js" charset="utf-8"></script>
<{/if}>
<{if (isset($ixt_ctrl3) && ($ixt_ctrl3 == "yes") && !(($ixt_ctrl0 == "yes") && ($ixt_isadmin == "yes")))}>
<link rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/css/colorpicker.css" type="text/css" media="screen" charset="utf-8" />
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/cufon.min.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.colorpicker.min.pack.js"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/init.chameleon.min.pack.js"></script>
<{/if}>
<{if (isset($ixt_ctrl4) && ($ixt_ctrl4 == "yes"))}>
<link rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/css/portlets.css" type="text/css" media="screen" charset="utf-8" />
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/init.portlets.min.pack.js"></script>
<{/if}>
<{if (isset($ixt_ctrl5) && ($ixt_ctrl5 == "yes"))}>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/cufon.min.js" charset="utf-8"></script>
<{if ($ixt_langcode == "english") || ($ixt_langcode == "en") || ($ixt_langcode == "pt_br") || ($ixt_langcode == "fr") || ($ixt_langcode == "de") || ($ixt_langcode == "it") || ($ixt_langcode == "es") || ($ixt_langcode == "ru")}>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/Candara_400.font.js" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
Cufon.set('fontFamily', 'Candara');
Cufon.replace('h1:not(.nocufon),h2:not(.nocufon),h3:not(.nocufon),h4:not(.nocufon),h5,h6,table th');
Cufon.replace('#usermenu a, #mainmenu a', { hover: true });
Cufon.replace('a.ixt-button:not(.nocufon)', { hover: true });
Cufon.replace('.ixt-vmenu li a,.ixt-vmenu ul a, .ixt-vmenu ul span, .ixt-vmenu ul span span', { hover: true });
Cufon.replace('.ixt-menu ul a, .ixt-menu ul span, .ixt-menu ul span span', { hover: true });
Cufon.replace('ul.ixt-menu a', { hover: false });
Cufon.replace('.ixt-menu .t', { textShadow: '0px 1px 0px #666' });
</script>
<{/if}>
<{/if}>
<link rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/css/prettyPhoto.css" type="text/css" media="screen" charset="utf-8" />
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.prettyPhoto.js" charset="utf-8"></script>
<{if !((isset($ixt_ctrl7) && ($ixt_ctrl7 == "yes")))}>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery-ui.min.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.scrollTo.min.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.tools.min.pack.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.cookie.min.pack.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.jtweetsanywhere.min.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/script.min.pack.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/init.pretty.js" charset="utf-8"></script>
<{/if}>
<{if (isset($ixt_ctrl8) && ($ixt_ctrl8 == "yes"))}>
<link title="<{$ixt_uitheme}>" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/<{$ixt_uitheme}>/jquery.ui.all.css" media="screen" type="text/css" />
<!--script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery-ui.min.js" charset="utf-8"></script-->
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/init.portlets.min.pack.js"></script>
<{/if}>
<{if (isset($ixt_ctrl0) && ($ixt_ctrl0 == "yes") && ($ixt_isadmin == "yes"))}>
<link rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/css/cpanel.css" type="text/css" media="screen" charset="utf-8" />
<{* load all UI css *}>
<link title="base" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/base/jquery.ui.all.css" media="screen" type="text/css" />
<link title="le-frog" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/le-frog/jquery.ui.all.css" media="screen" type="text/css" />
<link title="ui-darkness" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/ui-darkness/jquery.ui.all.css" media="screen" type="text/css" />
<link title="mint-choc" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/mint-choc/jquery.ui.all.css" media="screen" type="text/css" />
<link title="dark-hive" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/dark-hive/jquery.ui.all.css" media="screen" type="text/css" />
<link title="swanky-purse" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/swanky-purse/jquery.ui.all.css" media="screen" type="text/css" />
<link title="dot-luv" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/dot-luv/jquery.ui.all.css" media="screen" type="text/css" />
<link title="redmond" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/redmond/jquery.ui.all.css" media="screen" type="text/css" />
<link title="sunny" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/sunny/jquery.ui.all.css" media="screen" type="text/css" />
<link title="cupertino" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/cupertino/jquery.ui.all.css" media="screen" type="text/css" />
<link title="vader" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/vader/jquery.ui.all.css" media="screen" type="text/css" />
<link title="black-tie" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/black-tie/jquery.ui.all.css" media="screen" type="text/css" />
<link title="humanity" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/humanity/jquery.ui.all.css" media="screen" type="text/css" />
<link title="excite-bike" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/excite-bike/jquery.ui.all.css" media="screen" type="text/css" />
<link title="flick" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/flick/jquery.ui.all.css" media="screen" type="text/css" />
<link title="hot-sneaks" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/hot-sneaks/jquery.ui.all.css" media="screen" type="text/css" />
<link title="overcast" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/overcast/jquery.ui.all.css" media="screen" type="text/css" />
<link title="blitzer" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/blitzer/jquery.ui.all.css" media="screen" type="text/css" />
<link title="eggplant" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/eggplant/jquery.ui.all.css" media="screen" type="text/css" />
<link title="pepper-grinder" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/pepper-grinder/jquery.ui.all.css" media="screen" type="text/css" />
<link title="smoothness" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/smoothness/jquery.ui.all.css" media="screen" type="text/css" />
<link title="south-street" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/south-street/jquery.ui.all.css" media="screen" type="text/css" />
<link title="trontastic" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/trontastic/jquery.ui.all.css" media="screen" type="text/css" />
<link title="ui-lightness" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/ui-lightness/jquery.ui.all.css" media="screen" type="text/css" />
<link title="start" rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/cpanel/themes/start/jquery.ui.all.css" media="screen" type="text/css" />
<link rel="stylesheet" href="<{$ixt_url}>/themes/<{$theme}>/css/colorpicker.css" type="text/css" media="screen" charset="utf-8" />
<!--script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery-ui.min.js" charset="utf-8"></script-->
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/init.styleswitcher.min.pack.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.splitter.min.pack.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/jquery.colorpicker.min.pack.js"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/init.cpanel.min.pack.js" charset="utf-8"></script>
<script type="text/javascript" src="<{$ixt_url}>/themes/<{$theme}>/js/init.droparea.min.pack.js" charset="utf-8"></script>
<style type="text/css" media="print">#ixt-cpanel {display:none;}</style>
<script type="text/javascript">
jQuery.noConflict();
jQuery().ready(function() {
jQuery("#ixt-splitter").splitter({type: "h", sizeTop: true});
});
</script>
<{/if}>
<{/if}>