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

Wider DataObjectManager Popup Iframe


Reply

5 Posts   870 Views

Avatar
DeklinKelly

26 July 2010 at 9:37pm Community Member, 197 Posts

The Popup Iframe of the DataObjectManager is 500px wide. How can I make it 600px wide?

Avatar
Mad_Clog

26 July 2010 at 9:47pm Community Member, 78 Posts

$oDataObjectManager->set_popup_width(600);

Avatar
DeklinKelly

26 July 2010 at 10:01pm Community Member, 197 Posts

Perfect, thanks!

Avatar
UncleCheese

27 July 2010 at 1:37am 4085 Posts

I think it's "setPopupWidth()", no?

Avatar
Mad_Clog

27 July 2010 at 1:52am Community Member, 78 Posts

You're right UC.

using set_pop_width changes the static value of the class
whereas setPopupWidth changes it for a single instance of the class

So if you want all popups to have an alternate width use DataObjectManager::set_popup_width(...) in your config
If you want to change the width of a single popup use $oDataObjectManager->setPopupWidth(...)