plugin:meta
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:meta [2016-01-02 08:10] – forget the and 84.169.219.120 | plugin:meta [2022-09-08 17:52] (current) – [Meta Plugin] fiwswe | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
- | author | + | author |
- | email : michael@content-space.de | + | email : freaks@dokuwiki.org |
type : syntax | type : syntax | ||
- | lastupdate : 2015-07-24 | + | lastupdate : 2021-10-16 |
- | compatible : Weatherwax, Binky, Ponder Stibbons, Hrun | + | compatible : Weatherwax, Binky, Ponder Stibbons, Hrun, Frusterick Manners, Greebo, Hogfather, Igor |
depends | depends | ||
conflicts | conflicts | ||
Line 22: | Line 22: | ||
===== Description ===== | ===== Description ===== | ||
- | This [[plugins|plugin]] allows you to set [[: | + | This plugin allows you to set [[: |
===== Syntax ===== | ===== Syntax ===== | ||
Line 65: | Line 65: | ||
===== Bugs / Feature Requests ===== | ===== Bugs / Feature Requests ===== | ||
- | Please report bugs or feature requests at the [[http:// | + | Please report bugs or feature requests at the [[https:// |
===== Further Resources ===== | ===== Further Resources ===== | ||
- | * [[http:// | + | * [[https:// |
- | * [[http:// | + | * [[https:// |
===== Changes ===== | ===== Changes ===== | ||
Line 126: | Line 126: | ||
//This comment 2016-01-02 08:08 by '' | //This comment 2016-01-02 08:08 by '' | ||
- | =====How-to-use-the-Plugin | + | ===== Simple patch that allows |
+ | |||
+ | <code diff> | ||
+ | --- syntax.php.orig 2019-08-15 16: | ||
+ | +++ syntax.php 2019-08-16 02: | ||
+ | @@ -43,4 +43,6 @@ | ||
+ | | ||
+ | - if ($mode == ' | ||
+ | - return true; // don't output anything | ||
+ | + if ($mode == ' | ||
+ | + global $ID; | ||
+ | + foreach($data as $key=> | ||
+ | + if($key && (!$value or is_array($value) && !current($value))) $renderer-> | ||
+ | } elseif ($mode == ' | ||
+ | @@ -89,3 +91,3 @@ | ||
+ | // no special treatment for the rest | ||
+ | - } else { | ||
+ | + } elseif( $key && $value ) { | ||
+ | | ||
+ | </ | ||
+ | |||
+ | Now you can put to your pages something like: | ||
+ | My creator is ~~META: | ||
+ | ~~META: | ||
+ | & superadmin=Yay, page created by superadmin! | ||
+ | & shyuser=Oh, page created by very modest user.. | ||
+ | ~~ | ||
+ | |||
+ | And don't forget that DokuWiki allows you to store any custom Metadata! | ||
+ | |||
+ | --- [[user> | ||
+ | |||
+ | ===== How to use the plugin ===== | ||
+ | |||
+ | Please read http:// | ||
- | Please read | ||
- | http:// |
plugin/meta.1451718641.txt.gz · Last modified: 2016-01-02 08:10 by 84.169.219.120