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, Ed, biapar, Willr, Ingo, swaiba

HasOneDataObjectManager managing page object broken

Go to End

2 Posts   2351 Views


Community Member, 126 Posts

17 May 2009 at 8:40am

Edited: 17/05/2009 8:44am

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??


Community Member, 126 Posts

19 May 2009 at 3:08am

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.