DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:tag

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
Last revisionBoth sides next revision
plugin:tag [2023-09-09 23:50] – version upped andiplugin:tag [2023-10-17 23:50] – version upped andi
Line 6: Line 6:
 email      : freaks@dokuwiki.org email      : freaks@dokuwiki.org
 type       : syntax, action, helper type       : syntax, action, helper
-lastupdate : 2023-09-09+lastupdate : 2023-10-17
 compatible : Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, !Greebo, Hogfather, Igor, Jack Jackrum compatible : Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, !Greebo, Hogfather, Igor, Jack Jackrum
 depends    : pagelist depends    : pagelist
Line 190: Line 190:
 <code> <code>
 {{tag>"tag with multiple words"}} {{tag>"tag with multiple words"}}
 +</code>
 +
 +==== How to make the tag namespace breadcrumb still work ====
 +
 +Let's use one of the example websites.
 +
 +If you go to https://wiki.psiconauti.net/tag/esperienze?do=showtag&tag=esperienze and then click in the breadcrumb "esperienze" you go to https://wiki.psiconauti.net/tag/esperienze , an empty page.
 +To make your pages inside the tag namespace always go to the tag list, add this to the beginning of your /.htaccess
 +
 +This also allows you to keep your start page to add there, for example, the list of tags
 +If your [[config:startpage|start page]] is not "start", change it to the one you use
 +
 +<code>
 +RewriteCond %{REQUEST_URI}            !tag:start
 +RewriteRule ^tag.([\-_a-zA-Z0-9\ ]*)$  tag:$1?do=showtag&tag=$1
 </code> </code>
  
plugin/tag.txt · Last modified: 2024-01-19 23:43 by Aleksandr

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