I've been searching around but haven't found much information. When you create content and go to a CCK form, I'd like to hide the part at the top that says "Submit ", it's an h1 title.

I know about auto nodetitle but that doesn't seem to make that part disappear. Is this a theme sort of thing or perhaps something I can modify in the CCK form?

Thanks for the incredible module, it's fantastic.

Eric

Comments

yched’s picture

Status: Active » Closed (won't fix)

CCK does not generate the title of node form pages, its handled by core's node.module.

Such specific requirements are generally handled by putting some code in a small custom module of yours. In this case, you could probably use hook_form_alter() to detect you're displaying on a node edit form, and then use drupal_set_title to set your own page title.

Something like (untested) :

function YOURMODULENAME_form_alter(&$form, $form_state, $form_id) {
  if (isset($form['type'])) {
    if ($form['type']['#value'] .'_node_form' == $form_id) {
      drupal_set_title(t('My custom title for a '. $form['type'] .' node form'));
    }
  }
}