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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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


2306 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?