Not logged in. · Lost password · Register
Forum: General Help and Support Plugins Plugin Wishlist RSS
Category plugin
Avatar
Xeenych #1
Member since Jul 2016 · 18 posts
Group memberships: Members
Show profile · Link to this post
Subject: Category plugin
I have an idea how to make a simple Wikipedia-style category plugin using backlinks2 plugin.

on a page pageA you place some links
[[category: category1]]
[[category: category2]]
[[category: category3]]

on a page category:category1
you place {{backlinks>.}} and get all pages in category1
also you can place here [[category:supercategory]]

and on page category:supercategory
you add {{backlinks>.}} to list all apges linking to supercategory
Avatar
ryan.chappelle #2
User title: Chilean DW Fan
Member since May 2008 · 218 posts · Location: Temuco, Chile
Group memberships: Local Moderators, Members, Newsletter Team
Show profile · Link to this post
Actually the tag plugin already does this. {{tag>category}} will add your page to the given category, and{{topic>category}} will list all pages in that category. {{tagpage>category}} will give you a link to the category's page, which you can then edit.
Chilean DW Fan!
my plugins for DokuWiki
GULIX, my area's LUG
Surviving earthquakes since Feb 2010!
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-04-25, 02:11:30 (UTC +02:00)