Hi,
I’ve used the User Module to create a Members Directory. It was all working great until today, when my client pointed out the screen was blank - not a great way to find out!
After a bit of trial and error I have worked out that it is this code causing the problem:
<table class="membersDir">
<tr class="tableHead"><th>Name</th><th>Phone</th><th>Email</th><th>Options</th><th>Social Clubs</th></tr>
{exp:user:users orderby="screen_name" sort="asc" dynamic_parameters="yes" paginate="top" limit="50" socialclubs="art_club_member|book_club_member" dynamic_parameters="socialclubs" group_id="not 1|6|7|28|29" }
<tr valign="top"><td>{screen_name}</td><td>{mobile_no}</td><td>{if display_email == "Yes"}<a href="mailto:{email}">{email}</a>{if:else}Not shared{/if}</td><td><a href="{path=members/member_profile}user/{username}">View Profile</a></td>
<td>{if art_club_member == "Yes"}Art Club<br />{/if}{if book_club_member == "Yes"}Book Club<br />{/if}
{if bowling_club_member == "Yes"}Bowling Club<br />{/if}
{if bridge_club_member == "Yes"}Bridge Club<br />{/if}
{if choir_club_member == "Yes"}Choir<br />{/if}
{if dartssolo_club_member == "Yes"}Darts & Solo Club<br />{/if}
{if snooker_club_member == "Yes"}Snooker Club<br />{/if}</td></tr>
{/exp:user:users}
</table>
I don’t understand how this has happened because i used the page yesterday with no problems. I’ve tried removing parts too, such as the group_id="not...". And I tried pasting this into a blank template, but with the same results.
I havn’t been near that section of the site since yesterday, but I have been creating new areas and galleries elsewhere on the site, just in case thats relevant.
Help! Please! It’s meant to go live tomorrow!
Thanks....
