Closed (fixed)
Project:
Display Suite
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2012 at 10:40 UTC
Updated:
19 Apr 2012 at 08:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
ramlev commentedI have the same issue with the content region, but if i change the region name to ex. main_content in the .inc file, and referer to that in the main-site.tpl.php file, everything works like a charm.
Seems to be an issue by calling the region key 'content'. Haven't looked in the source to locate the issue.
Comment #2
hnln commentedyep, for my own layouts it's "easy" to change the panel, but sometimes modules come with their own layouts and they sometimes use a 'content' region as well.
Comment #3
hnln commentedOrigin of the problem lies here: http://drupal.org/node/1382132
Maybe the check in ds_get_layout_info should check for $info['module'] != 'panels' (as ds_ds_layout_info also includes panels).
Comment #4
andypostpatch against at_panels_everywhere
Suppose we this problem needs more investigation about why region cant has a name "content"
Comment #5
swentel commentedHere's a patch against ds, could you test this one ?
Comment #6
andypostMake sense, but I extend a comment from #1382132: hook_ds_layout_info(): Some region names are forbidden.
Comment #7
swentel commentedYup, great. Committed and pushed, thanks!