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.

Customising the CMS

Extending core classes (like Security)


Reply

9 Posts   3412 Views

Avatar
klikhier

15 February 2012 at 2:04am Community Member, 150 Posts

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?