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.]