Not logged in. · Lost password · Register

All posts by GCL (1)

topic: Tags hierarchy (Allow parent=>children relation between tags)  in the forum: General Help and Support Plugins Plugin Wishlist
Avatar
GCL #1
Member since Apr 2018 · 1 post
Group memberships: Members
Show profile · Link to this post
I know that this is an O-L-D post, but I got only recently involved with DokuWiki.
With the "tag" plugin, this can be solved by using multiple tags and representing your hierarchy in the tag namespaces:
For your "dogs" page:
      {{tag>category:animal subcategory:dog}}
For your "cats" page:
      {{tag>category:animal subcategory:cat}}

If you want to show a list of all animal wiki pages:
      {{topic>category:animal}}

If you want to show a list of dog wiki pages:
      {{topic>category:animal +subcategory:dog}}

The "+" combination above ensures that you get only the pages that concern dogs as animals. You could for example have a set of Wiki pages with funny anecdotes about your own dog, which you would tag as {{tag>category:fun subcategory:dog}}.
Close Smaller – Larger + Reply to this post:
Special characters:
Special queries
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-07-23, 14:02:08 (UTC +02:00)