Last modified by Michael Hamann on 2021/10/18

<
From version < 92.7 >
edited by Vincent Massol
on 2017/01/17
To version < 92.8 >
edited by Vincent Massol
on 2017/01/17
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -148,19 +148,19 @@
148 148  )))
149 149  * Click on the "Create the document template" button. The Authoring Template will be automatically created.
150 150  
151 -Note that we changed the space name preceding the page name also because we want all of our FAQ pages to reside in the same XWiki space
152 -Remember that all our documents will be copies of the Authoring Template used as a prototype so the content will be copied in all our FAQs documents and will execute the Design Sheet code in the context of the current document. See the [[dedicated page>>DevGuide.IncludeInVelocity]] for more information regarding this technique.
153 -Now we need to associate the prototype object with this document to turn it into a true authoring template.
151 +Note that earlier, we changed the space name preceding the page name because we wanted all of our FAQ pages to reside in a space named FAQ. Remember that all our documents will be copies of the Authoring Template used as a prototype so the content will be copied in all our FAQs documents and will execute the Design Sheet code in the context of the current document. See the [[dedicated page>>DevGuide.IncludeInVelocity]] for more information regarding this technique.
154 154  
155 -* If you're on the template page, click on "FAQClass" in the breadcrumb to get back to the FAQ Class page
156 -* At the bottom of the page, look for the following error message: "The template does not contain an object of type FAQClass. Add a FAQ object to the template »."
153 +Now we need to associate the prototype object with this document to turn it into a true authoring template:
154 +
155 +* If you're on the template page, navigate back to the ##FAQ.FAQClass## document.
156 +* At the bottom of the page, look for the following warning message: "The template does not contain an object of type FAQClass. Add a FAQ object to the template »."
157 157  * Click on "Add a FAQ object to the template »":(((
158 158  {{image reference="FAQObject.png"/}}
159 159  )))
160 160  
161 -Next we need to remove the title for the newly created template:
161 +Next, we want to remove the title for the newly created template:
162 162  
163 -* Navigate to FAQ.FAQTemplate
163 +* Navigate to the ##FAQ.FAQTemplate## document (you can click on the "View the template page (FAQ / FAQ Template)" link for doing that for example.
164 164  * Edit this document in Wiki mode
165 165  * Inside the Title field you have "FAQ Template" written -> delete this text
166 166  * Save & View
... ... @@ -168,6 +168,7 @@
168 168  This step is needed so that all of our future entries don't have "FAQ Template" as their title.
169 169  
170 170  Congratulations: you just created an Authoring Template! You're almost done now.
171 +
171 171  {{image reference="FAQClass4.PNG"/}}
172 172  
173 173  = Create a home page for the FAQ application =

Get Connected