About Dimension Fieldtype
Field that stores 3 integer values for width/height/depth.
|Category 1||Field Types|
Fieldtype modules that represent a data type used by fields.
|Category 2||Input Fields|
Inputfield modules that provide a UI input widget in the ProcessWire admin.
Close to stable, but users are advised to be cautious and test thoroughly.*
|Compatibility||2.1, 2.2, 2.3, 2.4|
|Date Added||July 18, 2013|
This module's files should be placed in /site/modules/FieldtypeDimension/
How to install or uninstall modules
This fieldtype let's you define 3 dimensions width / height / depth as integer.
There's a property for each dimension
echo $page->fieldname->width; echo $page->fieldname->height; echo $page->fieldname->depth;
There's also support for a computed value of the volume. WHD. This will get stored additionallyto the database and updated every time a dimension value changed. So it can also be used in selectors for querying.
The dimensions can be used in selectors like:
- There's field settings for the width of the inputs in pixels.
- There's a input setting to add a suffix string to each input like "mm" or whatever you like.
Download and place the module folder named "FieldtypeDimensions" in:/site/modules/
In the admin control panel, go to Modules. At the bottom of thescreen, click the "Check for New Modules" button.
Now scroll to the FieldtypeDimension module and click "Install". The required InputfieldDimension will get installed automatic.
Create a new Field with the new "Dimension" Fieldtype.
No comments yet. Be the first to post!
Your e-mail is kept confidential and not included with your comment. Website is optional.
- Admin Helpers
- Core Modules
- Development Tools
- Field Types
- File Validator
- Input Fields
- Language Modules
- Language Packs
- Markup Generation
- Premium Modules
- Process Modules
- Proof of Concept
- Site Profiles
- Social, Feeds, Services
- Text Formatters
- Other Modules
- Users and Access
*Use modules at your own risk. There are no guarantees or warranties. It is recommended that you backup your site and database before installing new modules.