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: Metaller at May 30, 2008, 05:46 AM

    About 6th parameter, it seems that it was my mistake and i look in my own source code.

    But about this idea, i mean that when user creating or editing document, it always placed in a "news" folder. Why this function needed to work when document edited? Because user can take any of existing document and change their template to "news". In that case we must place this doc to "news" folder too.

    As long as the default is Add only, this should not be a problem.
      Author: ManagerManager plugin - customise your ModX manager interface

      Rckt - web development, Sheffield, UK
      • 19164
      • 1,215 Posts
      Not sure that understand you. What will happen with random document when we change their template to "news"? Is their parent changed to "news" folder when saving?

      Or may be you mean that we can hide news template, and user cant to set news template to any document. But child documents of news folder will be inherit parent "news" template.
        DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. | DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.

        Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.

        [PLUGIN] DirectResize - as Maxigallery but for single images :: Download :: [url=http://modxcms.com/forums/index.php/topic,21490]
        • 21056
        • 327 Posts
        Quote from: Metaller at May 30, 2008, 06:29 AM

        Or may be you mean that we can hide news template, and user cant to set news template to any document. But child documents of news folder will be inherit parent "news" template.
        Is this what you want to do?
          Author: ManagerManager plugin - customise your ModX manager interface

          Rckt - web development, Sheffield, UK
          • 21257 MODX Staff
          • 730 Posts
          Quote from: ncrossland at May 30, 2008, 03:26 AM

          Quote from: netProphET at May 29, 2008, 12:13 PM

          Correction:
          Just a little note for documentation for the next release - the document field show_in_menu does not seem to exist - I am using hidemenu instead.


          For which function does it not work (it works for some, e.g. mm_default) ?

          Oops. I didn’t think to check all the functions. I only found that issue with mm_hideFields.
            Mike Schell
            Lead Developer, MODX Cloud
            Email: [email protected]
            GitHub: https://github.com/netProphET/
            Twitter: @mkschell
            • 19164
            • 1,215 Posts
            Quote from: ncrossland at May 30, 2008, 06:42 AM

            Is this what you want to do?

            Yes. I don’t need this function right now, but i think it will be useful in future.
              DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. | DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.

              Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.

              [PLUGIN] DirectResize - as Maxigallery but for single images :: Download :: [url=http://modxcms.com/forums/index.php/topic,21490]
              • 18367
              • 834 Posts
              Quote from: Sylvaticus at May 29, 2008, 10:58 AM

              As I recently learnd for my self, everything is in the ManagerManager-plugin. Open the managerManager-plugin, and see the examples in the general-tab. Some of the explanations you can find in earlier post here, specially about the numbers $news = ’3’;, and $news_tpl = ’10’;.

              Therein lies the problem.

              As I said earlier, when I install MM I get nothing IE: No tabs or anything.

              if you’ve installed MM correctly, there should be a new tab when you edit the MM plugin, which lists all your role and template IDs

              So, no tabs or anything to chose from.

              I’m still in the dark as to how to get anything showing up, let alone working.
                Content Creator and Copywriter
                • 21056
                • 327 Posts
                Have you:
                1) Created a new plugin, and copied the content of plugin.txt into it?
                2) Ticked all the events for the plugin?
                3) Copied and uploaded all the files into the appropriate place in the /assets folder?

                Are you getting any errors in your Reports -> System Logs report?
                  Author: ManagerManager plugin - customise your ModX manager interface

                  Rckt - web development, Sheffield, UK
                  • 8894
                  • 114 Posts
                  Hello ncrossland and thank you for this plugin !

                  I want to suggest you to change this line into plugin.txt :
                  $asset_path = $modx->config['rb_base_dir'].'plugins/managermanager/mm.inc.php';

                  to :
                  $asset_path = $modx->config['base_path'] . 'assets/plugins/managermanager/mm.inc.php';

                  because it allows to change Resource Base path into MODx configuration without impacting ManagerManager.

                  I read this in the forum (but I can’t remember in which thread) and I apply it to all my snippets and plugins.

                  Best regards
                    • 21257 MODX Staff
                    • 730 Posts
                    Quote from: enidan at Jun 03, 2008, 12:01 PM

                    I want to suggest you to change this line into plugin.txt :
                    <snip..>
                    I concur. rb_base_dir has caused MM to generate errors on a couple of sites and I had to manually change path(s) in the plugin; I hadn’t gotten around to collecting the specifics for a bug report yet.
                      Mike Schell
                      Lead Developer, MODX Cloud
                      Email: [email protected]
                      GitHub: https://github.com/netProphET/
                      Twitter: @mkschell
                      • 21056
                      • 327 Posts
                      Quote from: enidan at Jun 03, 2008, 12:01 PM

                      Hello ncrossland and thank you for this plugin !

                      I want to suggest you to change this line into plugin.txt :
                      $asset_path = $modx->config['rb_base_dir'].'plugins/managermanager/mm.inc.php';

                      to :
                      $asset_path = $modx->config['base_path'] . 'assets/plugins/managermanager/mm.inc.php';

                      because it allows to change Resource Base path into MODx configuration without impacting ManagerManager.

                      I read this in the forum (but I can’t remember in which thread) and I apply it to all my snippets and plugins.

                      Best regards

                      Thanks - I wasn’t aware of the advantages of that over rb_base_dir. I’ve changed the code in version 0.3, which I’m working on at the moment.
                        Author: ManagerManager plugin - customise your ModX manager interface

                        Rckt - web development, Sheffield, UK

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