making clean page via page.tpl.php

Posted by user360051 on Stack Overflow See other posts from Stack Overflow or by user360051
Published on 2010-06-07T04:55:09Z Indexed on 2010/06/07 5:02 UTC
Read the original article Hit count: 248

Filed under:
|

I have a Drupal module creating a page via hook_menu(). I am trying to make it so the page has no extraneous html output, only what I want. You can view the page here, http://www.thomashansen.me/chat/thomas. If you look at the source, you can see a strange script tag at the end.

My page-chat.tpl.php looks like this,

<?php
// $Id$
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
<head>
</head>
<body>
<?php print $content; ?>
</body>
</html>

Where is that script tag coming from? and how do I get rid of it? If you need more information just ask.

© Stack Overflow or respective owner

Related posts about drupal

Related posts about drupal-6