Hi,
you can create a panel from here :
http://yourdomain.com/xwiki/bin/view/Panels/
you can see the original NewPage code here :
http://yourdomain.com/xwiki/bin/inline/Panels/NewPage
To build the list of existing page you can do $util.sort($xwiki.spaces).
You'll also need a bit of JavaScript to concatenate the space and page name.
On Tue, Sep 2, 2008 at 4:58 PM, Art Yeung <arthuryeung198(a)gmail.com> wrote:
Hello all,
Currently we have a panel for creating pages. There is a drop down for
selecting Page, Space or Blog Post. New pages are created under the current
space.
I would like to create a panel for creating pages only. So there is a
similiar drop down (existing spaces listed) for selecting which Space the
page should be created under. Then the text box as usual for the Title.
Any idea how to do it please? does the page creation takes an argument for
the space location?
Many Thanks
Art
--
View this message in context:
http://n2.nabble.com/New-Panel-for-creating-pages-tp834125p834125.html
Sent from the XWiki- Dev mailing list archive at
Nabble.com.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Jean-Vincent Drean