Wednesday, November 21, 2012

hide/remove the formatting guidelines and the link "More information about formatting options"

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. 


  1. Nice and very informative blogs.All point describe step by step. Thanks for sharing. - Website Development Companies.

  2. Thanks for nice post. It is complicated to me now, but in typical, the efficiency and significance is annoying. Very much thanks again and best of luck!Thanks for sharing. Website Maintenance in Mumbai || Website Development || Website Development in Mumbai

  3. Excellent post, I agree with you 100%! I’m always scouring the Internet for new information and learning whatever I can, and in doing so I sometimes leave comments on blogs. Web Designing || Web Designing in Mumbai || Website Maintenance

  4. It was very useful for me. Keep sharing such ideas in the future as well. This was actually what I was looking for, and I am glad to came here! Thanks for sharing the such information with us. CMS Website Design || CMS Website Developer || CMS website development company

  5. Thanks for great information you write it very clean. I am very lucky to get this tips from you.Website Designing Company | Web Designing Companies Bangalore


only show translated menu items into current language (Drupal 8)

function MY_THEME_preprocess_menu(&$variables) {   if ($variables['menu_name'] == 'brancott-header-menu') {    $langu...