7
A few weeks after my last post in this thread, I've solved the doubling of system messages by using the script from the suico theme. I used the script in theme.html:
le="color: #000000"><?php <{php}> /** add JQuery and JQuery UI */ global $xoTheme; $xoTheme->addScript("browse.php?Frameworks/jquery/jquery.js"); $header = empty($GLOBALS['xoopsOptions']['xoops_module_header']) ? $this->get_template_vars('xoops_module_header') : ($GLOBALS['xoopsOptions']['xoops_module_header']); $this->assign('xoops_module_header', $xoTheme->renderMetas(null, true) . $header); <{/php}>
This script results in the doubling of system messages (2 times "Thanks for logging in" etc.). I replaced this script with the script of the suico theme:
le="color: #000000"><?php <{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}>
Now the doubling has disappeared !
SMEDrieben