Go to file
Mark Nelson fa5d45eef3 Completely refactored the code for editing a custom certificate
The elements for each page are listed in a table below the other page settings, meaning each page has a separate table for listing their elements. Each element is now edited in a pop-up, rather than having all the element settings displayed at once on the form causing it to look overcrowded. There is also no longer any need for the function add_element to add default values for the elements when they are added, as a a form is shown when you click to add an element where you can enter the values before it is created.

Note: I did not create a db/upgrade.php script to add the new database columns as this module should not be currently used by anyone.
2013-06-07 16:04:38 +08:00
db Completely refactored the code for editing a custom certificate 2013-06-07 16:04:38 +08:00
elements Completely refactored the code for editing a custom certificate 2013-06-07 16:04:38 +08:00
includes Introduced functionality to save and load customcert templates 2013-05-16 13:17:34 +08:00
lang/en Completely refactored the code for editing a custom certificate 2013-06-07 16:04:38 +08:00
pix Module will install successfully with limited functionality 2013-02-18 11:48:16 +08:00
edit.php Completely refactored the code for editing a custom certificate 2013-06-07 16:04:38 +08:00
edit_element.php Completely refactored the code for editing a custom certificate 2013-06-07 16:04:38 +08:00
edit_element_form.php Completely refactored the code for editing a custom certificate 2013-06-07 16:04:38 +08:00
edit_form.php Completely refactored the code for editing a custom certificate 2013-06-07 16:04:38 +08:00
lib.php Completely refactored the code for editing a custom certificate 2013-06-07 16:04:38 +08:00
load_template.php Introduced functionality to save and load customcert templates 2013-05-16 13:17:34 +08:00
load_template_form.php Introduced functionality to save and load customcert templates 2013-05-16 13:17:34 +08:00
mod_form.php Completely refactored the code for editing a custom certificate 2013-06-07 16:04:38 +08:00
README.md Module will install successfully with limited functionality 2013-02-18 11:48:16 +08:00
report.php Added a CSS class to centre the download button and report table to stop the use of deprecated attributes and also added full-stops to comments 2013-06-06 11:14:01 +08:00
save_template.php Introduced functionality to save and load customcert templates 2013-05-16 13:17:34 +08:00
save_template_form.php Introduced functionality to save and load customcert templates 2013-05-16 13:17:34 +08:00
styles.css Added a CSS class to centre the download button and report table to stop the use of deprecated attributes and also added full-stops to comments 2013-06-06 11:14:01 +08:00
version.php Updated package and removed subpackage from PHPDocs 2013-04-26 15:39:59 +08:00
view.php Removed unnecessary second parameter for the render function 2013-06-06 11:14:06 +08:00

QUICK INSTALL

There are two installation methods that are available. Follow one of these, then log into your Moodle site as an administrator and visit the notifications page to complete the install.

==================== MOST RECOMMENDED METHOD - Git ====================

If you do not have git installed, please see the below link. Please note, it is not necessary to set up the SSH Keys. This is only needed if you are going to create a repository of your own on github.com.

Information on installing git - http://help.github.com/set-up-git-redirect/

Once you have git installed, simply visit the Moodle mod directory and clone git://github.com/markn86/moodle-mod_customcert.git, remember to rename the folder to customcert if you do not specify this in the clone command

Eg. Linux command line would be as follow -

git clone git://github.com/markn86/moodle-mod_customcert.git customcert

Use git pull to update this repository periodically to ensure you have the latest version.

==================== Download the customcert module. ====================

Visit https://github.com/markn86/moodle-mod_customcert and download the zip, uncompress this zip and extract the folder. The folder will have a name similar to markn86-moodle-mod_customcert-c9fbadb, you MUST rename this to customcert. Place this folder in your mod folder in your Moodle directory.

nb. The reason this is not the recommended method is due to the fact you have to over-write the contents of this folder to apply any future updates to the customcert module. In the above method there is a simple command to update the files.