Changes for page Homeopaths

Last modified by Jip-jan Alunkel on March 14, 20:13

From version 8.122
edited by Jip-jan Alunkel
on December 08, 20:43
Change comment: Renamed from xwiki:practices.WebHome
To version 8.108
edited by Jip-jan Alunkel
on December 08, 20:12
Change comment: Renamed from xwiki:practices.WebHome

Summary

Details

Page properties
Content
... ... @@ -9,16 +9,11 @@
9 9  {{html wiki="false" clean="false"}}
10 10  <p>
11 11  All about homeopaths.
12 -##from XWikiSpace as space where doc.space = space.reference and ((doc.name <> 'WebHome' and lower(doc.name) like '%wiki%') or (doc.name = 'WebHome' and lower(space.name) like '%wiki%'))
13 -
14 -##set($q = $services.query.xwql("where doc.space like 'homeopaths' and doc.name like :usr"))
15 -##$q.bindValue('usr', 'practice').execute()
16 -#set($q = $services.query.xwql("where doc.space like 'homeopaths.%' and doc.name like '%practice%'"))
17 -$q.execute()
18 -##$xcontext.getUserReference().getName()
19 19  </p>
20 20  <div id="homeopaths_map"></div>
21 21  
15 +#set($q = $services.query.xwql("from XWikiSpace as space where doc.space = 'homeopaths.WebHome'and doc.name = :usr"))
16 +$q.bindValue('usr', $xcontext.getUserReference().getName()).execute()
22 22  
23 23  <h2>Add your practice to the map</h2>
24 24  #set($form_start = {