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
plugin:tag [2023-08-21 09:37] – [Demo / Screenshots] Klap-inplugin:tag [2024-01-19 23:43] (current) – [Demo / Screenshots] Aleksandr
Line 6: Line 6:
 email      : freaks@dokuwiki.org email      : freaks@dokuwiki.org
 type       : syntax, action, helper type       : syntax, action, helper
-lastupdate : 2023-05-25+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 130: Line 130:
 ===== Demo / Screenshots ===== ===== Demo / Screenshots =====
 Topic listing: Topic listing:
-{{ https://trello.com/1/cards/64398723319f190ba6cb5235/attachments/6439875fa2fed84e68e5c06e/download/tag_overview.png?283x205&recache |Tag overview}}+{{ https://trello.com/1/cards/64398723319f190ba6cb5235/attachments/6439875fa2fed84e68e5c06e/download/tag_overview.png?recache |Tag overview}}
  
 Tags: Tags:
-{{ https://trello.com/1/cards/64398723319f190ba6cb5235/attachments/64398760e3c8fe34a7786c62/download/tag_page.png?200x58&recache |A page with tags}}+{{ https://trello.com/1/cards/64398723319f190ba6cb5235/attachments/64398760e3c8fe34a7786c62/download/tag_page.png?recache |A page with tags}}
  
 ===== Changes ===== ===== Changes =====
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.1692603420.txt.gz · Last modified: 2023-08-21 09:37 by Klap-in

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