Dataform view block: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
Introduction
{{Infobox plugin
|type = Blocks
|set = https://moodle.org/plugins/browse.php?list=set&id=4
|entry = http://moodle.org/plugins/view.php?plugin=block_dataform_view
|tracker = https://tracker.moodle.org/browse/CONTRIB/component/13430
|discussion = http://moodle.org/mod/forum/view.php?id=3505
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]
}}
 
{{Dataform | innertrail = ► [[Dataform Plugins|Plugins and components ]]  }}
 
The Dataform view block allows for displaying and interacting with the content of a [[Dataform_module|Dataform activity]] via a block on course and site pages.
 
==Features==
==Features==
* Overview description here <br>
* Allows selecting a Dataform activity from the course or from the front page.
[[Image:Sample_screen_shot|thumb|500px|center|Title of screenshot]]
* Allows attaching a filter to the selected view.
* Embedded mode which allows for interacting with the Dataform content without leaving the course page.
 
==Installation==
==Installation==
Install instructions
===Git clone===
==Tips and tricks==
* Type the following command in the root of your Moodle install: git clone git://github.com/itamart/moodle-block_dataform_view.git blocks/dataform_view
*  
* Add /blocks/dataform_view to your .git/info/exclude.
==See also==
* Visit http://yoursite.com/admin to finish the installation.
*[http://moodle.org/plugins/view.php?plugin=block_dataform_view Dataform view block] is a Modules and plugins database page that has download links and more information.
 
*Discussions: [http://moodle.org/mod/forum/view.php?id=3505 Database activity forum]
===Download===
[[Category:Contributed code]]
* Download zip from: https://github.com/itamart/moodle-block_dataform_view/zipball/master or http://moodle.org/plugins/pluginversions.php?plugin=block_dataform_view
* Unzip into the 'blocks' subfolder of your Moodle install.
* Rename the new folder to dataform_view.
* Visit http://yoursite.com/admin to finish the installation.
 
===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==
[[File: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.
 
 
[[Category:Block]]

Latest revision as of 13:07, 28 March 2015


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.