Simple Field Formatter
Component ID
1416930
Component name
Simple Field Formatter
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
14786
Component created
Component changed
Component body
***There is no upgrade path from 1.x to 2.x . Please try in development environment before updating the module in Production site.***
The Simple Field Formatter module allows site administrators to easily control the display of field values with following features
Features:
- Prepend the field value with specified text/HTML
- Append the field value with specified text/HTML
- Reverse the Field Value
- Trim the Field Value
- Convert the field value to lowercase letters
- Convert the field value to uppercase letters
- Convert the first character of the field value to uppercase
- Convert the first character of each word in the field value to uppercase (7.x-1.x-dev)
- Replace some characters with some other characters in the field value (7.x-1.x-dev)
- Link the field value to node(7.x-2.x-dev)
Use Cases:
1)Easily apply HTML wrapper code to field values.
example:
Prefix:<strong>
Suffix:</strong>
2)Seperate inline fields in a field group with a coma
example:
Prefix:,
3)render image from url in a text field.
example:
Prefix: <img src="
Suffix: " />
Supported Field Types:
- Text
7.x-2.x
Has the ability to use this formatter along with other Field Formatters.
Depends on Field formatter settings
8.x-1.x
Doesn't Depend on Field formatter settings as available in core as per Field formatter settings hooks in core
For Advanced users & PHP programmers I recommend http://drupal.org/project/custom_formatters
