17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 55364 Views |
-
Building a Client Area

19 April 2008 at 8:17am
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!
-
Re: Building a Client Area

19 April 2008 at 10:09am Last edited: 19 April 2008 10:12am
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 -
Re: Building a Client Area

19 April 2008 at 6:29pm
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 -
Re: Building a Client Area

20 April 2008 at 1:22am
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
| 55364 Views | ||
|
Page:
1
|
Go to Top |



