Version 8.1 by Scott Gagan on 2021/09/13 18:33

Show last authors
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 {{groovy}}
63 def createDocumentTree(document, depth = 5, level = 1) {
64 if (depth == 0) {
65 return
66 }
67
68 def translated = document?.getTranslatedDocument()
69 def name = translated?.getName()
70 def fullname = translated?.getFullName()
71 def prefixed = translated?.getPrefixedFullName()
72 def title = translated?.getDisplayTitle()
73
74 def where = "where doc.parent = ? or doc.parent = ? or doc.parent = ? order by doc.name"
75 def parameters = [name, fullName, prefixedFullName]
76 if (name == "WebHome") {
77 def space = document.getSpace()
78 where = "where doc.space = ? and (doc.parent = '' or doc.parent = ? or doc.parent = ? or doc.parent = ?) and doc.name != 'WebHome' order by doc.name"
79 parameters = [space, name, fullName, prefixedFullName]
80 }
81
82 def children = xwiki.searchDocuments(where)
83 children.each { child ->
84 document = xwiki.getDocument(child)
85 if (document == null) {
86 return
87 }
88
89 translated = document.getTranslatedDocument()
90 prefixed = translated?.getPrefixedFullName()
91 title = translated?.getDisplayTitle()
92
93 println "*" * level + " [[${title}>>${prefixed}]]"
94
95 createDocumentTree(document, depth - 1, level + 1)
96 }
97 }
98
99 createDocumentTree(doc)
100 {{/groovy}}
101 {{/panel}}
102
103 {{panel bgColor="#ddfddd" titleBGColor="#5cc35c" borderStyle="solid" borderColor="#ccc" title="iSymphony Installation and Update Guide"}}
104
105 {{/panel}}
106
107
108
109
110
111
112
113
114
115
116
iSymphony