Needs work
Project:
Layout
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2012 at 15:42 UTC
Updated:
30 Apr 2017 at 14:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
autopoietic commentedFurther testing:
Comment #2
gábor hojtsyThis sounds strange, because we don't use the flexible layout plugin from panels.
Comment #3
hexabinaerThanks for this hint, I've been searching for hours now.
Tested this way (using simplytest.me - great helper!)
1. installed spark + display suite
2. logfile: looks fine
3. enabled display suite
4. logile: 4 notices, 4 warnings
Notice: Undefined index: items in panels_flexible_panels() (line 257 of /home/seb915089fa41c33/www/profiles/spark/modules/contrib/panels/plugins/layouts/flexible/flexible.inc).
Warning: Invalid argument supplied for foreach() in panels_flexible_panels() (line 257 of /home/seb915089fa41c33/www/profiles/spark/modules/contrib/panels/plugins/layouts/flexible/flexible.inc).
Maybe this issue should rather be placed in spark's issue queue?
Comment #4
breeze_man commentedApply the two patches to make layout module compatible with display suite.
layout-1.0-compatibility_with_display_suite.patch is for layout module, ds-2.6-support_responsive_panels_of_layout.patch is for ds module.
Comment #5
alfthecat commentedThank you, patches of #4 fixed the errors for me.
Comment #6
greenskin commentedHere's an updated patch for Display Suite against version 2.10.
This patch also reorders the $content array so regions render in the proper order. Previously, if a region's key matched the field name (e.g., "body" field), it's content would not necessarily render in the proper order within the responsive layout. I'm not sure this is the best place or best way of doing this, but it works.
What are the best steps to get both of these patches absorbed into their respective modules? I would presume an issue should be opened under Display Suite with it's patch.
Comment #7
Manuel P.V. commentedHi! Thanks for the patchs! but don't work in my installation. Also the errors are a little different:
The errors refer to this code snippet:
Suggestions?
Comment #8
piusmnwilson commentedI uninstalled my layouts module and the problem vanished....Well am a bit new to drupal, been doing simple edits for the company i work for but recently i decided to start working on my own web projects thus as of now i am working with the Andromeda them....any further help would come highly appreciated...thanks
Comment #9
dedicated_hobby_coder commentedHave a look here, solved my issues
https://www.drupal.org/node/1106302#comment-11229873