====== Display Wiki Page for DokuWiki ====== ===== License ===== * **Author:** [[mailto:tjgrant@tatewake.com|Terence J. Grant]] * **License:** [[http://opensource.org/licenses/GPL-2.0|GNU GPL v2]] * **Last Update:** 2007-02-15 * **Donate:** [[:donate|Your donations are appreciated!]] It's not required, but please consider linking to [[:projects:display_wiki_page_for_dokuwiki|this page]] or the main page from your site if you like this product. ===== Download ===== Before downloading or using this product, make sure you __**understand and accept**__ the terms of the [[#license]]. After downloading, make sure to follow the [[#install]] instructions or [[#upgrading]] instructions below. * This is the latest version, compatible with **the current DokuWiki**: * Latest Version: [[https://github.com/tatewake/dokuwiki-plugin-displaywikipage|Version 2007-02-15 on GitHub]] ===== About ===== This plugin defines an additional template function such that you can display more than one wiki page at a time on any given document. The 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 '''' tags. Typically you'll want to do this for any PHP (or HTML) files containing the string ""; at a minimum you can do just main.php. ((If you only do main.php though you'll miss some types of pages (like upload file), so I suggest searching for head tags through all the php files in a template to make sure you get them all.)) **Note**: Inserting the code above is **required**, not optional. To display a wiki page at any point in your document, use the following code: Doing it in this fashion will allow your users to use the template whether or not you have the plugin installed. ===== Install ===== As a plugin all you need to do is unpack the file into the lib/plugins/ directory (you should end up with a lib/plugins/displaywikipage folder.) ===== Upgrading ===== To upgrade, remove the original lib/plugins/displaywikipage folder, and install the new version as instructed above. ===== What's New ===== **February 15, 2007** * Cleaner rewrite, but nothing new otherwise. The problem regarding ACL is something broken in the DokuWiki source; it's nothing on my end. I've reported it, and there's not much else I can do from here. **November 18, 2006** * Display Wiki Page now honors page permissions for read. Thanks anonymous. **August 23, 2006** * Initial release