We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum


Thread tagged as: Question

Member data to display in content

I'm using the members' app to store business details for what will be a dealer network for a site. Dealers will have access to the members' area to update their details and to download files but their data needs to also be displayed on the dealer network page. I realise that I can get values about a 'member' and display them when logged-in (as code below), but if I wanted to display the list of members / dealers on a specific page without being logged-in (i.e. a dealer network page with their details on which anyone can see), how would I go about doing this? Could it be achievable with standard Perch page tags and templates?

if (perch_member_logged_in()) {
   echo '<p><strong>E-Mail Address:</strong> '.perch_member_get('email').'</p>';
Ben Stillwell

Ben Stillwell 1 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

I don't think you can display member data on public facing pages.