[support] Possible to set default input format based on role?

Mike Bishop mbishop at adamsonadvertising.com
Thu May 10 18:38:22 UTC 2007


You can limit the html that they can input for instance turn off the p tag
or the strong tag. I am not sure about the actual field though. You could
always strip the tags on the display if the node author is anonymous. That
way even if they did find a way to get around and post html it wouldn't
render.


On 5/10/07 11:51 AM, "Jody Cleveland" <cleveland at winnefox.org> wrote:

> I noticed you can hide TinyMCE from anonymous users, but doesn't that still
> enable html for them?
> 
> - jody
> 
> 
> On 5/10/07 11:46 AM, "Mike Bishop" <mbishop at adamsonadvertising.com> wrote:
> 
>> You can do this with profiles on TinyMCE.
>> 
>> 
>> On 5/10/07 11:42 AM, "Jody Cleveland" <cleveland at winnefox.org> wrote:
>> 
>>> Hello,
>>> 
>>> In Drupal 5.1, is it possible to set the default input format for specific
>>> roles? Basically, I've got a role setup for content editors on the site. For
>>> them, I'd like to allow pretty much full html. For anonymous users, I don't
>>> want to allow any. All they'll be doing is posting comments anyway.
>>> 
>>> Is this possible to do? I know I can have users select the input format for
>>> each one, but I'd like to set defaults for specific roles.
>>> 
>>> - jody
>> 




More information about the support mailing list