Does anyone have a drupal 4.7 module skeleton the most basic module, like just printing "hello" on the screen? I would really appreciate getting a copy to get me started with a working base module.

Thanks

Norm

Comments

heine’s picture

Drupal modules basically implement a hook system. You'll find some info in the handbook (module developers) and ofcourse on drupaldocs.org.

--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.

npollock’s picture

Although the posts above didn't help, I have a base module. The phpinfo.module is great for this. For anyone that needs a base module, just grab it, rename all of phpinfo to a module name you want, save it as the new module name and replace whatever is in the phpinfo_page function with whatever you want.

Norm

morbus iff’s picture

Er, how did the posts above not help? What you've described is exactly what you'd do with the page_example.module I linked to.

http://www.disobey.com/
http://www.gamegrene.com/
Developer of Drupal's Game API

npollock’s picture

I just visited the two links again and now searched for module. I see no link to page_example.module. Sorry if I am missing something. A direct link to the module would probably help me out, because there is a lot on the pages and I just don't see what you are referring to.

Thanks

Norm

morbus iff’s picture

npollock’s picture

Sorry for being so dense. I didn't realize the ere and ere were links. Thanks for the help, I will check out the info you provided. I clicked on your two websites.

Greatly appreciated.

Norm