Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By saitanay on
can any 1 tell me or point to some links for
best way to hide/remove the formatting guidelines and the link "More information about formatting options" below the comment form in DRUPAL 6?
Comments
http://drupal.org/project/bet
http://drupal.org/project/better_formats
Avoid modules for tasks that
Avoid modules for tasks that simple.
Override theme_filter_tips_more_info() in your template.php file
and return an empty string in this function.
As usual, the word "theme" in theme_filter_tips_more_info() has to be replaced with your theme name, for example, for a theme named rikantonay :
Override not working
Hi, i have the same problem, and was about to add this code to my template.php to discover it's already there (using BlogBuzz theme), is there anything else that could override this override!?
I have the following in my theme template.php file
Solved
Don't worry sorted this now, was getting confused with which modules I had on which sites (developing on 3 separate sites currently).
FYI: The override of this theme hook is caused by the module mentioned above, which even more confusingly doesn't hide the tips for user 1 anyway!
- more coffee needed obviously!
Add the following to
Add the following to template.php in themes/YourThemeName
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.
Thanks
Thanks,
This work for me Fine.