Moodle Plugins directory: Wiki export | Moodle.org
Wiki export
Wiki export
This plugin adds the ability to export Moodle wikis as either PDFs or epub documents. It was commissioned by the Judicial Institute for Scotland, originally for their Totara LMS implementation, with Synergy Learning as the chosen partner, with Davo Smith providing the development work.
Many thanks to Jackie Carter - Learning Technology Manager, and the rest of the team, at the Judicial Institute for contributing this development back in to the Moodle community.
Further development of this plugin is planned for early 2015.
Usage
Once the plugin is installed, you can visit a wiki, then click on the new 'Export as epub' or 'Export as PDF' links that appear in the activity administration block (with javascript enabled, similar links are inserted on the top-right corner of the page).
Users with the 'mod/wiki:managewiki' capability also get a 'Sort pages for export' link, that allows them to choose the order in which pages will appear in the export.
There is an additional global setting which allows a copy of any wikis on the site to be sent (as a PDF) to a given email address, whenever they are updated (note, this will not export all wikis on the site the first time it is configured, it only sends those that have been updated since the email address was first entered).
Customising
If you want to add your organisation's logo to the front page of the exported wiki, please replace the file local/wikiexport/pix/logo.png with your logo. Do not alter the file dimensions, it must remain 514 by 182 pixels.
Customise the following language strings, to alter the embedded export information:
'publishername' - set the PDF 'publisher' field
'printed' - set the description on the front page 'This doucment was downloaded on [date]'
(see https://docs.moodle.org/en/Language_customization for more details)
Contact
Any enquiries, including custom Moodle development requests, should be sent to info@synergy-learning.com
Notice: Undefined property: moodle_page::$settingsnav in /var/www/lms.alte-kanti-aarau.ch/moodle/local/wikiexport/lib.php on line 491 Fatal error: Call to a member function get() on a non-object in /var/www/lms.alte-kanti-aarau.ch/moodle/local/wikiexport/lib.php on line 492
and later on as I tried some changes:
local plugin navigation callback: Please rename 'local_wikiexport_extends_navigation' to 'local_wikiexport_extend_navigation'. Support for the old callback will be dropped in Moodle 3.1
* line 1308 of /lib/navigationlib.php: call to debugging()
* line 3426 of /lib/navigationlib.php: call to global_navigation->initialise()
* line 718 of /lib/pagelib.php: call to settings_navigation->__construct()
* line 768 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
* line 6865 of /lib/adminlib.php: call to moodle_page->__get()
* line 847 of /admin/index.php: call to admin_externalpage_setup()
Notice: Undefined property: moodle_page::$settingsnav in /var/www/lms.alte-kanti-aarau.ch/moodle/local/wikiexport/lib.php on line 495 Fatal error: Call to a member function get() on a non-object in /var/www/lms.alte-kanti-aarau.ch/moodle/local/wikiexport/lib.php on line 496
thank you for providing this plugin which is very helpful in online teaching. At the moment we are facing a technical problem with one wiki which cannot be solved by our local development team. The wiki shows the following error when trying to export a pdf with the plugin. "Fehler: TCPDF ERROR: Empty font family". Have you heard about this before and could give us a hint where to look at? The error cannot be reproduced in a freshly opened wiki activity so I assume it is to with some content, formatting mistakes?
Thank you in advance.
Wiebke
PS. We are using Moodle 3.2 and the latest version of your plugin.
Davo
Thanks you all for your great work so far!