| Re: MyMenus 1.4 RC Ready for Testing on XOOPS 2.5.5 RC |
| by DCrussader on 2012/8/10 17:45:11 New test on new working environment: PHP 5.3.8 Apache 1.3.41 From administration, while creating new menu from Menus Manager (this is stupid Menus manager and Menu manager, see how is solved in the others CMS) - gives old legacy style - Database updated instead of new JQuery message. Access filter on the menu manager (which should be Menu Items, or Links Manager) need clarification, description field - what for is this access filter. ...and still wont show up. The damn block is visible only for Force users :) |
| Re: MyMenus 1.4 RC Ready for Testing on XOOPS 2.5.5 RC |
| by zyspec on 2012/8/7 13:48:07 If Wishcraft's code isn't included yet, and it's decided this fix should be included I'd recommend the code be simplified to: le="color: #000000"><?php if (!is_object($GLOBALS['xoopsModule']) || ($GLOBALS['xoopsModule']->getVar('dirname') != 'prochatrooms')) { $config = mymenus_getModuleConfig(); if ('xoopstpl' == $config['assign_method']) { $tpl_vars = ''; foreach ($css as $file) { $tpl_vars .= "n" . '<link rel="stylesheet" type="text/css" media="all" href="'. $file . '" />'; } foreach ($js as $file) { $tpl_vars .= "n" . '<script type="text/javascript" src="'. $file . '"></script>'; } if (isset($skin_info['header'])) { $tpl_vars .= "n" . $skin_info['header']; } $xoopsTpl->assign('xoops_module_header' , $tpl_vars . @$xoopsTpl->get_template_vars("xoops_module_header")); } else { foreach ($css as $file) { $xoTheme->addStylesheet($file); } foreach ($js as $file) { $xoTheme->addScript($file); } if (isset($skin_info['header'])) { $xoopsTpl->assign('xoops_footer' , @$xoopsTpl->get_template_vars("xoops_footer") . "n" . $skin_info['header']); } } } Of course the code above can't be use 'as-is' since this forum's textsanitizer stripped out the '\' from all of the "n" instances in the code above
|
| Re: MyMenus 1.4 RC Ready for Testing on XOOPS 2.5.5 RC |
| by DCrussader on 2012/8/7 13:19:11 Does latest patch by Wishcraft is included in this release ? Removed invalid intervals from english language files http://www.uploading.to/nl56zswpyfc1 Remove outdated translations and use from this thread TX Task - https://www.transifex.com/projects/p/xoops-mods-i18n/r/mymenus14f/ es-ES http://www.uploading.to/ffrsbtd826ig fr-FR http://www.uploading.to/xi7v0t9jef7p pt-BR http://www.uploading.to/7oldpvvt6pu5 |
| Re: MyMenus 1.4 RC AND Prochatrooms for XOOPS 1.13 |
| by wishcraft on 2012/6/20 3:18:59 Notably there is a problem with the javascript causing an endless loop in prochatrooms the stuHover and another one. I have altered /blocks/mymenus_blocks.php to suit the support for prochatrooms running in conjunction with mymenus as it doesn't run without. Lines 60 - 160 has to read the following for mymenus_blocks.php le="color: #000000"><?php if (is_object($GLOBALS['xoopsModule'])) { if ($GLOBALS['xoopsModule']->getVar('dirname') != 'prochatrooms') { $config = mymenus_getModuleConfig(); if ($config['assign_method'] == 'xoopstpl') { $tpl_vars = ''; foreach ($css as $file) { $tpl_vars .= "n" . '<link rel="stylesheet" type="text/css" media="all" href="'. $file . '" />'; } foreach ($js as $file) { $tpl_vars .= "n" . '<script type="text/javascript" src="'. $file . '"></script>'; } if (isset($skin_info['header'])) { $tpl_vars .= "n" . $skin_info['header']; } $xoopsTpl->assign('xoops_module_header' , $tpl_vars . @$xoopsTpl->get_template_vars("xoops_module_header")); } else { foreach ($css as $file) { $xoTheme->addStylesheet($file); } foreach ($js as $file) { $xoTheme->addScript($file); } if (isset($skin_info['header'])) { $xoopsTpl->assign('xoops_footer' , @$xoopsTpl->get_template_vars("xoops_footer") . "n" . $skin_info['header']); } } } } else { $config = mymenus_getModuleConfig(); if ($config['assign_method'] == 'xoopstpl') { $tpl_vars = ''; foreach ($css as $file) { $tpl_vars .= "n" . '<link rel="stylesheet" type="text/css" media="all" href="'. $file . '" />'; } foreach ($js as $file) { $tpl_vars .= "n" . '<script type="text/javascript" src="'. $file . '"></script>'; } if (isset($skin_info['header'])) { $tpl_vars .= "n" . $skin_info['header']; } $xoopsTpl->assign('xoops_module_header' , $tpl_vars . @$xoopsTpl->get_template_vars("xoops_module_header")); } else { foreach ($css as $file) { $xoTheme->addStylesheet($file); } foreach ($js as $file) { $xoTheme->addScript($file); } if (isset($skin_info['header'])) { $xoopsTpl->assign('xoops_footer' , @$xoopsTpl->get_template_vars("xoops_footer") . "n" . $skin_info['header']); } } } thanks care of http://www.communication.org.au and David Sless. |
| Re: MyMenus 1.4 RC Ready for Testing on XOOPS 2.5.5 RC |
| by Mamba on 2012/6/18 20:50:20 I've tried on couple more Websites, and I don't have any issues with the block. Just make sure that in the Block settings under "Display method", you have selected "Display this block". |