7939 Posts in 1543 Topics by 946 members
|Go to End|
19 April 2010 at 4:41pm
I used "$tablefield->setPopupWidth('800px')" to set the width popup.
So, how to set the height popup.
3 May 2011 at 10:47pm
Is a good question!!
4 May 2011 at 4:01am
It's 60% of the window height. See dataobject_manager.js.
19 May 2011 at 12:02pm
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
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
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
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?
|Go to Top|