I'm trying to create a simple module that just prints "hello world" on a page (not block), and I'm having trouble. I've spent lots of time reading the /support section and the doxygen API stuff, but I seem to get more, not less, confused. So here I am...
Here's what I have:
"helloworld.module" contains:
<?php
function helloworld_page() {
$output = "hello world";
theme('page', $output, $main);
return;
}
?>
Then in: administration -> configuration -> modules
I checked "helloworld"
Then I navigate to:
http://mysite.com/drupal/helloworld
And I get:
"Page not found"
Can anyone help me get this up and running? I'm running 4.4.2. I'm comfortable enough with PHP to flesh out my module later but am still wrapping my head around the drupal framework.
thanks,
Phil