We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12027
    • 63 Posts
    Logged in web users on http://scoopex1988.org see a bunch of "Add Post" in the Ditto listing on the front page (these are fetched from the member blog pages). Can I filter out all documents that are not public?
    Tried adding


    &filter=`group,Editable,2`


    ...and tried groupid instead of group, and ,8 instead of ,2, but no go.

    Do I have to write a wrapper thingy to feed it the docgroup id, or is there a list of variables to compare to, like createdon and the like?

      • 7231
      • 4,205 Posts
      I think for this to work you need the id of the group rather than the name. The tricky part is to find the groups id (i think that it may have been added to the display in the next release). For now you will need to look at the page source to find it.
      <input type="hidden" name="groupid" value="4" />

      so the filter would end up looking like:
      &filter=`groupid,4,2`
      I have never tested this but worth a try grin
        [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&#39;t know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 12027
        • 63 Posts
        Thx for replying.

        I cannot find the string "hidden" nor the string "group"/"groupid" when I view the source and am logged in as web user. (Not on the news page, and not while viewing the Add Post document in my member blog.

        "Editable" is the first document group I created. Should that be id = 1 then? Testing...
          • 12027
          • 63 Posts
          Apparently the id number wasn’t 1. How do I find the id out if it’s not in the source?
            • 7231
            • 4,205 Posts
            The hiden is in the manager not in the front end (that would not be too secure). Go to the manage, Security> Web Permissions and look at the source for the center frame (right click on the frame and view frame source). Scroll down a bit or do a search for the docgroup name you want and you will find the hidden I mentioned above. There may verywell be another more straight forward way to get this and I think it is readily available in future releases.
              [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&#39;t know what it is.
              Do you, Mr. Jones? - [bob dylan]
              • 12027
              • 63 Posts
              Found it! Under "Editable" -> <input type="hidden" name="groupid" value="3" />

              Worked a charm, thanks a lot grin