You are here

readme.txt in Formatter Field 8

Formatter field
===============

The formatter field module provides a mechanism for specifying a formatter and
formatter settings to be used for displaying a field, on a per-entity basis. By
default, Drupal provides formatters and settings per entity bundle, but in 
certain situations it is necessary to choose the formatter at the entity level.

For example, say you have a page node with an image field. Normally, you would
select an image style as the formatter, and all page nodes would use that same
image style.  With this module, you can add a formatter field to page nodes,
which is hooked up to the image field.  Then when the node is created or edited,
the image style can be selected per-node.

Usage
-----

1. Add the field that will be dynamically formatted as usual.
2. Add a formatter field to the entity bundle, just as you would with any
   other field.
3. In the field instance settings, choose the field that will be formatted by
   this field.
4. In the bundle display settings, select 'Formatter from field' as the
   formatter for the field to be formatter.

File

readme.txt
View source
  1. Formatter field
  2. ===============
  3. The formatter field module provides a mechanism for specifying a formatter and
  4. formatter settings to be used for displaying a field, on a per-entity basis. By
  5. default, Drupal provides formatters and settings per entity bundle, but in
  6. certain situations it is necessary to choose the formatter at the entity level.
  7. For example, say you have a page node with an image field. Normally, you would
  8. select an image style as the formatter, and all page nodes would use that same
  9. image style. With this module, you can add a formatter field to page nodes,
  10. which is hooked up to the image field. Then when the node is created or edited,
  11. the image style can be selected per-node.
  12. Usage
  13. -----
  14. 1. Add the field that will be dynamically formatted as usual.
  15. 2. Add a formatter field to the entity bundle, just as you would with any
  16. other field.
  17. 3. In the field instance settings, choose the field that will be formatted by
  18. this field.
  19. 4. In the bundle display settings, select 'Formatter from field' as the
  20. formatter for the field to be formatter.