Hi Everyone
We are looking at building a small module that assist in letting users edit pages on the front-end. Here are some notes about our ideas:
User can….
1. go to a page to request to become a member and complete details (a la forum module)
2. user is validated by (decided in _config): a. A. confirms email b. B. by admin
3. add / edit pages (which ones are decided in _config.php)
4. can update their details (a la forum module)
Potential Classes:
MemberAdminPage + FORM:
• add member,
• edit member details
MemberValidation.php
• works out a way to validate new members: o send email to their email address to check validity o AND/OR get admin to select pages that the member can edit inCMS?
MemberEdit.php:
• what pages can the current user add? And where in the Sitetree?
• What pages can the current user edit?
EditPageDecorator.php
• Adds extra functions to Page Class to allow the page to be added in the front-end (e.g. something similar to getCMSFields() – you may have getFrontEndFields())
Has anyone done anything like that? I would love to get some input.
Cheers
Nicolaas