Hello,

I just started using AT Panels Everywhere for one of my websites.
Problem is that if I select "Page content" element on "MAIN CONTENT" region for "AT Panels Everywhere site template" as attached below, I get duplicated divs if I create another page (ex. Homepage) using "AT Panels Everywhere site template" as layout.

As per logic I must create a SINGLE PAGE layout with no regions as "Default site template" and then select "AT Panels Everywhere site template" for any pages that I will create (ex. Homepage). I am wrong?

Many thanks with this.

site default template
url
url template
div repeat

CommentFileSizeAuthor
div repeat.JPG56.4 KBBlue
url template.JPG72.76 KBBlue
url.JPG67.21 KBBlue
Default template.JPG115.37 KBBlue

Comments

nlambert’s picture

Issue summary: View changes

I came here looking for an answer to this very question.

The only way I can see to solve this problem, is to have separate layouts for page level and content level.

damienmckenna’s picture

Category: Bug report » Support request
Priority: Major » Normal
Status: Active » Postponed
Parent issue: » #2261183: Layout within layout causes duplicate html

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

The templates for the layout control what DIVs are used for each region, so I suggest splitting up the layouts into ones suitable for the whole page (Panels Everywhere) vs for the content area (Panels & Panelizer)?

Please follow #2261183: Layout within layout causes duplicate html where we'll work out the best solution, possibly including an API change, and then we can go from there.