Members
Frontend Membership extension for Symphony CMS.
Browse
Description
Members
- Version: 1.1.1
- Author: Symphony Team
- Release Date: August 13th 2011
- Requirements: Symphony 2.2.1
Frontend Membership extension for Symphony CMS.
Installation and Setup
Upload the 'members' folder to your Symphony 'extensions' folder.
Enable it by selecting the "Members", choose Enable from the with-selected menu, then click Apply.
Create a new Section to hold your Members entries, and add a Member: Password, Member: Role and either a Member: Email or Member: Username field. If you wish to email your members, you can add both.
Go to System > Preferences and select your 'Active Members Section'.
Go to System > Member Roles and setup your Roles as required. There is one default Role, Public that cannot be removed (but can be edited to suit your needs). This role represents an unauthenticated Member.
On the frontend, Members can login using standard forms. Below is an example:
<form method="post" autocomplete='off'> <label>Username <input name="fields[{Member: Username element_name}]" type="text" /> </label> <label>Password <input name="fields[{Member: Password element_name}]" type="password" /> </label> <input name="redirect" type="hidden" value="{$your-redirect-url}" /> <input name="member-action[login]" type="submit" value="Login" /> </form>
Event information will be returned in the XML similar to the following example:
<events> <member-login-info logged-in="yes" id="72" /> </events>
The $member-id
and $member-role
parameters will be added to the Page
Parameters for you to use in your datasources to get information about the
logged in member.
- You can log a Member out using
<a href='?member-action=logout'>Logout</a>
For more detailed instructions, please check the README or the Wiki