[xwiki-devs] Space Creator Name
Hi, How to print the space creator in wiki page. getcreator() this is getting the page creator. -- Prathap
Hi, On Thu, Jul 10, 2008 at 12:50 PM, Prathap Pandian <[email protected]> wrote:
Hi,
How to print the space creator in wiki page.
getcreator() this is getting the page creator.
You can't, in fact space does not really exists. The only thing you can do is to get the creator of the first created page of the space but if the really first page has been deleted this algorithm will not work...
-- Prathap _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
Hi Prathap, I don't think you can get the creator of the space because the space does not have a concrete representation. Basically you can consider the space creator the person that created the first page in that space. If you want to represent more complex spaces you should have a look at the spacemanagerplugin ( https://svn.xwiki.org/svnroot/xwiki/xwiki-platform/xwiki-plugins/trunk/space... ). It will allow you to have spaces with more metadata (like the creator). Prathap Pandian wrote:
Hi,
How to print the space creator in wiki page.
getcreator() this is getting the page creator.
-- Prathap _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Thanks guys... I got it with this method *#set($author = $xwiki.getDocument("${doc.web}.WebHome").getCreator())* -- Prathap On Thu, Jul 10, 2008 at 5:39 PM, Cristian Vrabie <[email protected]> wrote:
Hi Prathap, I don't think you can get the creator of the space because the space does not have a concrete representation. Basically you can consider the space creator the person that created the first page in that space. If you want to represent more complex spaces you should have a look at the spacemanagerplugin (
https://svn.xwiki.org/svnroot/xwiki/xwiki-platform/xwiki-plugins/trunk/space... ). It will allow you to have spaces with more metadata (like the creator).
Prathap Pandian wrote:
Hi,
How to print the space creator in wiki page.
getcreator() this is getting the page creator.
-- Prathap _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (3)
-
Cristian Vrabie -
Prathap Pandian -
Thomas Mortagne