Closed (won't fix)
Project:
Content Construction Kit (CCK)
Version:
5.x-1.6-1
Component:
General
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2007 at 15:05 UTC
Updated:
27 Sep 2007 at 18:39 UTC
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
Comment #1
yched commentedCCK 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) :