Jump to:

23371 Posts in 18161 Topics by 2865 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, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 674 Views
  • Jos
    Avatar
    Community Member
    7 Posts

    Login & Forgotten Password and Client relation with private page Link to this post

    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.

  • zenmonkey
    Avatar
    Community Member
    527 Posts

    Re: Login & Forgotten Password and Client relation with private page Link to this post

    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

  • Jos
    Avatar
    Community Member
    7 Posts

    Re: Login & Forgotten Password and Client relation with private page Link to this post

    wow, thank you for quick reply.

    OK I will take a look at dataobject manager/page type and has_many

    thank you!

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