[xwiki-users] Create Hierarchy Space Template
Is it possible to create a space template which would have placeholder pages created in the space to create a structure for new pages to be added to. For example, I would like to create a space for documenting database systems and the space would have a hierarchy like so: System Name (Space) ->User Documentation --->Quick Start Guide --->Other sections... ->Technical Documentation --->Tables --->Views --->Stored Procedures --->Functions --->Other sections... -- View this message in context: http://xwiki.475771.n2.nabble.com/Create-Hierarchy-Space-Template-tp7582637.... Sent from the XWiki- Users mailing list archive at Nabble.com.
1) You should understand, that hierarchy in XWiki "based" on parent-child relations between pages. Each page have property - "parent page". By default, when you creating a page from XWiki menu "parent page" is current page (where your process of creation was started), except WebHomes. 2) You can use technology of space templates, according described here: http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise... As you can see - space template - is a page used when WebHome of new space will created. 3) For the content of this space template, you can use http://extensions.xwiki.org/xwiki/bin/view/Extension/List+Children+Of+Curren... This macro doing exactly what you need. -- Best regards Eugen Colesnicov -- View this message in context: http://xwiki.475771.n2.nabble.com/Create-Hierarchy-Space-Template-tp7582637p... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
djphatic -
Eugen Colesnicov