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.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Editors can only CRUD in one language


Reply

621 Views

Avatar
spankmaster79

26 March 2011 at 5:35am Community Member, 46 Posts

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