Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | Today | - | ||||
lang/en/ | H | 20-Sep-2020 | - | 44 | 20 | |
CHANGELOG.md | H A D | 19-Sep-2020 | 625 | 25 | 15 | |
LICENSE | H A D | 19-Sep-2020 | 17.7 KiB | 340 | 281 | |
README.md | H A D | 19-Sep-2020 | 2 KiB | 48 | 26 | |
admin.php | H A D | 19-Sep-2020 | 970 | 44 | 26 | |
admin.svg | H A D | 19-Sep-2020 | 474 | 7 | 6 | |
code.php | H A D | 19-Sep-2020 | 1.3 KiB | 47 | 30 | |
plugin.info.txt | H A D | 19-Sep-2020 | 363 | 8 | 7 |
README.md
1# Display Wiki Page for DokuWiki 2 3## License 4 5* **Author**: [Terence J. Grant](mailto:tjgrant@tatewake.com) (with special thanks to Etienne Gauthier) 6* **License**: [GNU GPL v2](http://opensource.org/licenses/GPL-2.0) 7* **Latest Release**: v1.0.0 on Sep 19th, 2020 8* **Changes**: See [CHANGELOG.md](CHANGELOG.md) for full details. 9* **Donate**: [Donations](http://tjgrant.com/wiki/donate) and [Sponsorships](https://github.com/sponsors/tatewake) are appreciated! 10 11## About 12 13The plugin also exports a function for use with your template, so you will have to insert the following code into your template, somewhere inside of the `<head></head>` tags. 14 15 <?php if (file_exists(DOKU_PLUGIN.'displaywikipage/code.php')) include_once(DOKU_PLUGIN.'displaywikipage/code.php'); ?> 16 17**Note**: Inserting the code above is **required**, not optional. 18 19To display a wiki page at any point in your document, use the following code: 20 21 <?php if (function_exists('dwp_display_wiki_page')) dwp_display_wiki_page(":path:to:page"); ?> 22 23Doing it in this fashion will allow your users to use the template whether or not you have the plugin installed. 24 25## Install / Upgrade 26 27Search and install the plugin using the [Extension Manager](https://www.dokuwiki.org/plugin:extension). Refer to [Plugins](https://www.dokuwiki.org/plugins) on how to install plugins manually. 28 29## Setup 30 31All further documentation for this plugin can be found at: 32 33 * [https://www.dokuwiki.org/plugin:displaywikipage](https://www.dokuwiki.org/plugin:displaywikipage) 34 35## Contributing 36 37The official repository for this plugin is available on GitHub: 38 39* [https://github.com/tatewake/dokuwiki-plugin-displaywikipage](https://github.com/tatewake/dokuwiki-plugin-displaywikipage) 40 41The plugin thrives from community contributions. If you're able to provide useful code changes or bug fixes, they will likely be accepted to future versions of the plugin. 42 43If you find my work helpful and would like to give back, [consider joining me as a GitHub sponsor](https://github.com/sponsors/tatewake). 44 45Thanks! 46 47--Terence 48