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.

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


1681 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