Part of meta-issue #1788918: [GTD] [META] Prepare for Twig main engine core inclusion until December 1

convert core/themes/seven/page.tpl.php to a twig file

CommentFileSizeAuthor
#3 seven-page-1749272.patch3.35 KBRenee S

Comments

podarok’s picture

Project: Drupal core »
Version: 8.x-dev »
Component: theme system » Twig templates

moving to sandbox

Renee S’s picture

Component: Twig templates » Twig templates conversion (front-end branch)
Assigned: Unassigned » Renee S

I'll take a crack at this.

Renee S’s picture

Status: Active » Needs review
StatusFileSize
new3.35 KB
sonictruth’s picture

Beat me to it! :P

This looks good to me. Patch installed fine and everything seems to be printing fine.

I just noticed that Seven's page.tpl — and therefore the new twig file — doesn't print the logo or slogan. Is this correct? Seems a bit odd.

Regardless this has indeed been twiggified.

Renee S’s picture

You're welcome! ;) Yeah, the lack of logo or slogan is because Seven is an admin theme, meant mainly as bread to the overlay sandwich, and not as an entrée.

jenlampton’s picture

Status: Needs review » Postponed

I'm going to postpone this one until after we decide the core page.tpl.php is done - which probably won't be until after we have a theme component library, and the markup gets rewritten to use it.

I'm just worried that if we start "overriding" that file before it's done we'll have to keep changing all 3 templates with each change. (We may decide to do that at some point anyway - but I think it's too soon now).

mrf’s picture

Unfortunately we duplicated this effort over at #1938848: seven.theme - Convert PHPTemplate templates to Twig which ended up looking pretty similar.

Might be worth a second look to see if anything covered here can be merged.

mrf’s picture

Issue summary: View changes

Updated issue summary.

Project: » Lost & found issues

This issue’s project has disappeared. Most likely, it was a sandbox project, which can be deleted by its maintainer. See the Lost & found issues project page for more details. (The missing project ID was 1750250)