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:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Editors can only CRUD in one language


Go to End


1018 Views

Avatar
spankmaster79

Community Member, 46 Posts

26 March 2011 at 5:35am

Hi,

I don't really know if this is a DOM problem. But I have been pointed here:
http://silverstripe.org/general-questions/show/16348

Editors in my backend can only edit my DataObjects I show to them in a DOM-Module in one language. On translating the page somehow

function Can($mode) {
		if($mode == 'add' && $this->isReadonly()) {
			return false;

....

returns false for my DataObjects.

I've added the can....() CRUD functions with a return true value to my DataObject but this doesn't seem to work....

Any clue?

Greetz and thx in advance
Spanky