-

Note: You are currently viewing documentation for Moodle 3.10. Up-to-date documentation for the latest stable version of Moodle may be available here: Dataform Views.

Dataform Views: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 2: Line 2:
{{Dataform Docs Note 1}}
{{Dataform Docs Note 1}}
Dataform views allow you to control the way information is presented in the Dataform activity.  
Dataform views allow you to control the way information is presented in the Dataform activity.  
==Common settings==
===Name===
Short name for the view. The view name can be used in certain view patterns in which case the format of the name should as simple as possible, only alpha or alphanumeric characters, to avoid pattern parsing problems.
===Description===
Short description of the view purpose and characteristics to allow managers to see at a glance what each view is intended for. This description is displayed only in the view management list.
===Visibility===
This setting allows denying students' access to the view. The setting does not affect managers' (manage templates capability) access.
*Disabled: Students cannot access the view and do not see the view name in the views menu.
*Enabled: Students can access the view but do not see the view name in the views menu.
*Visible: Students can access the view and can see the view name in the views menu.
===Filter===
A predefined filter from the Filters list (if any) that will be enforced in the view.
===Per page===
The max number of entries to display in the view at any given time. If the number of viewable entries is higher than the selected per-page a paging bar will be displayed (provided the ##pagingbar## is added to the view template).
==Standard types==
==Standard types==
===[[Dataformview Aligned|Aligned]]===
===[[Dataformview Aligned|Aligned]]===
Line 18: Line 32:
===[[Dataformview Tabular|Tabular]]===
===[[Dataformview Tabular|Tabular]]===
The most common view, this view presents information in a table. The tabular view is useful both for editing and display purposes.
The most common view, this view presents information in a table. The tabular view is useful both for editing and display purposes.
==Installing Dataformview add-ons==
==Developing Dataformview add-ons==

Revision as of 01:27, 27 January 2014


Dataform views allow you to control the way information is presented in the Dataform activity.

Common settings

Name

Short name for the view. The view name can be used in certain view patterns in which case the format of the name should as simple as possible, only alpha or alphanumeric characters, to avoid pattern parsing problems.

Description

Short description of the view purpose and characteristics to allow managers to see at a glance what each view is intended for. This description is displayed only in the view management list.

Visibility

This setting allows denying students' access to the view. The setting does not affect managers' (manage templates capability) access.

  • Disabled: Students cannot access the view and do not see the view name in the views menu.
  • Enabled: Students can access the view but do not see the view name in the views menu.
  • Visible: Students can access the view and can see the view name in the views menu.

Filter

A predefined filter from the Filters list (if any) that will be enforced in the view.

Per page

The max number of entries to display in the view at any given time. If the number of viewable entries is higher than the selected per-page a paging bar will be displayed (provided the ##pagingbar## is added to the view template).

Standard types

Aligned

This view presents data in rows aligned to the left.

CSV

This view allows you to import and export data to a csv file.

Grid

Two dimensional view where each entry is presented in a table cell. This view allows you to control the number of columns and raws that will be displayed on a single page. An extension to the grid view that allows you to add your own header and footer before and after repeated table entry.

Interval

This view allows you to set duration interval according to which the information is displayed. You can group the information by certain field tag or rating and you can control the the number of entries to be displayed on each page. This view is particularly useful for content display.

PDF

With this view you can display and export data to PDF file.

RSS

With this view you can display and export data to PDF file.

Tabular

The most common view, this view presents information in a table. The tabular view is useful both for editing and display purposes.

Installing Dataformview add-ons

Developing Dataformview add-ons