How to remove "More information about formatting options" link from the node submission form? I don't need this link and it points to an empty "". Please guide me.




ShawnGregg’s picture

I am fairly new to drupal but not CSS. You can use the adjacent CSS selector technique. This is probably not the best solution since it only hides the link rather than remove it. This link usually comes after the "Allowed HTML tags:" unordered list and since this list has the class "tips" we can simply hide it by using css: {display:none}

/* .. and to hide the link */ + a{display:none}
hpk’s picture

Thanks shalosophy for the reply... I'll try it out...

[De-centralizing the central issues]

hpk’s picture

Thanks shalosophy for the reply... I'll try it out...

[De-centralizing the central issues]

ablemike’s picture

Hiding content in CSS is fine, but I'd actually like to remove it permanently.

strangeways’s picture

I don't know if this is the best way to do this, but it worked for me.

1. Create a new module, such as example.module

2. Place the following function in the module

function example_form_alter($form_id, &$form) {
	if ($form_id == 'comment_form') {
		foreach ($form['comment_filter']['format'] as $i => $filter) {
			if (is_int($i) && !$filter['#type']) {
				$form['comment_filter']['format'][$i]['#value'] = '';

3. Activate the module

ryanscottdavis’s picture

You just have to remove a line in filter.module (altering core! oh no!) to make it work.

in the function filter_form() [which is on line 796 of filter.module]

   $form[] = array(
    '#type' => 'markup',
    '#value' => $extra,

where "$extra = l(t('More information about formatting options'), 'filter/tips');

I changed that the first part to read...

   $form[] = array(
    '#type' => 'markup',
    '#value' => NULL,

This correctly removes the link and line from all the areas (mostly custom themed areas) it affects. You could also change $extra to something of your liking.

There's more info on this same solution here -

mikesmullin’s picture

You can also use a theme hook for this. I added the following to my template.php, and it works like a charm!

 * Implementation of theme_filter_tips_more_info().
 * Used here to hide the "More information about formatting options" link.
function phptemplate_filter_tips_more_info() { return ''; }

Mike Smullin

Rob T’s picture

Sure does work like a charm. Thanks for the tip.

Dominion’s picture

Dose it matter where I add this?

langweer’s picture

Yes, paste it into the template.php of your theme.
No, it doesn't matter where. I recommend at the end.

jeannea’s picture

why, its not working for me?!is it also applicable for D6?

JamesMarie’s picture

So I went into the filter.module and on line 581 I found

* Format a link to the more extensive filter tips.
* @ingroup themeable
function theme_filter_tips_more_info() {
return '

'. l(t('More information about formatting options'), 'filter/tips') .'


and I changed it to
* Format a link to the more extensive filter tips.
* @ingroup themeable
function theme_filter_tips_more_info() {
return '

'. l(t(''), 'filter/tips') .'


basicly I just removed the name for the link - worked for me! :)

jeannea’s picture


gcassie’s picture

it does work in D6 but you have to rebuild the theme registry after you add it.

khan2ims’s picture

Wow .. It worked so nicely .. and avoided hack to core module and also use of display: none which i generally avaoid for SEO reasons.

Thanks .

Imran Khan
Project Manager
New Earth Marketing

skizzo’s picture

function phptemplate_filter_tips_more_info() { return ''; } works nicely...
Now, how would one apply that to every user except userid 1 ?

mayur.pimple’s picture

It's work


Mayur Pimple.
Mobile: 7507839461
Pune, India.

nirvanajyothi’s picture

Medicine,Surgery ...and Drupal.

winawer’s picture

Just install Better Format Module and go to this address:


you can replace anything with "More information about formatting options".

thanks "nirvanajyothi" for your Help!

davidwhthomas’s picture

This CSS hack works for me (D6)

/* hide filter tips */{
div.body-field-wrapper a{
mcaden’s picture

In D6 you can use;

    function theme_filter_tips_more_info() { return ''; }

replacing theme with the name of your theme and inserting that line into template.php - it's a bit cleaner than the CSS trick.

(old thread I know, but it's what I needed and nobody stated this for D6)

revnoah’s picture

Nice solution! Much better than css.

Alex Andrascu’s picture

Or you can:

function phptemplate_filter_tips_more_info() { return ''; }
function phptemplate_filter_tips() { return ''; } 

to hide all filter tips .

Mehrdad201’s picture

I am using drupal 6.22

I used function theme_filter_tips_more_info() { return ''; }

and also I changed the word of theme to my theme name .

but it doesn't work :(

tyler.frankenstein’s picture

Don't forget to flush your theme registry.

webthingee’s picture

I would hide the "p" tag that surrounds this "a" tag so there's no floating

in your document.

rudeboyintrouble’s picture

Thanks davidwhthomas and webthingee, I used your css and .p. tag suggestion.

Worked a charm on D6 Garland.

Stitchard’s picture

Gotta love CSS!

Many thanks for the tip - very easy.

mmugo’s picture

The template.php function worked well for me, I am using amity_island theme.

function amity_island_filter_tips_more_info() { return ''; }

I think this is a cleaner way to do so

scott_earnest’s picture

I am using garland as administration theme for content editing. I don't want to update template.php in the core garland them. I ended up putting this into a custom module.

function garland_filter_tips_more_info() { 
	return ''; 

Any comments on if this is a bad practice or not? If the core garland theme ever decides to override this function I would have an error on the site with a function pre-declared. I tried other names similar to "custom_module_filter_tips_more_info" but no luck.

Any thoughts would be appreciated.

picxelplay’s picture

Copy the garland theme from themes/garland to sites/all/themes/garland, and then modify its template.php.

Sudo Kill Cylons

mrvinch’s picture

Just in case anyone spends time scratching their head like I did.

If you attempt to use the theme function override solution:
function phptemplate_filter_tips_more_info() { return ''; }

while you have Better Formats enabled, the module will put the "More information about..." text back and your override will appear not to work.

When I disabled the Better Formats module, the text disappeared.
I don't have a use yet for the Better Formats module so have not looked into getting both the module and the override working together.

DaveNotik’s picture

I have better_formats installed and you're right, it adds its own "More information..." line.

Going to admin/settings/filters/settings and setting the "MORE FORMAT TIPS LINK TEXT:" option to a space (" ") was an easy way to remove it.


mari3.14’s picture

@DaveNotik, thanks, I have Better Formats installed and you tip worked like a treat.

However afterwards I discovered that this can be easier controlled by using the permissions offered by the Better Formats module: admin/user/permissions

aosiname’s picture

@mrvinch yeah thats how id do it and yes it works

wer0ckz’s picture