No closure information

stella - January 18, 2008 - 13:17
Project:Tech
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work
Description

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

#1

mennonot - March 11, 2008 - 15:42
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

danielskeenan - March 21, 2008 - 02:52
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
 
 

Drupal is a registered trademark of Dries Buytaert.