We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28215
    • 4,149 Posts
    1. Do you have a UserGroup called "HR Department"?
    2. Try running the PeopleGroup snippet uncached (!).
      shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
      • 18453
      • 66 Posts
      Thanx for your response!
      I already run it uncached and I just posted the call wrong, but is doesn’t work.
        • 28215
        • 4,149 Posts
        Sounds like you dont have any users in that group. This works fine for me.
          shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
          • 18453
          • 66 Posts
          [[!PeopleGroups]] tells there is one user in that group.
            • 18453
            • 66 Posts
            MODx Revolution 2.0.6-pl2 (traditional)
            peoples-1.0.0-beta1
            Linux, PHP Version 5.2.17

            Unless this call is wrong, I think its a bug:
            [[PeopleGroup? &usergroup=`Drente` &toPlaceholder=`users`]]
            
            <h2>[[+peoplegroups.name]] ([[+peoplegroups.userCount]] Users)</h2>
            
            <ul>
            [[+users]]
            </ul>


            I have read your blog (Why I Can’t Respond Privately), and I can ensure you, I’m not (completely) like those people.
            Yesterday I even made a donation wink
            But I now do understand why you don’t respond privately.
            Your delete key must be worn by now, I’ll buy you a new keyboard if you help me out grin.

            Thanx for your time, I appreciatie it!

              • 27106
              • 147 Posts
              For those people who can’t access user attributes in Peoples, one thing to remember is to go into the PeopleGroup snippet properties and set &getProfile to true. This is documented (although the documentation asks you to set it to 1) but I for one found it very easy to overlook.
                David Walker
                Principal, Shorewalker DMS
                Phone: 03 8899 7790
                Mobile: 0407 133 020
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Most snippet parameters should be set with 1 for true, 0 for false.
                  Studying MODX in the desert - http://sottwell.com
                  Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                  Join the Slack Community - http://modx.org
                  • 27106
                  • 147 Posts
                  Most snippet parameters should be set with 1 for true, 0 for false.
                  Good practice. I’m just reporting what I saw when I went to the interface. As it turns out, 1 works as well.
                    David Walker
                    Principal, Shorewalker DMS
                    Phone: 03 8899 7790
                    Mobile: 0407 133 020
                    • 25308
                    • 46 Posts
                    Quote from: shorewalker at Jan 30, 2011, 09:43 PM

                    For those people who can’t access user attributes in Peoples, one thing to remember is to go into the PeopleGroup snippet properties and set &getProfile to true. This is documented (although the documentation asks you to set it to 1) but I for one found it very easy to overlook.

                    Thanks for that shorewalker. I would have completely overlooked that. It’s works for me now. Thanks grin
                      • 36686
                      • 165 Posts
                      Quote from: JuTs at Dec 29, 2010, 04:03 PM
                      Quote from: rostik at Nov 24, 2010, 02:41 AM

                      Thanks for "Peoples"

                      Can you help me with ordering by Profile fileds (particularly [[+fullname]]) ?

                      Same questions. I tried with "fullname", but the only field that seems to work is username.


                      Julien

                      Sorting by anything other than username still doesn't seem to work, or am I missing something?