7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Wider DataObjectManager Popup Iframe
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 723 Views |
-
Wider DataObjectManager Popup Iframe

26 July 2010 at 9:37pm
The Popup Iframe of the DataObjectManager is 500px wide. How can I make it 600px wide?
-
Re: Wider DataObjectManager Popup Iframe

26 July 2010 at 9:47pm
$oDataObjectManager->set_popup_width(600);
-
Re: Wider DataObjectManager Popup Iframe

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 classSo 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(...)
| 723 Views | ||
|
Page:
1
|
Go to Top |


