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.
The overlay options (width) are not applied to aliased paths. Example:
function mymodule_overlay_paths_alter(&$paths) {
$paths['video/*'] = array('width' => 950);
}
Video is a content type, and the overlay opens with the default width, not the specified 950px.
Comment | File | Size | Author |
---|---|---|---|
#1 | overlay_paths-aliased_path_options-2074453-1.patch | 697 bytes | tomyinhauser |
Comments
Comment #1
tomyinhauser CreditAttribution: tomyinhauser commentedA recommended patch follows.
It was based on a similar issue: https://drupal.org/node/1587638
Comment #2
lunk rat CreditAttribution: lunk rat commentedCreeps me out that I finally decided to try and fix this on my site, I go to the issue queue and see this patch posted only minutes ago ... open source synchronicity!
Patch solved my issue, thank you.
And stop looking over my shoulder!
Comment #3
Steven Jones CreditAttribution: Steven Jones commented1: overlay_paths-aliased_path_options-2074453-1.patch queued for re-testing.
Comment #4
Steven Jones CreditAttribution: Steven Jones commentedThanks! Wonderful patch, committed and pushed to 7.x-1.x.