21289 Posts in 5733 Topics by 2602 members
General Questions
SilverStripe Forums » General Questions » Login & Forgotten Password and Client relation with private page
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 549 Views |
-
Login & Forgotten Password and Client relation with private page

15 October 2009 at 2:31am
I am still new at SilverStripe even after looking around for a few days.
I assume that I could copy the login form and lost password templates into new client template. is it right?
Then if client logs in, they should be able to access to the private page with their own private images.
I assume that it would be creating a new page and set its permission to 'client'. The problem is how to
relate clients with the correct items (images etc which only belong to each client)?One more which is not in the title -- I wanted to find out whether it is possible to set support ticket for client?
How do I go about it?Thank you very much for your help and time in advance.
-
Re: Login & Forgotten Password and Client relation with private page

15 October 2009 at 2:50am
Well you can call the login form with $LoginForm in any template.
You'd have to set the page access to "Only these people" if you just want individual people to access it.
You could also dynamically generate the page depending on the client logged in by creating has_many relationships with the client and images.
As for the support ticket you'd need to create a support ticket DataObject/PageType related to each client.
Take a look at the DataObjectManger module it should be able to help you create these kinds of DataObjects
-
Re: Login & Forgotten Password and Client relation with private page

15 October 2009 at 3:01am Last edited: 15 October 2009 3:08am
wow, thank you for quick reply.
OK I will take a look at dataobject manager/page type and has_many
thank you!
| 549 Views | ||
|
Page:
1
|
Go to Top |


