turning on unfiltered html posts for drupal bloggers

djfingers's picture

I'm using CCK (Acquia Drupal) and usually post as admin and haven't noticed this issue, but other members who are contributing blog posts (and other content via cck fields) aren't given the option to change from filtered html to unfiltered html. Basically I need to be able to allow my contributors the ability to add embed video tags, etc.

Also related to this, can you default a cck field to be only unfiltered html. I'd like to add a field on another node type that is always unfiltered html.

Login to post comments

Input Format Roles?

apperceptions's picture
apperceptions - Fri, 2009-02-13 00:54

Sounds like your input format "Role" settings do not include your contributors roles. These are checkboxes in the input format configs. In D5 or D6, go to Admin > Site Configuration > Input formats and click each 'configure' link. Look for the "Roles" fieldset where it says:

"Choose which roles may use this filter format. Note that roles with the "administer filters" permission can always use all the filter formats."

While you can set whether or not a CCK text field uses filtered text or not, it does not appear that you can select the default input format on a per field basis when filtered text is selected. Perhaps someone knows a module to allow this?

--

Markus Sandy
http://apperceive.com
http://ourmedia.org


Thanks that did it! A module

djfingers's picture
djfingers - Fri, 2009-02-13 02:16

Thanks that did it!

A module or cck setting to define a default would be great.

--
John Arroyo | www.remixin.com | www.johnarroyo.com


be aware that unfiltered

arh1's picture
arh1 - Mon, 2009-02-16 15:18

be aware that unfiltered HTML is an inherent security risk and should only be allowed for trusted users.

alternatives include allowing additional tags for the filtered input format (from the input format configuration screen), or using specific fields to allow certain content that requires unsafe tags (e.g. by using the emfield module to allow users to "embed" videos).

hth


indeed

greggles's picture
greggles - Wed, 2009-02-18 20:39