The Popup Iframe of the DataObjectManager is 500px wide. How can I make it 600px wide?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
DataObjectManager Module /
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba
Wider DataObjectManager Popup Iframe
$oDataObjectManager->set_popup_width(600);
Perfect, thanks!
I think it's "setPopupWidth()", no?
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(...)