We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3866 ☆ A M B ☆
    • 350 Posts
    Hi there, I have the following tpl being called by a getPage and getResources call as follows:

    <article class="latestNews">
    <a name="[[+alias]]"></a>
    <h2>[[+longtitle]]</h2>
    [[+content]]
    <p class="newsLink"><a [[+tv.pageBreak]] href="[[~[[+id]]]]">Read More...</a></p>
    <date>Posted: <strong>[[+publishedon:strtotime:date=`%d %b, %Y` ]]</strong> by <strong>[[!+modx.user.id:userinfo=`fullname`]]</strong></date>  
    </article>


    I am using this call on the news page:

    [[!getPage@newsPaging?  &cache=`0` &element=`getResources` &parents=`[[*id]]` &tpl=`latestNewsTpl` &pageNavVar=`page.nav` &limit=`6` &showHidden=`1` &includeContent=`1` &includeTVs=`1` &processTVs=`1` &sortby=`{"publishedon":"DESC"}` &depth=`0`]]
    <br class="clearfloat" />
    <div class="pageNav"><span class="pageTitle">
    Page [[+page]] of [[+pageCount]]</span>[[!+page.nav]]
    </div>


    However, the !+modx.user.id:userinfo=`fullname` only ever returns one name - how do you get different names to appear? There are different users with different fullnames, but only one ever appears.

    Suggestions.... [ed. note: boomerang last edited this post 14 years, 7 months ago.]
      Helen Warner
      Number one pixel!
      Proud to be linked with MODX at Crimson Pixel
      • 3866 ☆ A M B ☆
      • 350 Posts
      Solved the issue by looking at the how to create blog documentation. I need to call:

      [[+createdby:userinfo=`fullname`]]


      Works perfectly now!
        Helen Warner
        Number one pixel!
        Proud to be linked with MODX at Crimson Pixel