Template:Dataformfield plugin info: Difference between revisions
- Overview
- Activity administration
- Building an activity
- CSS tips and tricks
- JS tips and tricks
- Activating RSS
- Activity workflow
- Grading
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
{{{general settings| | {{{general settings| | ||
===General settings=== | ===General settings=== | ||
====Name==== | |||
Short name for the field. Since the field name is used in field patterns, long convoluted names may make the view template less readable. | |||
====Description==== | |||
Short description of the field purpose and characteristics to allow managers to see at a glance what each field is intended for. This description is displayed only in the field management list. | |||
====Visibile==== | |||
To whom the field (label and content in browse and editing modes) is visible when displaying entries (in views that contain the field pattern). | |||
*Managers only - Users with manageentries capability. | |||
*Owner and managers - Users with manageentries capability and the entry author. | |||
*Everyone - All users. | |||
====Editable==== | |||
Whether the field content can be updated by an entry author without manageentries capability. | |||
====Label ==== | |||
<nowiki>The field label allows for specifying a designated field label that can be added to the view by means of the [[fieldname@]] field pattern. This field pattern observes the field visibility and is hidden if the field is set to be hidden. The field label can also serve as a field display template and it interprets patterns of that field if included in the label. For example, with a number field called Number and the field label defined as 'You have earned [[Number]] credits.' and an entry where the number value is 47 the pattern [[Number@]] would be displayed as 'You have earned 47 credits.' </nowiki> | |||
}}} | }}} | ||
{{{other settings|}}} | {{{other settings|}}} | ||
==Patterns== | ==Patterns== | ||
Line 39: | Line 45: | ||
*'''Content''' – The textual content of the field. | *'''Content''' – The textual content of the field. | ||
}}} | }}} | ||
Revision as of 14:59, 17 February 2014
TBC
Usage
TBC
Settings
General settings
Name
Short name for the field. Since the field name is used in field patterns, long convoluted names may make the view template less readable.
Description
Short description of the field purpose and characteristics to allow managers to see at a glance what each field is intended for. This description is displayed only in the field management list.
Visibile
To whom the field (label and content in browse and editing modes) is visible when displaying entries (in views that contain the field pattern).
- Managers only - Users with manageentries capability.
- Owner and managers - Users with manageentries capability and the entry author.
- Everyone - All users.
Editable
Whether the field content can be updated by an entry author without manageentries capability.
Label
The field label allows for specifying a designated field label that can be added to the view by means of the [[fieldname@]] field pattern. This field pattern observes the field visibility and is hidden if the field is set to be hidden. The field label can also serve as a field display template and it interprets patterns of that field if included in the label. For example, with a number field called Number and the field label defined as 'You have earned [[Number]] credits.' and an entry where the number value is 47 the pattern [[Number@]] would be displayed as 'You have earned 47 credits.'
Patterns
Common field patterns
[[field name@]]: Displays the field label/template.
Sort and Search
The following field elements are available for defining sort and search criteria in Dataform Filters:
Sort
- Content – The textual content of the field.
Search
- Content – The textual content of the field.