Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Login & Forgotten Password and Client relation with private page


Reply


3 Posts   746 Views

Avatar
Jos

Community Member, 7 Posts

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.

Avatar
zenmonkey

Community Member, 532 Posts

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

Avatar
Jos

Community Member, 7 Posts

15 October 2009 at 3:01am

Edited: 15/10/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!