Show and List Frontend Users 

This Feature allows you to display the data of the current user, a selected user by an editor or list user and provide a detail page.

Caution: Please take care, that you do not disclose information in public environments and be careful, which data you show in the detail view.

Show the current user 

Useful, if you want to show a "read only view" for the current logged in frontend user.

Configuration:

  1. Add a femanager plugin to your page
  2. choose "detail" view
  3. select the tab "Detail" and choose "Logged in FE User"

|showlistusers1|

Show a given user 

You can provide a list view of all frontend users or frontend users of selected groups

|showlistusers2|

  1. Add a femanager plugin to your page
  2. choose "detail" view
  3. select the tab "Detail" and select your options

Custom list and detail templates 

Every link to the show action that passes a user must also pass the corresponding signed hash. This also applies to customized list templates. Without the hash, the detail request is rejected.

UserController::listAction assigns the showHashes array, keyed by the user uid. Use it in customized list templates as follows:

<f:for each="{users}" as="user">
   <f:variable name="showHash" value="{showHashes.{user.uid}}" />
   <f:link.action action="show" arguments="{user:user, hash:showHash}">
      {user.username}
   </f:link.action>
</f:for>
Copied!

In a customized detail template, use the single showHash variable for a self-referencing link:

<f:link.action action="show" arguments="{user:user, hash:showHash}">
   {user.username}
</f:link.action>
Copied!

List Users and provide a detail page 

  1. Add a femanager plugin to your page
  2. choose "list" view
  3. select the tab "Detail" and choose a frontend user

|showlistusers3|

Plugin Options:

  • Show Searchfield: You can provide a searchfield, to filter the users
  • Limit: Define, how many users are listed per page
  • Order by: Choose which field should be used to order the list
  • Sorting: Define sort ordering
  • Show from usergroup (empty = show all): Select one or more usergroups. If you don't select a group, all frontend users are displayed