Dataformview Aligned: Difference between revisions
From MoodleDocs
Module administration
Creating an activity
- Building an activity
- Activity settings
- Activity administration
- Activating RSS
- Activity workflow
- Applications
Working with the activity
See also
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
{{Dataformview View template}} | {{Dataformview View template}} | ||
===Entry template=== | ===Entry template=== | ||
The entry template of the Aligned view is a simplified definition of a table row. It consists of a list of column definitions, each column definition in a new line. The column definition format: fieldpattern|column header (optional)|cell css class (optional). For example, the following definition will display the entries in a headerless table with 3 columns and the specified field patterns in order: | |||
<nowiki> | |||
[[Name]] | |||
[[Email]] | |||
[[Message]] | |||
The following definition will display the entries in a table with 5 columns and a header row with header titles in the first 3 columns: | |||
[[Name]]|Name | |||
[[Email]]|Email | |||
[[Message]]|Message | |||
##edit## | |||
##delete## | |||
</nowiki> | |||
{{Dataformview Submission settings}} | {{Dataformview Submission settings}} | ||
==Patterns== | ==Patterns== | ||
{{Dataformview View patterns}} | {{Dataformview View patterns}} | ||
===Type specific patterns=== | ===Type specific patterns=== |
Revision as of 13:40, 29 January 2014
Settings
Entry template
The entry template of the Aligned view is a simplified definition of a table row. It consists of a list of column definitions, each column definition in a new line. The column definition format: fieldpattern|column header (optional)|cell css class (optional). For example, the following definition will display the entries in a headerless table with 3 columns and the specified field patterns in order: [[Name]] [[Email]] [[Message]] The following definition will display the entries in a table with 5 columns and a header row with header titles in the first 3 columns: [[Name]]|Name [[Email]]|Email [[Message]]|Message ##edit## ##delete##