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.
Avatar
peanutbuttertroll #1
Member since May 2007 · 7 posts
Group memberships: Members
Show profile · Link to this post
Subject: List Pages / Users
Hi!

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..

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

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.

Hint: http://dev.splitbrain.org/reference/dokuwiki/

HTH

--
chi
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 http://facepalm.org.
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-08-23, 15:35:38 (UTC +02:00)