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' => 'My title',
'page callback' => 'mymodule_page_callback',
'access arguments' => 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.