DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:pagetitle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugin:pagetitle [2017-08-29 14:42]
s.sahara refer to ShortTitle macro usage
plugin:pagetitle [2020-02-05 05:52] (current)
Aleksandr Version upped
Line 6: Line 6:
 email      : sahara.satoshi@gmail.com  email      : sahara.satoshi@gmail.com 
 type       : syntax type       : syntax
-lastupdate : 2017-07-30 +lastupdate : 2019-09-29 
-compatible : 2014-09-29d, 2015-08-10a, 2016-06-26a, 2017-02-19b+compatible : 2014-09-29d, 2015-08-10a, 2016-06-26a, 2017-02-19b, 2018-04-22a
 depends    :  depends    : 
 conflicts  conflicts 
Line 21: Line 21:
  
 ===== Installation ===== ===== Installation =====
 +Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:plugin installation instructions]] on how to install plugins manually.
  
-Install the plugin through the [[plugin:extension|Extension Manager]] or [[plugin:plugin|Plugin Manager]] using the download URL above, which points to latest version of the plugin. Refer to [[:plugin_installation_instructions|plugin installation instructions]]. 
- 
-:!: **Require PHP 5.3 at least** 
  
 ===== Examples/Usage ===== ===== Examples/Usage =====
Line 45: Line 43:
  
   ~~Title: Page Title plugin for DokuWiki ~~   ~~Title: Page Title plugin for DokuWiki ~~
 +
 +=== CSS for PageTitle ===
 +
 +You can use class selector "pagetitle" for the HTML element of Page Title rendered in the page.
 +
 +<code css>
 +.dokuwiki h1.pagetitle {
 +    text-align: center;
 +}
 +</code>
 +
  
  
Line 72: Line 81:
 ===== Known Bugs and Issues ===== ===== Known Bugs and Issues =====
  
 +==== parse error after upgrade ====
 +After I did an upgrade to the most recent version of the plugin, my dokuwiki instance became dysfunctional (white screen of death). The logs of my apache2 server contained this hint:
 +
 +  [Wed May 08 00:17:48.543750 2019] [:error] [pid 19136] [client 130.75.103.103:35866] PHP Parse error:  syntax error, unexpected '=' in /srv/www/iqwiki.iqo.uni-hannover.de/lib/plugins/pagetitle/syntax/shorter.php on line 72
 +
 +The server runs on PHP 7.0 . Dokuwiki itself is on greebo.
 +
 +--- [[user>KaiMartin|KaiMartin]] //2019-05-08 00:23//
 +
 +>  Just a hint from me: As far as I can see, you are not using Greebo... (The icons are not from Greebo.) --- [[user>Michaelsy|Michael Sy.]] //2019-05-08 00:45//
 +
 +>  The plugin requires PHP 7.1.x or later. However, PageTitle release 2019-05-08 should work with PHP 7.0.x that has already ended its life. Please refer to https://www.php.net/supported-versions.php   --- [[user>s.sahara|s.sahara]] //2019-05-08 00:56//
 +
 +I can confirm functionality on PHP7.1. Maybe you should correct your commit description on github. ''PHP 7.0.x support'' is a little misinterpretative. ;)
 + --- [[user>punkt|Punkt]] //2019-06-25 13:30//
 +
 +Pagetitle makes my Detritus crash (error 500), at mekineer.com.  PHP version: <del>7.3.6</del> sorry, it was actually running 5.6.40.  I updated my site to use 7.0.x, and pagetitle works now.
  
 +I'm a bit confused about functionality.  I am using indexmenu plugin, and want the URL path for the menu.  However, I want the page title to be what's in <title> This way, I can keep my menu with brief names, yet have the page title be more descriptive.  Is this not possible?   --- [[user>mekineer|mekineer]] //2020-01-16 02:51//
plugin/pagetitle.1504010559.txt.gz · Last modified: 2017-08-29 14:42 by s.sahara