Jump to:

22975 Posts in 11620 Topics by 2826 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: 607 Views
  • TerryMiddleton
    Avatar
    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. http://63.247.208.15/

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

    Terry

    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
    Avatar
    Community Member
    599 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 {
    background-color:#FED0D0;
    border:4px solid #FF7373;
    color:red;
    font-weight:normal;
    margin:1em 0;
    padding:0.5em;
    }

    layout.css (line 198)
    #Header p {
    clear:left;
    color:#000000;
    font-size:1.4em;
    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.

    Cheers
    Aaron

  • donjoao
    Avatar
    Community Member
    1 Post

    Re: ForgotPassword Form Link to this post

    Hi

    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

    John
    www.donjoaoresortgoa.com

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