We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33540
    • 40 Posts

    I need hide chunks that are locked (access only for administrator) - I have a few chunks my client should be able to edit but like to edit all the others?

    Any idea ?
      • 3749
      • 24,544 Posts
      I could be wrong, but I don’t think there’s any way of keeping their names from displaying in the Manager without hacking the Manager code.

      It should be a relatively simple hack, though.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 5340
        • 1,624 Posts
        One solution I use is to put all the generic chunks as TVs for the Home page and get their values using GetField snippet.

        Eg: copyright text, moto
          • 12943
          • 97 Posts
          More or less what cipa said : just dont see 1 of your 2 chunkgroups as chunks undecided Possible by converting the own generic group into snippets? Or, maybe you could simply not use own generic chunks? Just dump them in templates and lock those templates for your users? Then chunk department is free? Or use a snippet that loads your own ’chunk phpfiles’ and keep the template-solution from possibly getting too many lines in your manager.
          Still, an easy Manager-hack would do it best.
            Accelerate your Windows system with 9.8 m/s2.
            • 33540
            • 40 Posts
            It’s don’t easy. Because I need all privileges for chunk , and my client should be able to edit don’t lockked.
            If hide locked chunk , I don’t see chunk too.

            Sorry to my english.