We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22448
    • 241 Posts
    Got a very strange problem.
    Regardless of what i try i cannot rename or hide the ’description’ field. Other fields can be changed without any problems.
    What gives?

    Any ideas?
      • 21056
      • 327 Posts
      mm_hideFields(’description’);

      works fine for me - can you give an example of the context in which it isn’t working, and which version of ModX / MgrMgr this is under?
        Author: ManagerManager plugin - customise your ModX manager interface

        Rckt - web development, Sheffield, UK
        • 22448
        • 241 Posts
        Hi,
        It happens on all documents.
        the strange thing is that it’s only the Description field. Other fields work just fine and follow MM commands.

        I’m using YAMS but for the test i used the default Minimal Template, which was not setup with YAMS. Then i commented out the call to YAMS mm rules from mm_rules.inc.php file. This should have effectively isolate YAMS settings.

        Then i added the following rules to mm_rules.inc.php file:

        mm_hideFields(’description’,’’,’3’);
        mm_hideFields(’link_attributes’,’’,’3’);
        mm_hideFields(’introtext’,’’,’3’);
        mm_hideFields(’longtitle’,’’,’3’);

        As expected link_attributes, introtext, and longtitle were hidden. But not description. It seems that no rules can be applied to the description field.

        Please let me know if you need any other info.

        Thanks in advance.