Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » editing pages on the front-end

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1281 Views
  • Nicolaas
    Avatar
    Forum Moderator
    213 Posts

    editing pages on the front-end Link to this post

    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

    1281 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.