Not logged in. · Lost password · Register
Forum: General Help and Support Templates and Layout RSS
List Pages / Users
I'm building a template and want to get a list of all users.
peanutbuttertroll #1
Member since May 2007 · 7 posts
Group memberships: Members
Show profile · Link to this post
Subject: List Pages / Users

I'm building a template for dokuwiki.. Is there a way to get a list of all the pages in a certain namespace, or a list of all users? This is in the main.php template file, not in a wiki page..

chi #2
Member since Jun 2006 · 1851 posts · Location: Munich Germany
Group memberships: Members, Super Mods, Wiki Managers
Show profile · Link to this post

you may have a closer look at <dokuwiki>/inc/search.php and the search() function. Using it with the search_allpages() callback function gives you a list of all pages in a given namespace.



Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit
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
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-02-17, 22:20:11 (UTC +01:00)