Dataform view block: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 31: Line 31:
Adds Dataform view block on the front page and configures it to display a view with entries from a dataform in a course.
Adds Dataform view block on the front page and configures it to display a view with entries from a dataform in a course.
==Configuration==
==Configuration==
[[Image:dfv-block-settings.png|frame|right|Dataform view block settings]]
[[File:dfv-block-settings.png]]


* '''Select Dataform:''' Dropdown list of available Dataform instances in the course and the front page.
* '''Select Dataform:''' Dropdown list of available Dataform instances in the course and the front page.
Line 38: Line 38:
* '''Embed:''' If enabled the Dataform view is embedded in an iframe and allows interaction with the content (e.g. adding/editing entries) without leaving the course page.
* '''Embed:''' If enabled the Dataform view is embedded in an iframe and allows interaction with the content (e.g. adding/editing entries) without leaving the course page.
* '''Container CSS:''' When embedded allows setting the iframe styles.
* '''Container CSS:''' When embedded allows setting the iframe styles.
<br clear="both" />





Revision as of 21:18, 14 April 2014

The Dataform view block allows for displaying and interacting with the content of a Dataform activity via a block on course and site pages.

Features

  • Allows selecting a Dataform activity from the course or from the front page.
  • Allows attaching a filter to the selected view.
  • Embedded mode which allows for interacting with the Dataform content without leaving the course page.

Installation

Git clone

Download

Tests

Acceptance

Add dataform view block on the frontpage

Adds Dataform view block on the front page and configures it to display a view with entries from a dataform in a course.

Configuration

dfv-block-settings.png

  • Select Dataform: Dropdown list of available Dataform instances in the course and the front page.
  • Select view: Dropdown list of available views in the selected Dataform.
  • Select filter: Dropdown list of available filters in the selected Dataform.
  • Embed: If enabled the Dataform view is embedded in an iframe and allows interaction with the content (e.g. adding/editing entries) without leaving the course page.
  • Container CSS: When embedded allows setting the iframe styles.


See also