Is that a known problem from IE??? What must I do to fixed this?
First of all I LOVE this plugin and as far as I’m concerned something like this should be a part of ModX core. I’ve done ModX training sessions now for a number of months and people who are not computer savvy get confused over a number things. As a developer, having the ability to customize the way the manager works and looks is vital to making ModX sites a success. Excellent job!!
It would be awesome if there was some way of having a user interface for this. It’s been a bit of a bear getting the code to do exactly as it should. Also I haven’t been able to move rich text TVs to other tabs yet. Is there a solution for this?
Anyway, thanks for a great contribute to making ModX even better.
setVariableModified is not defined http://www.domain.com/manager/index.php?a=27&id=68&r=1&stay=2 Line 828
ManagerManager - OnPluginFormPrerender An error occurred while loading. Please see the event log for more information. Warning: include(assets/plugins/managermanager/mm_functions.inc.php) [function.include]: failed to open stream: No such file or directory in /home/yoga/public_html/manager/includes/document.parser.class.inc.php(745) : eval()'d code on line 82 Warning: include(assets/plugins/managermanager/mm_functions.inc.php) [function.include]: failed to open stream: No such file or directory in /home/yoga/public_html/manager/includes/document.parser.class.inc.php(745) : eval()'d code on line 82 Warning: include() [function.include]: Failed opening 'assets/plugins/managermanager/mm_functions.inc.php' for inclusion (include_path='/home/yoga/public_html/manager/includes/') in /home/yoga/public_html/manager/includes/document.parser.class.inc.php(745) : eval()'d code on line 82 Warning: include(assets/plugins/managermanager/mm.inc.php) [function.include]: failed to open stream: No such file or directory in /home/yoga/public_html/manager/includes/document.parser.class.inc.php(745) : eval()'d code on line 92 Warning: include(assets/plugins/managermanager/mm.inc.php) [function.include]: failed to open stream: No such file or directory in /home/yoga/public_html/manager/includes/document.parser.class.inc.php(745) : eval()'d code on line 92 Warning: include() [function.include]: Failed opening 'assets/plugins/managermanager/mm.inc.php' for inclusion (include_path='/home/yoga/public_html/manager/includes/') in /home/yoga/public_html/manager/includes/document.parser.class.inc.php(745) : eval()'d code on line 92
$modx->config['rb_base_dir'].
$modx->config['rb_base_dir'].
"/home/yoga/public_html/assets/plugins/managermanager/mm.inc.php"
$modx->config['rb_base_dir'].
Replace that exact bit of code with your path (in quotes) - e.g. something like
"/home/yoga/public_html/assets/plugins/managermanager/mm.inc.php"
Sounds like something MM should be checking for. I’ll take a look.
First: Great Plugin.
Second: I found an error, but maybe it is not a ManagerManager Error but more a core Error.
On pluginRender functionality a tab is added.
the following javascript code is added by the call to mm_createTab(..) made by mm.inc.php
// ----------- Create tab --------------
495$(’div#’+mm_lastTab).after(’<div class="tab-page" id="tabrolestemplates"><h2 class="tab">Roles & Templates</h2><div class="tabIn....
In the case that one of your template description contains the char ’
an javascript error occurs. This symbol ’ indicated the end of the parameter of the after js method, and the navigator wait for the ) after.
But i think that the error is that in description, such kind of char should be replace by their html entities.
No ?
Maybe it is a modx core error, but maybe the managermanager code should also check if they are no the char ’ in template description....
Fabien
$template_table .= '<td class="'.$class.'">'.$tpl['templatename'].'</td>'; $template_table .= '<td class="'.$class.'">'.$tpl['description'].'</td>';
$template_table .= '<td class="'.$class.'">'.htmlentities($tpl['templatename'], ENT_QUOTES, $modx->config['modx_charset']).'</td>'; $template_table .= '<td class="'.$class.'">'.htmlentities($tpl['description'], ENT_QUOTES, $modx->config['modx_charset']).'</td>';
$roles_table .= '<td class="'.$class.'">'.$role['name'].'</td>';
$roles_table .= '<td class="'.$class.'">'.htmlentities($role['name'], ENT_QUOTES, $modx->config['modx_charset']).'</td>';
This discussion is closed to further replies. Keep calm and carry on.