Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download mvf-7.x-1.0-beta1.tar.gztar.gz
31.62 KB
MD5: 4d28f7b18c127f4fb7c3fb01e9d0c188
SHA-1: 8047f50ee3e8b0249c4ec4c3f2a6ca50ec1339c8
SHA-256: 4cdcaa3e310b3770127fa3b0222b75f8b23fb8ac078e0ddd7a02af36b25b4416
Download mvf-7.x-1.0-beta1.zipzip
39.14 KB
MD5: 465cde850df6ca080f747c1b9c0f8ee6
SHA-1: 44bdf02c1b145db800abf3d98dcbba4437b966eb
SHA-256: 98e52fb0e036559ef60572338bb992ec8738481e34bd08c817567877c674d587
Release notes
A bunch of improvements, module has noticeably matured. New features include:
- Output unit measures either by its label or symbol (kilometer vs km)
- Ordering unit and value (10 km vs km 10) - sometimes it makes sense to put units in front of value
- Unit and value are output inline
- Views filters and sorting on MVF fields
- Grain control over the output unit ("UnitSuggesters").
Unit Suggesters
Each unit suggester represents a logic, by which to decide in what units to output value. For example:
- logic of "output all values in whatever units they were entered"
- logic of "output all values in Km"
- logic of "output all values in Km for French locale and output all values in Miles for English US locale"
Then you enable/disable these unit suggeters and re-order their priority so you can achieve quite control on output units without even coding anything.