@BobRay,
Your suggestion did not work, but in addition to the previously mentioned createdby problem I found another potential cause.
The site has 3 main sections: Articles, Reviews and Tutorials. Each section has it's own NP form. The main listing page collects all the resources by section and member. So far so good.
To better organize the main listing I used a separate getPage/getResources call for each section to only show the (member-created) resources for that particular section. So far so good.
To differentiate between the 3 different sections I changed the &toPlaceholder property to represent each section (above):
Articles: &toPlaceholder=`articleResults`
Reviews: &toPlaceholder=`reviewResults`
Tutorials: &toPlaceholder=`tutorialResults`
As far as listing the resources is concerned everything works great across the 3 sections for Members and Admin, but as I've said, the button fails.
As a test I removed 2 of the section calls and used a single call (similar to below) to collect all the resources across all 3 sections. As previously mentioned the NP button appeared for Members(!) but once again disappeared for sudo.
It seems my attempt at using 3 calls is, at least in part, causing the button to fail, though I don't know why. Going forward I would still prefer to separate the listing into 3 calls so the question is, can I still do that somehow?
Below is the the call for the 'Articles' section, the other 2 sections (calls) are essentially the same, albeit with different &tpl, &parents and &toPlaceholder. Each call uses it's own Chunk (&tpl) which contains the NP button.
[[!getPage?
&elementClass=`modSnippet`
&element=`getResources`
&parents=`2`
&resources=`-1`
&includeTVs=`1`
&where=`{"createdby:=":[[!+modx.user.id]]}`
&showHidden=`1`
&sortby=`publishedon`
&sortdir=`DESC`
&tplPath=`static/chunks/`
&tpl=`@FILE memberArticleResult.html`
&hideContainers=`1`
&toPlaceholder=`articleResults`
&limit=`3`
&pageLimit=`5`
&totalVar=`total`
]]
<h1>My Articles [[!+articleResults:notempty=`([[+total]])`]]</h1>
<ol>
[[!+articleResults:ifempty=`<p>No <strong>Articles</strong> to display, <em>[[+contributor]]</em>.</p>`]]
</ol>
[ed. note: todd.b last edited this post 11 years, 5 months ago.]