I’m trying to output a single list of all users, but it’s currently outputting all users into many lists. For example:
<ul id="posts">
<li><a href="/members/users?service=viewprofile&username=user1">user1</a></li>
</ul><ul id="posts">
<li><a href="/members/users?service=viewprofile&username=user2">user2</a></li>
</ul>
The WebLoginPE call I’m using is:
[!WebLoginPE? &type=`users` &usersTpl=`membersUsersList` &viewProfileTpl=`membersUsersProfileView`!]
membersUsersList Template:
<ul id="posts">
<li><a href="/[~[*id*]~]?service=viewprofile&username=[+view.username+]">[+view.fullname+]</a></li>
</ul>
Obviously if I take out <ul></ul> tags it dumps a <li> list. But I need the <ul id="posts"> tags to be not repeated so it’s:
<ul id="posts">
<li>....</ul>
<li>...</li>
</ul>
In the documents it has a &userOuterTpl, but I can’t figure out which way around it is.