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

matkeane’s picture

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 '';
}
jenifertucker’s picture

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

Sinan Erdem’s picture

Super! Thanks for the tip...

klatt’s picture

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

kompressaur’s picture

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

kompressaur’s picture

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.

E2 Solutions’s picture

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

adaddinsane’s picture

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, D8 developer

Like Science Fiction, Fantasy or Steampunk stories? Check out https://taupress.com/book-list

krisna123’s picture

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.

sere02’s picture

Hi krisna 123

I followed your instructions and this is the error message i get "Warning: Unterminated comment starting line 152 in C:\wamp\www\bmm\sites\all\Themes\mytheme\template.php on line 152"

sere02’s picture

Hi krisna 123

i'm using 6.12 and it worked, problem is i'm getting this error message on top "Warning: Unterminated comment starting line 160 in C:\wamp\www\mysite\sites\all\Themes\mytheme\template.php on line 160"

Please assist?

RogerGallager’s picture

I am trying to use this method however; there seems to be a problem. I am getting an error.