Last modified by Simon Urli on 2023/10/10

<
From version < 84.1 >
edited by Manuel Smeria
on 2015/09/02
To version < 84.3 >
edited by Vincent Massol
on 2017/01/17
>
Change comment: Update after XWIKI-12204 changes for Nested Pages

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ManuelSmeria
1 +XWiki.VincentMassol
Content
... ... @@ -39,11 +39,13 @@
39 39  
40 40  = Create the FAQ Class =
41 41  
42 -* On the Class Editor wizard entry page (XWiki.XWikiClasses), under the heading "Create a new data type", enter the following web space and class name:
43 -** Space: FAQ
44 -** Class: FAQ(((
45 -{{image reference="CreateANewClass.PNG"/}}
42 +* On the Class Editor wizard entry page (XWiki.XWikiClasses), under the heading "Create a new data type", in the "Title" field, enter ##FAQ## as the name of the page to create:(((
43 +{{image reference="CreateANewClass1.png"/}}
46 46  )))
45 +* As you can see in the Breadcrumb below the new page will be created at location ##XWiki > FAQ##. Now it would be nice to have it created in a new location such as ##FAQ > FAQ##. Since the ##FAQ## parent doesn't exist we cannot use the Tree picker button. Thus click the Pencil button as shown in the following image and replace ##XWiki## by ##FAQ##:(((
46 +{{image reference="CreateANewClass2.png"/}}
47 +)))
48 +* In technical terms you're creating a page named ##FAQ## located in a space also called ##FAQ## and the reference is ##FAQ.FAQ##.
47 47  * Click the "Create this Class" button. You should then see a page with the following content:(((
48 48  {{code language="none"}}
49 49  {{velocity}}
XWiki.XWikiComments[16]
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.cruel_world
Comment
... ... @@ -1,0 +1,4 @@
1 +This example no longer works correctly in 8.4. However, it will if...
2 +After you create the WebHome (FAQs) page.
3 +Delete the FAQClass object from WebHome
4 +
Date
... ... @@ -1,0 +1,1 @@
1 +2016-11-17 00:54:51.0

Get Connected