We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 824
    • 44 Posts
    Hey Guys,

    Just a quick one, i have started adding resource groups and user groups into my modx site, but suddenly i cannot change the resource groups for each resource. I am using ManagerManager and when removing the rules the access permissions tab shows up however there is nothing in the rules that seems to hide the tab.

    Any Ideas?

    Al
    Manager Manager Rules
    // MM Changes for all users
    	mm_hideTabs('meta'); //Hides the Meta Tab for the news template
    	mm_inherit('longtitle');
    	mm_renameSection('tv', 'More Page Settings');
    	mm_hideFields('link_attributes', '!1');
    	mm_createTab('Translation','transpage');
    	mm_moveFieldsToTab('tvhasTranslatedVersion','transpage');
    
    	mm_createTab('Advanced','advpage','1');
    	mm_moveFieldsToTab('tvbodyTagJava,tvextraHeadCode,tvnewsStartID,tvdocumentReady','advpage');
    	mm_hideSections('tvs','!1','4,6');
    	mm_hideFields('tv7,tv9,tv4','!1');
    
    //MM Changes for news template
    	mm_hideFields('longtitle,description,alias,link_attributes,menutitle,menuindex,is_folder,is_richtext,searchable','','7'); //Hides News Link Fields
    	mm_renameField('introtext','News Outline','','7');
    	mm_default('show_in_menu', false, '', '7');
    	//mm_synch_fields('tvfileBrowser,link', ,'7' );
    
    //MM Changes for Everyone Except Administrators
    	mm_hideSections('history','','');
    
    //MM Changes for templates
    	mm_createTab('Appearance','pageapp','','4,5,6','How the page will appear, colour, banner, etc');
    	
    	mm_moveFieldsToTab('tvBannerType,tvBannerName,tvpageColour','pageapp','','4,5,6');
    	
    	mm_hideFields('introtext,description,is_richtext,log,cacheable,searchable','','4,5,6');
    	mm_renameField('alias','Page Name');
    	mm_renameField('introtext','Summary');
    
    
    

      • 824
      • 44 Posts
      Well.. I seem to have fixed this myself, It appears that the Access Permissions Tab is actually labelled as "meta" within manager manager, I have now removed this line from my MM rules and it works.

      Is this a bug? Or have I missed something within the documentation?


      Cheers
        • 17883
        • 1,039 Posts
        "meta" is hidden by default since MODx 1.0.0. So the "access" tab isn`t the fourth tab anymore and gets hidden by MM which hides the third visible tab. If you activate the meta tab in the config, everything should work as expected. So it is more a bug with MM than with MODx.
          • 824
          • 44 Posts
          Ahha smiley Thats what we like to hear, i will look at fixing this if it has not already been done smiley