Local plugin that automatically configures Moodle in the DD project.
This plugin version is tested for:
- Moodle 3.10.1+ (Build: 20210219) - 2020110901.06
- English
- Log in to your Moodle site as an admin and go to Site administration > Plugins > Install plugins.
- Upload the ZIP file with the plugin code. You should only be prompted to add extra details if your plugin type is not automatically detected.
- Check the plugin validation report and finish the installation.
The plugin can be also installed by putting the contents of this directory to
{your/moodle/dirroot}/local/dd
Afterwards, log in to your Moodle site as an admin and go to Site administration > Notifications to complete the installation.
Alternatively, you can run
$ php admin/cli/upgrade.php
to complete the installation from the command line.
Go to the URL:
{your/moodle/dirroot}/admin/settings.php?section=local_dd
- No settings
php local/dd/postinstall.php --wwwroot="moodle.mydomain.com" --createcertsaml=1 --timezone="Europe/Madrid" --ncadmin="admin" --ncpass="SuperSecret" --sitename="DD" --contactname="DD" --contactemail="[email protected]" --smtphost="smtp.mymailserver.com" --smtpport="587" --smtpuser="[email protected]" --smtppass="SuperSecret" --smtpprotocol="tls" --noreply="[email protected]" --emailprefix="[moodle]" --emailws="[email protected]" --updatelangs=1
- wwwroot: Domain without https://
- createcertsaml: Create SAML certificate - 1: yes, 0: not
- timezone: Time Zone. Ex: Europe/Madrid
- ncadmin: NextCloud Admin User
- ncpass: Nextcloud Admin Pass
- sitename: Site Name
- contactname: Contact Name
- contactemail: Contact Email
- smtphost: SMTP Host
- smtpport: SMTP Port
- smtpuser: SMTP User
- smtppass: SMTP Password
- smtpprotocol: SMTP Protocol
- noreply: EMAIL No Reply
- emailprefix: Email Subject Prefix
- emailws: Email User WebService
- updatelangs: Update Languages Strings - 1: yes, 0: not
When making changes to text string translations, you must export the .zip file for each language and leave it in this folder
local/dd/custom_langs
The file name must have this structure
customlang_ca.zip
customlang_es.zip
customlang_en.zip
These files will be used for automatic DD deployment
To perform the export, we must go to the page:
{your/moodle/dirroot}/admin/tool/customlang/index.php
Select lang and click in 'Export custom strings' button