No description
Find a file
Mark Nelson 43d20c0d1b Huge refactor
1) Every certificate is a template. Before a user would create a certificate then had
the option to save it as a template. This could potentially be chaotic with numerous
users creating templates, making the template system a mess. Now, rather than creating
a certificate first, then saving it as a template, you are always creating a template.
Each template is associated with a context, so depending on where you are creating it
the context is different. This means users in the CONTEXT_MODULE context are creating
a template specific to that module, where as a user creating a template in the
CONTEXT_SYSTEM context would be creating a general template that can be used by others.
This meant we can remove the 'customcert_template_*' db tables. Yay - no duplicated
tables.
2) Created new helper classes and moved functionality there.
3) Moved files to classes/ for autoloading.
4) General tidy up.
2016-02-20 16:35:19 +08:00
backup/moodle2 Huge refactor 2016-02-20 16:35:19 +08:00
classes Huge refactor 2016-02-20 16:35:19 +08:00
db Huge refactor 2016-02-20 16:35:19 +08:00
element Huge refactor 2016-02-20 16:35:19 +08:00
includes Removed use of old style constructor 2015-12-31 15:20:30 +08:00
lang/en Huge refactor 2016-02-20 16:35:19 +08:00
pix Huge refactor 2016-02-20 16:35:19 +08:00
yui/src Huge refactor 2016-02-20 16:35:19 +08:00
edit.php Huge refactor 2016-02-20 16:35:19 +08:00
edit_element.php Huge refactor 2016-02-20 16:35:19 +08:00
index.php Huge refactor 2016-02-20 16:35:19 +08:00
lib.php Huge refactor 2016-02-20 16:35:19 +08:00
load_template.php Huge refactor 2016-02-20 16:35:19 +08:00
manage_templates.php Huge refactor 2016-02-20 16:35:19 +08:00
mod_form.php Huge refactor 2016-02-20 16:35:19 +08:00
README.md Module will install successfully with limited functionality 2013-02-18 11:48:16 +08:00
rearrange.php Huge refactor 2016-02-20 16:35:19 +08:00
report.php Huge refactor 2016-02-20 16:35:19 +08:00
rest.php Huge refactor 2016-02-20 16:35:19 +08:00
settings.php Huge refactor 2016-02-20 16:35:19 +08:00
styles.css Huge refactor 2016-02-20 16:35:19 +08:00
upload_image.php Huge refactor 2016-02-20 16:35:19 +08:00
version.php Huge refactor 2016-02-20 16:35:19 +08:00
view.php Huge refactor 2016-02-20 16:35:19 +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.