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


2011 Views

Avatar
novaweb

Community Member, 115 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?