Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Building a Client Area

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: 56286 Views
  • aesop
    Avatar
    Community Member
    2 Posts

    Building a Client Area Link to this post

    Okay, question for ya:

    Say I want to have a client area that encompasses the following features:

    1. Password-protected section for that client (one login form: "Client Area") that would allow access for multiple clients to specific sections based on the login. Although I realize you can give them access through the main CMS by allowing/denying access to various pages, I don't think I wouldn't want them going through the CMS.
    2. The ability for the clients view galleries in specific pages/sections
    3. The ability for clients to upload reasonably sized files and assets
    4. The ability for clients to leave comments (on gallery posts) and send questions via a web form.

    Ideas? I'm a newbie to Silverstripe.

    Thanks in advance!

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Building a Client Area Link to this post

    1. Password-protected section for that client (one login form: "Client Area") that would allow access for multiple clients to specific sections based on the login. Although I realize you can give them access through the main CMS by allowing/denying access to various pages, I don't think I wouldn't want them going through the CMS.

    A single instance of a log in form can be created by using $LoginForm in the template system, I believe. This means you could place it on the home page, for example, in it's own box.

    2. The ability for the clients view galleries in specific pages/sections

    Security is set in the CMS on a per-page basis, so you could put one set of client accounts into a group, and only allow that group to view the page, for example.

    There's a SS gallery module (or you could build your own using a plugin like jqGalScroll, perhaps).

    3. The ability for clients to upload reasonably sized files and assets

    This will require a bit of custom development, but what you're asking for is not amazingly difficult. There's a lot of smart people on this forum who would be willing to help!

    4. The ability for clients to leave comments (on gallery posts) and send questions via a web form.

    SS CMS has a page comments system that you can turn on by clicking "Allow comments" on the Behaviour tab on a per-page basis.

    Cheers,
    Sean

  • aesop
    Avatar
    Community Member
    2 Posts

    Re: Building a Client Area Link to this post

    Thanks, Sean. I'll start digging in.

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Building a Client Area Link to this post

    this sort of member based stuff Im really keen on seeing documented. Theres not a huge lot on it. If you manage to get a system working it would be awesome to see a write up of it! Or if you getting a bit stuck feel free to ask questions on the IRC channel or forum. Couple pages that might help

    http://doc.silverstripe.com/doku.php?id=recipes:overriding-loginform
    http://doc.silverstripe.com/doku.php?id=permission
    http://doc.silverstripe.com/doku.php?id=member

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Building a Client Area Link to this post

    It's probably more of an area where a tutorial would be useful.

    Those concepts like permission are key tools for it of course, but it's actually putting it all together where it's sometimes difficult to get started on.

    There's already a ticket for something like this: http://open.silverstripe.com/ticket/1542

    Sean

    56286 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.