I have a content type that uses rich text format to write nodes.
when authenticated users add a node, they see "More information about text formats" and additional information.

I want to make that disappear for authenticated users that are not administrators

how can i do that?

thank you

Comments

moreorless’s picture

You can remove the link for all users by placing the following code in your theme's template.php file.

Don't know how to configure it so that the link is visible to administrators only.

////////////////////////* HIDE FILTER TIPS MORE INFO *////////////////////////
/**
 * Implementation of theme_filter_tips_more_info() in /modules/filter/filter.module.
 * Used here to hide the "More information about text formats" link in editor panels.
 */
function AddYourThemeNameHere_filter_tips_more_info() { return ''; }
drmori’s picture

of doing this?

drupal is used so extensively all over, there has to be some simple way of removing that text?

mittalpatel’s picture

Hey there,
You should try out http://drupal.org/project/better_formats module which gives pretty good control over hiding More information links role wise.
Hope that helps !

drmori’s picture

.

masterperoo’s picture

Better formats does give you some control but does not do what the question was about.

VM’s picture

based on: "Hide format tips per role" which is quoted from the project page of better formats module, it does fulfill the question asked in the opening post.

Could you provide some elaboration on why you don't see the fit?

rcodina’s picture

Better formats gives you the ability to hide that by role. Just go to permissions page.

Related: https://www.drupal.org/node/2414101