Input filters support

VladSavitsky - February 24, 2008 - 16:46
Project:Legal
Version:5.x-1.3
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Can you add an input filters support to text field where admin enters a T&C?
I need a PHP-filter.
This is useful because I could add a links to other nodes to explain some terms etc.

#1

BeatnikDude - July 31, 2008 - 18:29

good idea, 2nd that

#2

Tom Freudenberg - August 14, 2008 - 22:53

Hi you all,

we use localization modul for such things :-) Just enter a string like "legal:tc:1:text" to your legal text box. In case to "translate" english also you need to add english as language a second time, just use "en-EN" for that and disable standard "en".

Now you can go to localization and search for your term. Enter and fill in what you need, its normal HTML here :-)

The only thing, you can't use "HTML Textfield" as Representation for legal Text, but this is not the problem :-)

#3

BeatnikDude - June 11, 2009 - 03:22

6.x-2.2-beta4

"Full HTML" as a filter would be very useful, my clients give me heavily formated legal terms.

#4

NancyDru - August 10, 2009 - 17:16

The project page says it uses filter_xss_admin which is more permissive than any input filter. However, it appears to not be doing that as all my HTML is gone, including stuff that even the "Filtered HTML" filter allows.

 
 

Drupal is a registered trademark of Dries Buytaert.