{{ :blocks:logo-apl.png?nolink |}} ===== Database Activity Behaviour Block: Installation Guide ===== ==== Installation ==== This block requires, in addition to the standard installation, the setting up of: * customscripts to divert the main entry points of the database module. * a renderer override in the theme(s) used on the platform. ==== Standard installation ==== * Unzip the archive into the ''/blocks'' directory of your Moodle installation. * Browse the administration notifications to complete the installation ==== Setting up the customscripts ==== You must have previously enabled customscripts by defining a repository directory for your customscripts in your installation, in Moodle's central ''config.php'' file: $CFG->customscripts = ''; Then copy the content of the ''__customscripts'' folder of the distribution to that location, respecting the inner directory structure. ==== Setting up the theme override ==== In recent versions of Moodle (> 3.1), most themes contain a ''classes'' directory where renderer overrides are stored. If it does not exist, you will have to locate where the theme designer planned to store these classes. Copy the renderer ''mod_data_renderer.php'' located in the ''__theme/classes'' directory of the distribution to that location. Warning, if you already have a quiz renderer override from earlier integrations, then you will have to merge the renderers to provide all the functional overrides. ==== Settings ==== There is no central setting for this block -------------------- [[:block:databehaviour|Back to the component index]] - [[:plugins|Back to the plugin index]]