How can I hide the title in a custom page made with hook_menu? I need to hide the title on a custom page created using hook_menu. I don't have a nid, so probably I can't use one of the existing modules to do that.

function mymodule_menu() {
  $items['mypath'] = array(
    'title' =&gt; 'My title',
    'page callback' =&gt; 'mymodule_page_callback',
    'access arguments' =&gt; array('access content')
  );
  return $items;
}


I know this could be done using this css

body#pid-mypath {
  h1.title {
    display: none
  }
}


but I want to know if there are other alternatives. I'm working with Drupal 6.
Not sure if processed on time but I would try using drupal_set_title. And making sure you have an if statement around the h1 or h2. So use drupal_set_title to create empty title and use:

if(!empty($title)){
echo '&lt;h1&gt;' . $title . '&lt;/h1&gt;';
}