Community & Support

CCK fields - how can I remove the formatting guidelines?

Does anyone know how I can remove this from being displayed underneath a CCK field group?

    * Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
    * Lines and paragraphs break automatically.
    * Use <bib>citekey</bib> or [bib]citekey[/bib] to insert automatically numbered references.
    * Use [fn]...[/fn] (or <fn>...</fn>) to insert automatically numbered footnotes.
    * Use [# ...] to insert automatically numbered footnotes. Textile variant.
    * Web page addresses and e-mail addresses turn into links automatically. (Better URL filter.)
    * Web page addresses and e-mail addresses turn into links automatically.
    * You may use [view:viewname] tags to display listings of nodes.

I installed the 'better formats' module following a link, but this only works with normal content types, such as page, story and any that you create yourself.

Anyone out there having the same problem?

Comments

Hiding format tips

Hi,

I added the following functions to my theme template to override the output, as my site users enter content with an RTE and don't need to worry about the formatting...

/*
* Override filter.module's theme_filter_tips() function to disable tips display.
*/
function mytheme_filter_tips($tips, $long = FALSE, $extra = '') {
  return '';
}
function mytheme_filter_tips_more_info () {
  return '';
}

Overriding filter tips

Great, thanks for this. I'll give it a go.

JLT

Super! Thanks for the tip...

Super! Thanks for the tip...

I'm using Drupify as my theme

I'm using Drupify as my theme so I changed this to:

function drupify_filter_tips($tips, $long = FALSE, $extra = '') {
  return '';
}
function drupify_filter_tips_more_info () {
  return '';
}

and placed it in my template.php file. Is this the correct place? Did I modify the function titles correctly?

Any help would be appreciated!

BTW I will be at Drupalcon San Fran in a few weeks. Excited to go!

Thanks,
Frank

Hi klatt im trying to do the

Hi klatt im trying to do the same thing with my theme. I too have changed the mytheme_ bit to the name of my theme but it's not taking out the filter tips. Is it just a cache problem my end? did it work for you? thanks

i have also tried adding this

i have also tried adding this css as suggested eslewhere to another theme

ul.tips {display:none}

i will wait to see if that works on another of my themes.

We are also facing same issue

We are also facing same issue with one of our client. Please confirm if someone has done it and have positive results. Thanks again.

--------
E2 Solutions: SEO Company India

The most likely reason the

The most likely reason the method apparently failed was people did not rebuild the theme registry. You have to do that before the theme overrides take effect.

Steve Turnbull
The Drupal7-ish Blog

Add the following to

Add the following to template.php in themes/YourThemeName

/*
* Override filter.module's theme_filter_tips() function to disable tips display.
*/
function YourThemeName_filter_tips($tips, $long = FALSE, $extra = '') {
  return '';
}
function YourThemeName_filter_tips_more_info () {
  return '';
}

Note :
add this code below <?php
Don't forget to change YourThemeName to your thee name
Don't forget to clear the template cache in your site Administer->Site Configuration->Performance->Clear Cached Data.
worked for drupal 6.19.
nobody click here