Drupal 6 - Remove / Hide Formatting Options Link in Comment Form

In this tutorial, we show you how to remove the "More information about formatting options" text that Drupal places below the comment text area by default.

This is usually done to clean up the comments text area as the formatting options can look quite ugly and out of place.

Just add the following code to the "template.php" file that exists in the directory of the theme that you are using. If the file does not exist just create it.

The code to be added is shown below:

function phptemplate_filter_tips_more_info()
{
    return '';
}

We simple override an existing Drupal function with our own, which has instructions to return an empty string.

Remember to clear your cache after making the changes for best results. Hopefully this helps to clean up the comment area of your Drupal website.

Your "More information about formatting options" link should now be gone. We hope this tutorial was useful.

Thank Tutorial Arena for This Tutorial.
Show your appreciation with a +1...