Posted by navs on January 30, 2009 at 9:15am
How can I get rid of the Filtered HTML/Full HTML options below the textarea fields to disappear, it should not be an option at all. I want to decide that at the administrative level depending on the user role.
How can I do this?
Thanks
Navs
Comments
At admin/settings/filters
At admin/settings/filters you can configure the input formats and define which roles can use which. However the default input format is always available to all users.
Note that a user who is not allowed to use the input format of the current page will not be able to edit it.
There may be some contrib modules that modify/extend this behaviour.
You can also use hook_form_alter() in a tiny custom module to control which options are available to which users/roles.
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk
Are you sure that they can
Are you sure that they can see these options now? If they do, check your settings in admin/settings/filters
Ever since I set
Ever since I set admin/settings/filters, I can't see the images anymore on my home page.
I use panels, views 2, drupal 6.6. What could be the problem?
I want to be able to show an advertisement in my home page that uses panels.
Please help.
Thanks
Navs
Take a look at the html
Take a look at the html source of the page in your browser (View -> Page Source menu, or something similar). Do you see
<img src=...>tags for your missing images?If the img tags exists, check if the paths of the images are correct.
If the img tags don't exist, edit one of the nodes which contains images and check its input format. If it is Filtered HTML, then
- either change it to Full HTML
- or go to admin/settings/filters, configure the Filtered HTML input format, and set the HTML filter to accept img tags.
I see the link tag around
I see the link tag around the image tag, but the img tag itself is missing on the page.
and it should work after that?
How do I make the filtered HTML input format acccept the img tag? Do I just add
Navs
Yes. In
Yes. In admin/settings/filters configure Filtered HTML, then click the "Configure" tab and add the
<img>tag in the "Allowed HTML tags" text box.I haven't tried it, but the
I haven't tried it, but the Better Formats module looks like it might be of use.
Dave
"Set a man a flame, keep him warm for a day. Set a man aflame, keep him warm for the rest of his life."
Better Formats
Yes, this is a great module... among other things it removes the confusing tags/explanation underneath the edit screen... great when you are setting up sites for non-techies.
This module should come in
This module should come in handy for your situation.
http://drupal.org/project/filterbynodetype
-----
KahThong.com - Portfolio of Leow Kah Thong
Providing Drupal Themes Services, PSD to Drupal, Consulting, and Website Building
KahThong.com - My portfolio. PHP Web Developer from Malaysia.