Summary
NVP field allows you to create a field type of name/value pairs, with custom
titles and easily editable rendering with customizable HTML/text surrounding the pairs.
This allows you to easily create content blocks of with pairs within divs, list
items, data description lists, or in your own custom plain text.
In addition, customising of the titles for LHS and RHS values allows you to
customse the field to the specific field, rather than a generic "val1" and
"val2". This ensures that the values are presented in a meaningful way to the
user, when they are creating/editing content.
i.e.
<div class="nvppair name">Director</div>
<div class="nvppair value">Dylan Thomas</div>
<div class="nvppair name">Actor</div>
<div class="nvppair value">George Formby</div>
<div class="nvppair name">Producer</div>
<div class="nvppair value">Jaws</div>Instructions
- Create Content type
- Add new field of type NVP
- There are no global field settings
- set the usual items, e.g. Label, Help text, required Field...
- Value 1 title - the title of the left field (name) as presented to the content editor
- Value 2 title - the title of the right field (value) as presented to the content editor
- Prefix text - text/html to be inserted before the two fields (example:
<div class="name">) - Delimiter text - text/html to be inserted between the two fields (example:
</div><div class="value">) - Suffix text - text/html to be inserted after the two fields (example:
</div>)
Sponsored by
Naala Pty Ltd
Project information
- Project categories: Site structure
- Created by john_a on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.