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.

Data Model Questions

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


Reply

1924 Views

Avatar
novaweb

16 December 2011 at 1:39pm (Last edited: 9 January 2012 5:14pm), Community Member, 115 Posts

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?