Hi Bob,
I did a 'View Source' and the user data doesn't show up at all.
The snippet is in the content field of the Resource, as follows:
<div id="myList">
[[!GetExtUsersCustom@SoCoGetExtUsersProperties?
&sortby=`lastName`
&sortDir=`ASC`
&extUserOuterTpl=`ExtUserOuterTplCustom`
&extUserInnerTpl=`ExtUserInnerTplCustom`
&extUserRowTpl=`ExtUserRowTplCustom`
&where=`{"UserGroupMembers.user_group:=":"6"}`
]]
</div>
As you can see, I modified the original 'GetExtUsers' snippet to take a group argument in the &where parameter.
Here's the 'ExtUserOuterTplCustom' chunk. The <tbody> section is empty on the rendered page:
<h3 align="center">User Group: [[+groupName]]</h3>
<div style="float: right; padding-right: 15px;font-style: italic;">Date printed: [[+datePrinted]]</div>
<div style="float: left; padding-left: 15px;font-style: italic;"><a class="btn-CSS" href="[[~[[*id]]]]?mode=printview" target="new">Printable View</a></div>
<br />
<div class = "ext-users">
<table>
<thead>
<tr class="ext-user-row">
<th class="ext-user-field" width="150">User Name</th>
<th class="ext-user-field">Login Name</th>
<th class="ext-user-field" width="150">Email</th>
<th class="ext-user-field" width="100">Preferred Role</th>
<th class="ext-user-field" width="100">Last Payment Date</th>
<th class="ext-user-field" width="100">Membership Expiration Date</th>
<th class="ext-user-field">Group membership</th>
</tr>
</thead>
<tbody>
<!-- the 'extUserInner' chunk goes here -->
[[+extUserInner]]
</tbody>
</table>
</div>
<!-- END ext-users -->
The 'ExtUserInnerTplCustom' chunk only has this value:
The 'ExtUserRowTplCustom' has this:
<tr class="ext-user-row">
<td class="ext-user-field">[[+data_lastName:ne=``:then=`[[+data_lastName]], [[+data_firstName]]`:else=`[[+profile_fullname]]`]]</td>
<td class="ext-user-field">[[+username]]</td>
<td class="ext-user-field">[[+profile_email]]</td>
<td class="ext-user-field">[[+data_prefRole]]</td>
<td class="ext-user-field">[[+data_lastPymtDate:strtotime:date=`%D`]]</td>
<td class="ext-user-field">[[+data_memberExpireDate:strtotime:date=`%D`]]</td>
<td class="ext-user-field">
<ul>
[[PeopleGroups? &user=`[[+id]]` &limit=`0`]]
</ul>
</td>
</tr>