I apologize in advance. This is more of a general ignorance question. I decided to use Panels Everywhere and control the entire page thusly. I create a blank theme. My question is in regards to the conventional header and footer areas of a page. I tried adding those to a custom layout (header before top, and footer after bottom), but the layout seems to be used entirely within the content area of the page, so that assigning the logo to the header results in the log appearing in the top of the content area. If I want the entire page controlled, do I not define the non-content areas in the layout template?

Comments

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

The idea is that if you're using a panels everywhere template, the entirely of your page.tpl.php will look something like this:

print $content;

Actually, I believe in D7 it'll try not to use the page.tpl.php at all.

In any case, with Panels Everywhere, your entire page is the 'content' area. So you should define 'non-content' areas in your template layout.

Am I misunderstanding part of the question?

j. ayen green’s picture

Ah, no, you're not misunderstanding me. I think it's a function of googling and following various suggestions, which leave holes in the big picture. The blank template has no page.tpl.php at this point. The only tpl.php at the moment is the custom layout. Before I moved the layout from Fusion to Blank, I was getting a header and then the layout. And that would be, I think I'm understanding, because the page template in fusion was printing page regions before and after $content. So if all I have is content, and within it I define a header and footer, but NOT in the page template, I should be ok?

merlinofchaos’s picture

Status: Postponed (maintainer needs more info) » Fixed

Yes, that's correct. Once using PE, you should avoid using other blocks regions. PE is really designed to replace the block UI, at least on pages where there are blocks. Though it was actually written so you *can* use them together...if that's what you want, so that you could have some pages using a PE template and some pages using the block system. That's really meant to be a transitional thing; so you can add PE to an existing site without totally breaking it.

Status: Fixed » Closed (fixed)

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