Skip to content

3iPunt/moodle_local_dd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local plugin for DD

Local plugin that automatically configures Moodle in the DD project.

Compatibility

This plugin version is tested for:

  • Moodle 3.10.1+ (Build: 20210219) - 2020110901.06

Languagues

  • English

Installing via uploaded ZIP file

  1. Log in to your Moodle site as an admin and go to Site administration > Plugins > Install plugins.
  2. 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.
  3. Check the plugin validation report and finish the installation.

Installing manually

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.

Global Configuration

Go to the URL:

{your/moodle/dirroot}/admin/settings.php?section=local_dd
  • No settings

CLI

  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

CUSTOM LANGS

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

Export file

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

About

Local Plugin for DD Configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages