Using panels everywhere implies panels layouts will be within other panels layouts thus causing duplicate html.

I have found the best way for managing this is to create separate layouts for page level and content level.

Have others run into this (pseudo) problem? What are your solutions?

Here is this very issue in the AT Panels Everywhere issue queue : #1792632: Problems with "Page content" (duplicate divs)

CommentFileSizeAuthor
#4 panels_everywhere-n2261183-4.patch827 bytesDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nlambert’s picture

Title: Layout within layout creates duplicate html » Layout within layout causes duplicate html
DamienMcKenna’s picture

Component: Miscellaneous » Code
Category: Support request » Feature request
Priority: Normal » Major

It isn't a bug, it's an undocumented feature =)

We might need to consider adding an additional argument to indicate layouts are suitable for use with PE, but I can see problems with this as I can imagine some people wanting the same display for both. Maybe introduce an option in the layouts API and then have a PE setting to control whether to limit the selection accordingly?

DamienMcKenna’s picture

Component: Code » Documentation
Parent issue: » #1816558: Plan for Panels_Everywhere 7.x-1.0 release
DamienMcKenna’s picture

Some documentation about the problem.

DamienMcKenna’s picture

Status: Active » Fixed

  • DamienMcKenna committed 056b253 on 7.x-1.x
    Issue #2261183 by DamienMcKenna: Document that layouts can cause...

Status: Fixed » Closed (fixed)

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