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

How to set the height popup?


7 Posts   1621 Views


19 April 2010 at 4:41pm Community Member, 6 Posts

Hi all,
I used "$tablefield->setPopupWidth('800px')" to set the width popup.
So, how to set the height popup.


3 May 2011 at 10:47pm Community Member, 37 Posts


Is a good question!! :)


4 May 2011 at 4:01am 4085 Posts

It's 60% of the window height. See dataobject_manager.js.


19 May 2011 at 12:02pm Community Member, 121 Posts

should this work for FileDataObjectManager within a popup? ie a popup within a popup? the functionality of it is great but the sizing is a big issue.

to summarize I have a dataobjectmanager of projects, when I edit or create a project the project popup is displayed, I then have an image gallery for each project which is controlled by FileDataObjectManager. so when I open up that it ends up being tiny.

I have tried

$projectImageGalleryUploadify->set_popup_width('800px'); and FileDataObjectManager::set_popup_width('1000px');

plus a lot of hacks in the CSS but no luck, I'm thinking I'm going to have to get into the dataobjectmanager js for this one but am trying to avoid that so I don't run into redundancy issues when the next upgrade comes out.

thanks for the time


26 May 2011 at 5:42am Community Member, 121 Posts

any thoughts about this?

its a great great piece but becomes almost unusable it nested like I am describing as it is so small so can't get access to the whole section.


27 May 2011 at 5:53am 4085 Posts

Well popups are an inherently restrictive UI, and you're simply trying to do far more with a nested DOM than it was ever intended to do. Until we move into a more extensible model (i.e. DataGrid), I would recommend moving this into ModelAdmin so you can have more real estate from the start. I really don't see it as a productive solution to just litter the CMS with stacks of enormous, gaudy popups.


7 June 2011 at 11:47am Community Member, 121 Posts

thanks for the reply. I guess I didn't look at like that. Your right modeladmin is more suitable, especially for text only.

It still wouldn't be possible to sort a dataobject containing an image gallery in modeladmin though would it?