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

HasOneDataObjectManager managing page object broken


2 Posts   2101 Views


17 May 2009 at 8:40am (Last edited: 17 May 2009 8:44am), Community Member, 126 Posts

i was trying to set up a hasone-dataobjectmanager to replace a corresponding ctf, but it's not working.
in the dom, instead of the 'Title' the dom lists the IDs of the 'PageClient' instances (like '#33'), and the layout is broken. ctf is doing fine.
both are using the same arguments:

$tablefield = new HasOneDataObjectManager( //or HasOneComplexTableField
      'Title' => 'Kunde'         

maybe this has something to do with the 'PageClient' class (it's extending 'Page')?

btw: there's no 'attach file' input when posting in this forum??


19 May 2009 at 3:08am Community Member, 126 Posts

solution to this has been discussed here:

in short:
- 'Title' field isn't supported (yet) by dom. use your own field (e.g. 'Name')
- the broken layout was due to my improvidence, svn update did it.