<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Create a menu path and function for it, then in the function:<br>
<br>
function mypage_callback(){<br>
$content = file_get_contents({path/filename});<br>
return $content;<br>
}<br>
<pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a>
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
<br>
On 7/7/2011 10:18 AM, <a class="moz-txt-link-abbreviated" href="mailto:jeff@ayendesigns.com">jeff@ayendesigns.com</a> wrote:
<blockquote
cite="mid:20110707071834.804c86d0f7e2d7fea66bf47f0edba67b.7802c45bcd.wbe@email12.secureserver.net"
type="cite"><span style="font-family: Verdana; color: rgb(0, 0,
0); font-size: 10pt;">
<div>I have a page that needs to be displayed from a module. In
a non-Drupal environment, I'd say I have what is an html file
that I need to include... pretty much what would be the node
content ($content) and in-line javascript.</div>
<div><br>
</div>
<div>I had it in an 'inc' file and just tried including it, but
of course that didn't work. I don't have a node in this case,
so hook_nodeapi in order to add this content won't work. I'm
unsure whether it makes more sense to try to use a template
(and if so, which? since it's not a node) or use it as block
content and dynamically create the block, but with that I have
the issue of how to get it into a variable instead of having
it sit in an external file ... I don't see a Drupal function
that will allow me to read the entire file as one text blob,
though I could use a php function.</div>
</span></blockquote>
</body>
</html>