Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm looking at Zen page.tpl.php dated 25 April 2011.
At the top of the page, it says:
* Regions:
* - $page['help']: Dynamic help text, mostly for admin pages.
* - $page['highlighted']: Items for the highlighted content region.
* - $page['content']: The main content of the current page.
* - $page['sidebar_first']: Items for the first sidebar.
* - $page['sidebar_second']: Items for the second sidebar.
* - $page['header']: Items for the header region.
* - $page['footer']: Items for the footer region.
* - $page['bottom']: Items to appear at the bottom of the page below the footer.
Should there be a line for $page['navigation']
as well? That seems to be the only similar thing that doesn't have one.
Comment | File | Size | Author |
---|---|---|---|
#1 | zen-document-navigation-region-1258280-1.patch | 816 bytes | barraponto |
Comments
Comment #1
barraponto CreditAttribution: barraponto commentedThat's because John Albin copied it from core. We can do better, let's add documentation for the navigation region.
Comment #2
barraponto CreditAttribution: barraponto commentedComment #3
JohnAlbinThanks for reporting this, Jennifer!
And thanks for the patch, Capi!