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 drmori on
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
Add this to the template.php file
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.
thanks for the reply, but isn't there a more elegant way
of doing this?
drupal is used so extensively all over, there has to be some simple way of removing that text?
Try Better Formats module
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 !
- Mittal Patel
http://www.MittalPatel.co.in
http://www.TriCoreITSolutions.com
thanks for the reply, but there is no drupal 7 version?
.
Better formats does give you
Better formats does give you some control but does not do what the question was about.
=-=
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?
Better formats gives you the
Better formats gives you the ability to hide that by role. Just go to permissions page.
Related: https://www.drupal.org/node/2414101