When you create content on Drupal, the header at the top says “Create “. On certain content-types I don’t want it to say that. Is there a way to customize that header on certain content-types and keep it as-is on others?
thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Did you try drupal_set_title?
http://api.drupal.org/api/function/drupal_set_title/6
I believe you can do this by writing a simple module, calling mymodule_form_alter(), checking the path (for instance, so it only happens on a Page type as opposed to a Blog type), then using drupal_set_title(‘Custom title’) to change it.
If that happens ‘too late’ in the process, try it with mymodule_init().
You can also look at the String Overrides module.