blocks_retained:dashboard:install

Installation

Dashboard block

Dashboard block installs the usual way in moodle:

  1. Unzip the archive into the /blocks directory of the moodle installation
  2. Browse to Site Administration > Notification to finish logical install.

Dependencies

  • The dahboard block uses the additional graphic library compilation provided by Graphic additional libraries for JQPlot graphs, timeline and googlemaps.

Global settings

There are at least 3 features that may need global configuration by the moodle administrator. These are located into the Site administration > Plugins > Blocks > Dashboard administration menu:

Alternate data source configuration

The Dashboard block was designed initially to publish in moodle some external data reports comming from an associated ERP. the dashboard still has this alternate data source definition (PostGreSQL only) that may be used by some dashboard block instances if required.

  • Database host (PostGreSQL)
  • Database port
  • Database name
  • Database user (generally reader user)
  • Database password

Big results overload protection

On heavy duty moodles, some queries may accidentally process a very lot of data and may require a DB server load that is incompatible with usual production. the following parameters setup some protection against such “big results” requests.

  • Big results protection : When this protection is enabled, an additional LIMIT clause is forced on all queries, even if the entered query does not have any.
  • Protect editing mode : When this setting is enabled, the queries are NOT executed when the current mode is “editing”, so it will be easier to browse back to block configuration if a query bursts the database engine.

Global settings for file exports

the following parameters give some default values for the file export scheduled batch. these settings may be locally overriden in the block instance.

  • Hour of the data export
  • Minute of the data export
  • Weekly frequency of the export

Back to the block index

blocks_retained/dashboard/install.txt · Last modified: 2024/05/14 15:37 (external edit)