I am trying to build my own module in Drupal 7.
So I have created a simple module called \'moon\'
function moon_menu() { $items = array(); $items
For your own stuff (not overriding a template from another module)?
Sure, you only need to:
Register your template with hook_theme()
Call theme('moon', $args)
$args is an array that contains the arguments to the template as specified by your hook_theme() implementation.