Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
markup
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2010 at 15:48 UTC
Updated:
4 Mar 2014 at 05:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
casey commented- following HEAD
- added separate overlay.tpl.php for garland
I think this approach (overlay.tpl.php overriding page.tpl.php instead of using overlay.tpl.php as a template wrapper around page.tpl.php) allows for cleaner HTML inside overlay. Maybe this is a sufficient alternative to #804158: Provide Variable for themes to know if one is inside the overlay or not also.
Comment #2
casey commentedReroll
Comment #4
casey commented#2: overlay-aspagetpl3.patch queued for re-testing.
Comment #5
casey commentedReroll
Comment #7
casey commented#5: overlay-aspagetpl4.patch queued for re-testing.
Comment #8
casey commentedReroll
Comment #9
casey commented#8: overlay-aspagetpl4.patch queued for re-testing.
Comment #10
EvanDonovan commentedSeems like a good idea, but is this too late for 7.x?
Comment #11
David_Rothstein commentedI think this idea was already discussed and semi-rejected at #673174: Provide an option to use a page-overlay.tpl.php.
That said, a lot has changed since then. In an ideal world, the theme layer isn't where we should have to adjust for the presence of the overlay at all (in which case this wouldn't be needed), but we're definitely not there yet so it may make sense.
I also agree with Evan that this sounds like a Drupal 8 issue at this point.
Comment #12
ksenzeeYeah, looks like D8 to me. I'm not 100% convinced this would make theming easier though. It would be nice to hear from markup folks on that, so moving to their queue for now.
Comment #13
zmove commentedComment #14
zmove commentedHope to see that in 8.x. Actually, this is a little tricky to do what you want with overlay.
Comment #15
thedavidmeister commented#8: overlay-aspagetpl4.patch queued for re-testing.
Comment #16
thedavidmeister commentedpatch has trailing whitespace and uses a tpl.php file instead of html.twig.
Comment #17
rooby commentedNo more overlay in drupal 8 (yay), so this is a drupal 7 issue only.