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.

Data Model Questions /

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

DataObjectDecorator Tutorial - Stuck in a loop not able to access CMS


Go to End


2548 Views

Avatar
novaweb

Community Member, 116 Posts

16 December 2011 at 1:39pm

Edited: 09/01/2012 5:14pm

I am following this to extend the Member class: http://doc.silverstripe.org/sapphire/en/reference/dataobjectdecorator

v 2.4.5

Pretty basic, just want phone number and address fields.

When I add

Object::add_extension('Member', 'MyMember');

to mysite/_config.php

It boots me from the CMS and just redirects me back to the login page each time I try to log in.

Any ideas?