We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9995
    • 1,613 Posts
    I'd like to hide Resource parent with mm_rules, but whats the name?
    The others can be done with the below code smiley

    mm_hideFields('
    content,
    pagetitle,
    description,
    menuindex,
    menutitle,
    link_attributes,
    alias,
    template,
    hidemenu
    ', '', '');


    This question has been answered by breezer. See the first response.

      Evolution user, I like the back-end speed and simplicity smiley
    • discuss.answer
      • 4041
      • 788 Posts
      The field name is parent, but in 1.0.15 I had to put the fields on one line like so:
      mm_hideFields('parent,content', '', '');


      Using the format you posted above didn't work.
        xforum
        http://frsbuilders.net (under construction) forum for evolution
        • 9995
        • 1,613 Posts
        thanks Breezer, thats the one smiley
        on my mm_rules its on one line, did it on multiple lines only for preview here.



        //

        I'm making a Configuration resource (id 3) with a custom template (id 4). smiley

        mm_hideTabs('settings','','4');
        mm_hideFields('content,pagetitle,description,menuindex,menutitle,link_attributes,alias,template,hidemenu,parent', '', '4');
        mm_moveFieldsToTab('mytvshere','general');
        
        if($content['id'] == 3){
          mm_renameTab('general','Configuratie');
        }


          Evolution user, I like the back-end speed and simplicity smiley