This is an old revision of the document!
Table of Contents
Page Title Plugin
Compatible with DokuWiki
2015-08-10a "Detritus"
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to meta
Installation
Install the plugin through the Extension Manager or Plugin Manager using the download URL above, which points to latest version of the plugin. Refer to plugin installation instructions.
Require PHP 5.3 at least
Examples/Usage
Define and render a title of the wiki page
<title> **Page Title** plugin for DokuWiki </title>
The specified title becomes the title of HTML document in combination with your DokuWiki site title. You may need to set useheading option to “navigation” (other than “0”) in order to show specified title in the browser title bar.
You can use bold, italic, superscript and subscript text to show appropriate title on the page. The formatted page title is shown on the page, but it is converted to a plain text for the title of HTML document. The pagetitle plugin overwrites 'title' value of the metadata to store the plain title text.
When there are multiple <title>
entries in a page, the first entry should be effective.
If you want to set a page title without showing itself on the page, you can instead use following syntax macro:
~~Title: **Page Title** plugin for DokuWiki ~~
Hierarchical breadcrumbs on the page
(expermental)
<!--YOU_ARE_HERE-->
This syntax allow you to put a hierarchical breadcrumbs in the page. The place holder <!--YOU_ARE_HERE-->
is replaced by the hierarchical breadcrumbs provided by this plugin, which uses page id for a breadcrumbs name independently from $conf('useheading') setting.
Development
- update version (2023-08-30 03:49)
- Update README.md (2023-08-30 03:48)
- use isset() instead of is_null() (2023-08-28 15:52)
- fix wrong var name (2023-08-28 15:24)
- update version (2023-08-28 12:03)
ToDo/Wish List
<title>
syntax to define pagename (title of the page) on the page (v2 branch) → done in release 2015-09-24'<!--YOU_ARE_HERE-->
syntax to show a Hierarchical breadcrumbs on the page (v2 branch) → done in release 2015-09-24