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:
<!-- RMV: added module header -->
<{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!


















