We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 41149
    • 43 Posts
    Aaron Brewer Reply #1, 11 years ago
    I notice on the MODx Documentation that you may specify [[*publishedby]] in a template. But it only ouputs an integer, is there anyone to output the username? Or Full name of the username?

    Thank you,
    Aaron
      The web is our sandbox, so let's develop a castle.
    • You'll need a snippet to get the username or full name.
        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
        • 41149
        • 43 Posts
        Aaron Brewer Reply #3, 11 years ago
        Hi sottwell,

        What would a Snippet like that look like?

        Thank you,
        Aaron
          The web is our sandbox, so let's develop a castle.
        • I just do this without using a snippet.

          [[*publishedby:userinfo=`fullname`]]
          


          Good luck.
            Benjamin Marte
            Interactive Media Developer
            Follow Me on Twitter | Visit my site | Learn MODX
            • 41149
            • 43 Posts
            Aaron Brewer Reply #5, 11 years ago
            Quote from: benmarte at Apr 10, 2013, 06:37 PM
            I just do this without using a snippet.

            [[*publishedby:userinfo=`fullname`]]
            


            Good luck.


            Awesome benmarte! Thank you, that's what I am talking about smiley.
              The web is our sandbox, so let's develop a castle.
            • If I'm not mistaken you can access any user fields using this method except any extended fields you may have created for them, I'm not 100% sure but I think you can.
                Benjamin Marte
                Interactive Media Developer
                Follow Me on Twitter | Visit my site | Learn MODX
                • 41149
                • 43 Posts
                Aaron Brewer Reply #7, 11 years ago
                That would be awesome. Thank you very much benmarte!
                  The web is our sandbox, so let's develop a castle.