Hi All, Is there a way display a list of all pages in a web/space. Thanks. Duke
On 7/2/05, Duke Tantiprasut <[email protected]> wrote:
Hi All,
Is there a way display a list of all pages in a web/space.
Thanks.
Duke
yes , see the last version on the cvs, the function getSpaceDocsName(String SpaceName) http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/xwiki/xwiki/trunk/src/mai... and http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/xwiki/xwiki/trunk/src/mai... for the request Jérémi -- ATTENTION, j'ai changé de telephone : 06.73.20.11.49 http://www.sport42.net - http://stage.xwiki.com http://www.xwiki.com - http://www.moovement.com skype: jeremi23
Searching with % would also work You can also create a page with this: #foreach ($item in $xwiki.searchDocuments("")) #if ($xwiki.hasAccessLevel("view", $context.user, "${context.database}:${item}")) #set($bentrydoc = $xwiki.getDocument($item)) * [$bentrydoc.name>${bentrydoc.web}.$bentrydoc.name] par $xwiki.getLocalUserName($bentrydoc.author) le $xwiki.formatDate($bentrydoc.date, $dateFormat) #end #end #foreach ($item in $xwiki.searchDocuments("where doc.web='MySpace'")) would list the docs in a space. Ludovic Duke Tantiprasut a écrit :
Hi All,
Is there a way display a list of all pages in a web/space.
Thanks.
Duke
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
Thanks Ludovic.
-----Original Message----- From: Ludovic Dubost [mailto:[email protected]] Sent: Friday, July 01, 2005 11:07 PM To: [email protected] Subject: Re: [xwiki-users] listing all pages
Searching with % would also work
You can also create a page with this:
#foreach ($item in $xwiki.searchDocuments("")) #if ($xwiki.hasAccessLevel("view", $context.user, "${context.database}:${item}")) #set($bentrydoc = $xwiki.getDocument($item)) * [$bentrydoc.name>${bentrydoc.web}.$bentrydoc.name] par $xwiki.getLocalUserName($bentrydoc.author) le $xwiki.formatDate($bentrydoc.date, $dateFormat) #end #end
#foreach ($item in $xwiki.searchDocuments("where doc.web='MySpace'")) would list the docs in a space.
Ludovic
Duke Tantiprasut a écrit :
Hi All,
Is there a way display a list of all pages in a web/space.
Thanks.
Duke
-------------------------------------------------------------
-
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
participants (4)
-
Duke Tantiprasut -
Duke Tantiprasut -
jeremi joslin -
Ludovic Dubost