field:expression

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

# field: expression
## Description
This field provides a widget to enter php-code to compute the value. This value can be computed from other values of the same entity or from system values. The value is always stored in the database but you can decide whether to use the stored value or recompute the value before displaying it. It also contains a formatter to format the computed value.

Feet Inches Formatter

Component type

module

Maintenance status

Development status

Downloads

356

Component created

Component changed

A display formatter for number (Integer, Decimal, Float) fields to output as feet + inches. Values are assumed to be in inches.

  • Single values are supported, say for length.
  • Multiple values are supported, such as height x width, or h x w x d.

Does not currently work with Measured Value fields.

Complex Field

Component type

module

Categories

Maintenance status

Development status

Downloads

274

Component created

Component changed

This module was written to avoid the mind-numbing tedium of writing custom field types for Drupal. Eventually, I hope to improve this module to the point where at least the API part of it can be included in Drupal core so that field developers have an easy way to set up fields with complex values.

Development happens over at https://github.com/cweagans/complex_field, and code will be synced back to Drupal.org occasionally. Issue tracking should happen on the d.o issue queue.

Compressed Filefield Widget

Component type

module

Maintenance status

Development status

Downloads

239

Component created

Component changed

This module provides a "Compressed filefield" widget for fields of type file that allow to archive and compress files attached to an entity into one single file. So in principle this filefield widget can gather both files and images from other fields of type file and image.