How to override the "formatting tips" section in Drupal's node creation

Posted on May 27th, 2010 by David Luhman and tagged .

Drupal provides some "formatting tips" just before the submit button when creating nodes.

Sometimes you want to override this text to provide your own "tips" for node creation. Here's how to do this :

In your theme's template.php file, add the following function :


function phptemplate_filter_tips($tips, $long = FALSE, $extra = '') {
return 'Your tips here';
}

Also see this post : http://drupal.org/node/35122

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options