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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

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

Extending core classes (like Security)


Go to End


9 Posts   6854 Views

Avatar
klikhier

Community Member, 150 Posts

15 February 2012 at 2:04am

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?

Go to Top