Changes for page ExternalApps
Last modified by bougault on 2019/09/12 12:46
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -3,13 +3,15 @@ 3 3 ## space: $spaceDoc <br /> 4 4 ## children: $spaceDoc.getChildren() 5 5 6 -#set($query = 'select doc,app.title, app.description, app.url, app.maintainers from Document doc, doc.object(ExternalApps.Code.ExternalAppsClass) as app')6 +#set($query = 'select app.title, app.description, app.url, app.maintainers from Document doc, doc.object(ExternalApps.Code.ExternalAppsClass) as app') 7 7 #set ($apps = $services.query.xwql($query).addFilter('hidden').execute()) 8 8 9 9 #foreach($app in $apps) 10 - $title = $app[0] 11 - 12 - 10 +$app[0] 11 +$app.getTitle() 12 +$app[1] 13 +$app.getUrl() 14 +$app['app.url'] 13 13 #end 14 14 15 15 #*