Project:Tech
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

Hi,

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

<?php
print $closure
?>

before the tag. See #11812 for more information.

Cheers,
Stella

Comments

#1

Status:active» needs review

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.

AttachmentSize
tech-211559-1.patch 261 bytes

#2

Status:needs review» needs work

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.

AttachmentSize
tech-211559.patch 297 bytes
nobody click here