$closure generates code after closing body tag

arcane - July 7, 2009 - 15:17
Project:SWFObject API
Version:6.x-1.0-beta1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I am using LongTail ScanScout Premium Ads on jw flv player, and it requires all javascript code (swfobject_api code) to be before the closing body tag. However, it seems that in my page template, the use of 'print $closure' causes the javascript to be after the closing body tag.

Is there any way around this to solve this problem? Please help.

#1

lasac - September 19, 2009 - 16:54

open page.tpl.php and place

<?php
print $closure;
?>
where ever you want it.......

 
 

Drupal is a registered trademark of Dries Buytaert.