Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Can this be done? Ie. Let's say I want to open up www.drupal.org in a modal dialog, and have it re-size accordingly.
Since jquery_ui_dialog_child_js()
is never called, the wrapper doesn't know the size of the content.
(Yes, drupal.org is a bad example, but you know what I mean)
Also, hook_jquery_ui_dialog_child_loading
on the project page should be hook_jquery_ui_child_loading
. That or the hook should be renamed.
Thanks!
Comments
Comment #1
EugenMayer CreditAttribution: EugenMayer commentedWell this is simply not the goal of this dialog. Its not about lightbox and showing whole pages in the dialog. Its about having a action dialog. You still can load pages inside, but you have to handle all the rest manually, including resize.
The hook is named correctly, as the module is called jquery_ui_dialog, not jquery_ui :)
Comment #2
mmilo CreditAttribution: mmilo commentedAh, okay. That makes sense.
On the second point, the hook is not named correctly in code, that was my point. The hook is invoking
jquery_ui_child_loading
, and notjquery_ui_dialog_child_loading
.Comment #3
EugenMayer CreditAttribution: EugenMayer commentedOh mmilo, i see. Thanks for the feedback!
Comment #4
EugenMayer CreditAttribution: EugenMayer commentedwill be fixed in the 1.3 release