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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tomyinhauser’s picture

A recommended patch follows.

It was based on a similar issue: https://drupal.org/node/1587638

lunk rat’s picture

Status: Active » Reviewed & tested by the community

Creeps 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!

Steven Jones’s picture

Steven Jones’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

Thanks! Wonderful patch, committed and pushed to 7.x-1.x.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.