Hi,

Modules such as Google Analytics are unable to use this template, as page.tpl.php does not have the line:

print $closure

before the tag. See #11812 for more information.

Cheers,
Stella

CommentFileSizeAuthor
#2 tech-211559.patch297 bytesDragoonBoots
#1 tech-211559-1.patch261 bytesmennonot

Comments

mennonot’s picture

Status: Active » Needs review
StatusFileSize
new261 bytes

I ran into this same problem with the tech theme and the Google Analytics code not appearing. Attached is a very simple patch that solved the problem for me.

DragoonBoots’s picture

Status: Needs review » Needs work
StatusFileSize
new297 bytes

This patch had some issues for me. When I ran it as patch < tech-211559-1.patch I got

patching file page.tpl.php
patch unexpectedly ends in middle of line
patch: **** malformed patch at line 7:

I just created another patch that does the same thing, not sure if this will work or not.