Answer:"Because they found Opera."
The more I know, the more I know that I really didn't wanna know.
| |
|
| Stats | |
| Goal: | $100.00 |
| Due Date: | Jun 30 |
| Gross Amount: | $25.00 |
| Net Balance: | $23.57 |
| Left to go: | $76.43 |
|
|
|
| Donations | |
| Anonymous ($15)Jun-14 | |
| Anonymous ($10)Jun-10 | |

/class/theme.php
--------------------
function xoInit($options = array()){
.....
$GLOBALS['xoopsTpl'] =& $this->template;
//to control order of loading JS and CSS
if (file_exists($this->path ."/theme_onload.php"))
include_once($this->path ."/theme_onload.php");
-------------
/themes/(thetheme)/theme_onload.php
-------
<?
global $xoTheme;
$xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js');
$xoTheme->addScript('browse.php?Frameworks/jquery/ui/jquery.ui.core.js');
$xoTheme->addScript('browse.php?Frameworks/jquery/ui/jquery.ui.draggable.js');
$xoTheme->addScript('browse.php?Frameworks/jquery/ui/jquery.ui.resizable.js');
$xoTheme->addScript('browse.php?Frameworks/jquery/jquery.metadata.js');
$xoTheme->addScript('browse.php?Frameworks/jquery/styleswitch.js');
$xoTheme->addScript('browse.php?Frameworks/jquery/jquery.hoverIntent.js');
$xoTheme->addScript('browse.php?Frameworks/jquery/mbTooltip.js');
$xoTheme->addStyleSheet('xoops.css');
$xoTheme->addStyleSheet('css/smoothness/jquery-ui-1.8.5.custom.css');
$xoTheme->addStyleSheet('css/style.css');
$xoTheme->addScript('browse.php?Frameworks/jquery/mbMenu.js');
$xoTheme->addStyleSheet('css/menu_style.css');
// by the way we can charge some script only for 1 module
if ($GLOBALS['xoopsModule']->getVar('dirname')=="newbb"){
$xoTheme->addScript('browse.php?Frameworks/jquery/mbContainer.js');
$xoTheme->addStyleSheet('css/menu_red.css');
$xoTheme->addStyleSheet('css/mbContainer.css');
}
?>
Mamba wrote:
Quote:im using a working copy of the amevents module..
Which version? This one seems to be outdated.
Where can we download it?
Answer:"Because they found Opera."
could you send this very small hack to the core team
its my own hacked version..its working ok in 2.5.3 and 2.5.4 but not in 2.5.5
Warning: fopen(/xoops_lib/modules/protector/configs/configcache1033e7): failed to open stream: Permission denied in file /xoops_lib/modules/protector/class/protector.php line 144
Warning: fwrite() expects parameter 1 to be resource, boolean given in file /xoops_lib/modules/protector/class/protector.php line 145
Warning: fclose() expects parameter 1 to be resource, boolean given in file /xoops_lib/modules/protector/class/protector.php line 146
Cesag
Cesag