Wiki source code of iSymphony Installation and Update Guide
Version 14.1 by Scott Gagan on 2021/09/13 18:53
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{panel bgColor="#ddfddd" titleBGColor="#5cc35c" borderStyle="solid" borderColor="#ccc" title="iSymphony Installation and Update Guide"}} | ||
2 | |||
3 | This guide contains information on installing and upgrading iSymphony Server software version 2.7 and greater. | ||
4 | |||
5 | {{children style="h3" depth="3"/}} | ||
6 | {{/panel}} | ||
7 | |||
8 | {{panel bgColor="#ddfddd" titleBGColor="#5cc35c" borderStyle="solid" borderColor="#ccc" title="iSymphony Installation and Update Guide"}} | ||
9 | {{tree links="true"}} | ||
10 | {{velocity}} | ||
11 | {{html wiki=true}} | ||
12 | <ul> | ||
13 | #foreach ($child in $doc.getChildren()) | ||
14 | <li class="jstree-open"> | ||
15 | [[$child]] | ||
16 | <ul> | ||
17 | #foreach ($subchild in $xwiki.getDocument($child).getChildren()) | ||
18 | <li class="jstree-open"> | ||
19 | [[$subchild]] | ||
20 | <ul> | ||
21 | #foreach ($subsubchild in $xwiki.getDocument($subchild).getChildren()) | ||
22 | <li class="jstree-open"> | ||
23 | [[$subsubchild]] | ||
24 | <ul> | ||
25 | #foreach ($subsubsubchild in $xwiki.getDocument($subsubchild).getChildren()) | ||
26 | <li class="jstree-open"> | ||
27 | [[$subsubsubchild]] | ||
28 | </li> | ||
29 | #end | ||
30 | </ul> | ||
31 | </li> | ||
32 | #end | ||
33 | </ul> | ||
34 | </li> | ||
35 | #end | ||
36 | </ul> | ||
37 | </li> | ||
38 | #end | ||
39 | </ul> | ||
40 | {{/html}} | ||
41 | {{/velocity}} | ||
42 | {{/tree}} | ||
43 | {{/panel}} | ||
44 | |||
45 | {{panel bgColor="#ddfddd" titleBGColor="#5cc35c" borderStyle="solid" borderColor="#ccc" title="iSymphony Installation and Update Guide"}} | ||
46 | {{velocity}} | ||
47 | {{tree}} | ||
48 | #foreach ($child in $doc.getChildren()) | ||
49 | * [[$child]] | ||
50 | #foreach ($subchild in $xwiki.getDocument($child).getChildren()) | ||
51 | ** [[$subchild]] | ||
52 | #foreach ($subsubchild in $xwiki.getDocument($subchild).getChildren()) | ||
53 | *** [[$subsubchild]] | ||
54 | #end | ||
55 | #end | ||
56 | #end | ||
57 | {{/tree}} | ||
58 | {{/velocity}} | ||
59 | {{/panel}} | ||
60 | |||
61 | {{panel bgColor="#ddfddd" titleBGColor="#5cc35c" borderStyle="solid" borderColor="#ccc" title="iSymphony Installation and Update Guide"}} | ||
62 | {{include reference="XWiki.DocumentTreeMacros" /}} | ||
63 | |||
64 | {{velocity output="false"}} | ||
65 | #macro (filterChildren $children) | ||
66 | #set ($excludes = ['xwiki:Main.WebHome', 'xwiki:XWiki.WebHome']) | ||
67 | #set ($filteredChildren = []) | ||
68 | #foreach ($child in $children) | ||
69 | #if (!$excludes.contains($child.data.id)) | ||
70 | #set ($discard = $filteredChildren.add($child)) | ||
71 | #end | ||
72 | #end | ||
73 | #set ($discard = $children.clear()) | ||
74 | #set ($discard = $children.addAll($filteredChildren)) | ||
75 | #end | ||
76 | {{/velocity}} | ||
77 | |||
78 | {{velocity wiki="false"}} | ||
79 | #if ($xcontext.action == 'get') | ||
80 | #updateDocTreeConfigFromRequest | ||
81 | #if ($request.data == 'children') | ||
82 | #set ($children = $NULL) | ||
83 | #getChildren($request.id $children) | ||
84 | #if ($children) | ||
85 | #filterChildren($children) | ||
86 | #set ($discard = $response.setContentType('application/json')) | ||
87 | $jsontool.serialize($children) | ||
88 | #else | ||
89 | $response.sendError(404); | ||
90 | #end | ||
91 | #else | ||
92 | ## Continue with the default behaviour. | ||
93 | #handleDocumentTreeRequest | ||
94 | #end | ||
95 | #end | ||
96 | {{/velocity}} | ||
97 | {{/panel}} | ||
98 | |||
99 | |||
100 | |||
101 | |||
102 | |||
103 | |||
104 | |||
105 | |||
106 |