DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:tplmod

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
plugin:tplmod [2019-03-25 21:27] – [The Date Tagline] turnermmplugin:tplmod [2019-04-28 22:07] – [tplmod (template modifier) Plugin] turnermm
Line 6: Line 6:
 email      : turnermm02@shaw.ca  email      : turnermm02@shaw.ca 
 type       : action type       : action
-lastupdate : 2019-03-01+lastupdate : 2019-04-28
 compatible : Elenor of Tsort, Frusterick Manners,Greebo compatible : Elenor of Tsort, Frusterick Manners,Greebo
 depends    :  depends    : 
Line 48: Line 48:
 [[http://php.net/manual/en/function.date.php|php date]] string.  For instance: [[http://php.net/manual/en/function.date.php|php date]] string.  For instance:
     \T\o\d\a\y \i\s l F jS Y     \T\o\d\a\y \i\s l F jS Y
-This will output ''Today is Tuesday July 4th 2017'' (or whatever the date is).  Notice that all the text which is not part of the actual date itself is escaped: ''\T\o\d\a\y \i\s'' Not every character has to be escaped, only those which wll be interpreted as formatting characters.  The date tagline takes precedence over the rotating taglines, so you cannot have both a date tagline and rotating tagline. **Please Note:** As with the rotating taglines, a Dokuwiki [[config:tagline]] must be set in the Configuration Manager.+This will output ''Today is Tuesday July 4th 2017'' (or whatever the date is).  Notice that all the text which is not part of the actual date itself is escaped: ''\T\o\d\a\y \i\s'' Not every character has to be escaped, only those which wll be interpreted as formatting characters.  The date tagline takes precedence over the rotating taglines, so you cannot have both a date tagline and rotating tagline. \\ **Please Note:** As with the rotating taglines, a Dokuwiki [[config:tagline]] must be set in the Configuration Manager.
  
 ===== ACL controls ===== ===== ACL controls =====
plugin/tplmod.txt · Last modified: 2024-04-03 15:06 by LMS23

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki