We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21056
    • 327 Posts
    Quote from: MatHen at May 20, 1970, 04:19 PM

    Is that a known problem from IE??? What must I do to fixed this?

    Not a problem I’m aware of, but have you tried removing the HTML from the tag title? This is passed to javascript functions which may not be escaping it properly (as it was designed to only handle text)
      Author: ManagerManager plugin - customise your ModX manager interface

      Rckt - web development, Sheffield, UK
      • 473
      • 70 Posts
      Quote from: scottishbullet at Apr 11, 2008, 01:01 PM


      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.

      I agree with you, i hope this plugin should be a part of MODx core in the next version. Very useful wink
        • 34017
        • 898 Posts
        I am getting an error with the delicious like tag editor. I’ve searched around and dont have an idea how to fix it. The error is:
        setVariableModified is not defined
        http://www.domain.com/manager/index.php?a=27&id=68&r=1&stay=2
        Line 828
        


        I think this code was taken out of .96 and Ive tried both the latest stable and the svn. Im running LAMP stack and tested in Mac FF2, Safari 3, XP ie7 and XP FF2

        Well that was an easy fix. I commented out setVariableModified(tagEntryField);
          Chuck the Trukk
          ProWebscape.com :: Nashville-WebDesign.com
          - - - - - - - -
          What are TV's? Here's some info below.
          http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
          http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
          • 30497
          • 245 Posts
          I have just moved MODx to a remote server, and I am now getting a ManagerManager error:

          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
          


          I did see earlier in this thread some people mention similar problems, and its relation to setting the resource path. However, I am running 2 plugins on this installation, PHx and ManagerManager, and changing my Resource path "assets/" causes PHx to not work, and doesn’t solve the ManagerManager problem either.

          I have checked the System Events settings are correct.

          I saw someone earlier in this thread solved the problem by writing the absolute path to "mm.inc.php", but I am not sure how to do that exactly with the preceding...
          $modx->config['rb_base_dir'].
          .

          How should I troubleshoot this, or write an absolute path to the file?
            • 21056
            • 327 Posts
            $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"



              Author: ManagerManager plugin - customise your ModX manager interface

              Rckt - web development, Sheffield, UK
              • 30497
              • 245 Posts
              Quote from: ncrossland at May 07, 2008, 10:36 AM

              $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"





              thx, that solved it - not sure why it is happening in the first place though.
                • 30481
                • 33 Posts
                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 &amp; 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

                  -------------------------------
                  www.fabienletort.com
                  • 21056
                  • 327 Posts
                  Quote from: totor at May 15, 2008, 05:03 PM

                  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 &amp; 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


                  Sounds like something MM should be checking for. I’ll take a look.
                    Author: ManagerManager plugin - customise your ModX manager interface

                    Rckt - web development, Sheffield, UK
                    • 21056
                    • 327 Posts
                    Can you try the following:

                    In mm.inc.php, around line 110/111, change:

                    $template_table .= '<td class="'.$class.'">'.$tpl['templatename'].'</td>';
                    $template_table .= '<td class="'.$class.'">'.$tpl['description'].'</td>';


                    to

                    $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>';


                    and around line 126, change:

                    $roles_table .= '<td class="'.$class.'">'.$role['name'].'</td>';


                    to

                    $roles_table .= '<td class="'.$class.'">'.htmlentities($role['name'], ENT_QUOTES, $modx->config['modx_charset']).'</td>';


                    Let me know if that fixes things...
                      Author: ManagerManager plugin - customise your ModX manager interface

                      Rckt - web development, Sheffield, UK
                      • 30481
                      • 33 Posts
                      That’s easy and ok ! smiley

                      Thanks
                        -------------------------------
                        www.fabienletort.com

                      This discussion is closed to further replies. Keep calm and carry on.