We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7231
    • 4,205 Posts
    I am trying to disable the ability to edit folders with the resource browser but am falling short.

    In the config file I edited this bit of code removing all the references to editing folders:
    $fckphp_config['Commands'] = array(
    				"CreateFolder",
    				"GetFolders",
    				"GetFoldersAndFiles",
    				"FileUpload",
    				"Thumbnail",
    				"DeleteFile",
    				"DeleteFolder",
    				"GetUploadProgress",
    				"RenameFile",
    				"RenameFolder"
    				);
    
    to this:
    $fckphp_config['Commands'] = array(
    				"CreateFolder",
    				"GetFolders",
    				"GetFoldersAndFiles",
    				"FileUpload",
    				"Thumbnail",
    				"DeleteFile",
    				"GetUploadProgress",
    				"RenameFile"
    				);
    But it did not work.
    Is there someplace else to alter these configurations?
      [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

      Something is happening here, but you don't know what it is.
      Do you, Mr. Jones? - [bob dylan]