Closed (fixed)
Project:
Zen
Version:
7.x-5.1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2011 at 18:20 UTC
Updated:
26 May 2013 at 07:51 UTC
In the .info file, there is a page_top region defined; however, it is not defined in page.tpl.php and doesn't appear in Admin->Structure->Blocks. Is this simply an oversight in the current version?
In page.tpl.php, is it intended to go after the <div id="header"> line, before the <php if ($logo): ?> block, and create a horizontal block at the top of and inside the header block?
Would this be the block where, for example, on the drupal.org homepage, the far top right menu ('Get Started', 'Community & Support', etc) occurs?
Comments
Comment #1
KrisBulman commentedIt's in html.tpl.php in zen/templates. These regions are hidden by default, and work as designed.
See the handbook for more details: http://drupal.org/node/254940#closure This is a very common question.
Comment #2
Mark_L6n commentedThanks for the info! Perhaps it would be good to put a commented line in the STARTERKIT.info.txt file about this.
Comment #3
gisleThe following now appear in the
STARTERKIT.info.txtfile:However, only the
page_topregion is hidden. Thepage_bottomregion is not.Hence, there is a mismatch between the documentation and the implementation. Please clearify which one is correct.
Comment #4
echoz commentedIn addition to the hidden regions "page_top" and "page_bottom", there is another region "bottom" which is available in the blocks interface. The potential confusion is that both the hidden regions[page_bottom] and the visible regions[bottom] are both *named* "Page bottom" ("named" meaning for the administrative view, for which only one is listed). You can see this in STARTERKIT.info.txt. In page.tpl.php you can see the region provided there is 'bottom'.