Raw Text Formatter

Component ID

1714536

Component name

Raw Text Formatter

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

721

Component created

Component changed

Component body

Adds a format option to display the raw (sanitised) value of a CCK text field.

User Cases

Particularly useful in Views, where you can use the key value of a selected option to rewrite fields like this:

<img src="/sites/default/files/icons/[field_level_value].png" alt="Level" />

[field_level_value] is set to the Raw Text format and fills in the filename of the icon that matches the option selected.