1
If you want to add scripts or stylesheets in your theme do not hardcoded them in the header.
Hardcoding it will probably cause duplication if some other module include the same file.
The solution is using Xoops API that already handles duplicate files.
So instead of just using <{$xoops_module_header}> ,you need to do the following:
<{php}>
global $xoTheme;
$xoTheme->addScript('http://yoursite.com/somescript.js');
$xoTheme->addStyleSheet('http://yoursite.com/somesstyle.css');
$this->assign('xoops_module_header', $xoTheme->renderMetas(null, true));
<{/php}>
<{$xoops_module_header}>
Have fun!