Jump to:

23489 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » ForgotPassword Form

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: 664 Views
  • TerryMiddleton
    Community Member
    108 Posts

    ForgotPassword Form Link to this post

    Okay, as I gain more understanding of SS, I'm starting to think on my own. Great strides.

    Here is what I'm thinking and wonder if I'm headed in the right direction.

    On my login form, I've changed the CSS to position it and display it the way the designer/customer wanted it. Looks good.

    Because of this, when I click on ForgotPassword or the email/password I enter is incorrect, I get a form shown in the content area that was styled for another background and look and feel.

    Would I need to create a new ForgotPassword form (ForgotPasswordForm2.php) and place it in the mysite/code directory and then call it when somone clicks on ForgotPassword?

    What do you think? Here's the site in action.

    Click on Login and ForgotPassword to see what I'm talking about.


    PS. I'm getting extremely close to finishing up the final items on this site and can launch. Very exciting! SS truly does rock once you get your head around it.

  • Double-A-Ron
    Community Member
    604 Posts

    Re: ForgotPassword Form Link to this post

    I usually do all this styling by using Firebug to find the class or ID of the element, and just changing the CSS to suit.

    e.g. The login error message is styled using the following:

    form.css (line 116)
    #HeaderLogin .message {
    border:4px solid #FF7373;
    margin:1em 0;

    layout.css (line 198)
    #Header p {
    margin:0 0 0 100px;

    Not sure about the forgot password form in your case, nothing is displayed when I use it. But that form can be styled the same way. Just be carefull that the changes you make when styling forms don't have an adverse effect on your other forms.


  • donjoao
    Community Member
    1 Post

    Re: ForgotPassword Form Link to this post


    I dont have much information but its helpful to the members who has forget theit password and they can click & get it.

    thanks a lot


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.