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   891 Views

Avatar
DeklinKelly

Community Member, 197 Posts

26 July 2010 at 9:37pm

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

Avatar
Mad_Clog

Community Member, 78 Posts

26 July 2010 at 9:47pm

$oDataObjectManager->set_popup_width(600);

Avatar
DeklinKelly

Community Member, 197 Posts

26 July 2010 at 10:01pm

Perfect, thanks!

Avatar
UncleCheese

Forum Moderator, 4094 Posts

27 July 2010 at 1:37am

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

Avatar
Mad_Clog

Community Member, 78 Posts

27 July 2010 at 1:52am

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(...)