Jump to:

5542 Posts in 1739 Topics by 1225 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Extending core classes (like Security)

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

Page: 1 2
Go to End
Author Topic: 3372 Views
  • klikhier
    Avatar
    Community Member
    150 Posts

    Re: Extending core classes (like Security) Link to this post

    Of course, I should have done the following to add a fallback to the default Form.ss if CustomLoginForm.ss is not present:

          $content .= $forms[0]->renderWith(
             array(
                'CustomLoginForm',
                'Form'         
             )
          );

    Still, this is hacking into the core. There must be a better solution?

    3372 Views
Page: 1 2
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.