• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..Today-

lang/en/H20-Sep-2020-4420

CHANGELOG.mdH A D19-Sep-2020625 2515

LICENSEH A D19-Sep-202017.7 KiB340281

README.mdH A D19-Sep-20202 KiB4826

admin.phpH A D19-Sep-2020970 4426

admin.svgH A D19-Sep-2020474 76

code.phpH A D19-Sep-20201.3 KiB4730

plugin.info.txtH A D19-Sep-2020363 87

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