2017-04-27 09:25:31 +00:00
# The custom certificate activity
2012-12-07 09:34:46 +00:00
2017-04-27 09:25:31 +00:00
This activity allows the dynamic generation of PDF certificates with complete customisation via the web browser.
2012-12-07 09:34:46 +00:00
2017-04-27 09:25:31 +00:00
## Installation
2012-12-07 09:34:46 +00:00
2017-04-27 09:25:31 +00:00
There are two installation methods that are available.
2012-12-07 09:34:46 +00:00
2021-11-09 13:42:47 +00:00
First, make sure that wkhtmltopdf is installed on your server and available on $PATH.
2017-04-27 09:25:31 +00:00
Follow one of these, then log into your Moodle site as an administrator and visit the notifications page to complete the install.
2012-12-07 09:34:46 +00:00
2017-04-27 09:25:31 +00:00
### Git
2012-12-07 09:34:46 +00:00
2017-04-27 09:25:31 +00:00
This requires Git being installed. If you do not have Git installed, please visit the [Git website ](https://git-scm.com/downloads "Git website" ).
2012-12-07 09:34:46 +00:00
2017-04-27 09:25:31 +00:00
Once you have Git installed, simply visit your Moodle mod directory and clone the repository using the following command.
2012-12-07 09:34:46 +00:00
2017-04-28 02:42:55 +00:00
```
2019-12-16 14:00:04 +00:00
git clone https://github.com/mdjnelson/moodle-mod_customcert.git customcert
2017-04-28 02:42:55 +00:00
```
2012-12-07 09:34:46 +00:00
2017-04-28 02:42:55 +00:00
Then checkout the branch corresponding to the version of Moodle you are using with the following command. Make sure to replace MOODLE_32_STABLE with the version of Moodle you are using.
2012-12-07 09:34:46 +00:00
2017-04-28 02:42:55 +00:00
```
git checkout MOODLE_32_STABLE
```
2012-12-07 09:34:46 +00:00
2017-04-28 02:42:55 +00:00
Use `git pull` to update this repository periodically to ensure you have the most recent updates.
2016-08-19 13:29:08 +00:00
2017-04-27 09:25:31 +00:00
### Download the zip
2016-08-19 13:29:08 +00:00
2017-04-27 09:25:31 +00:00
Visit the [Moodle plugins website ](https://moodle.org/plugins/mod_customcert "Moodle plugins website" ) and download the zip corresponding to the version of Moodle you are using. Extract the zip and place the 'customcert' folder in the mod folder in your Moodle directory.
2016-08-19 13:29:08 +00:00
2017-04-27 09:25:31 +00:00
## More information
2016-08-19 13:29:08 +00:00
2017-04-28 02:42:55 +00:00
Visit the [wiki page ](https://docs.moodle.org/en/Custom_certificate_module "Wiki page" ) for more details. Also, it is a wiki, so please feel free to edit it. :)
2016-08-19 13:29:08 +00:00
2017-04-27 09:25:31 +00:00
## License
2016-08-19 13:29:08 +00:00
2021-11-09 13:42:47 +00:00
Licensed under the [GNU GPL License ](http://www.gnu.org/copyleft/gpl.html ).