Changes for page Talks

From version 11.1
edited by Andrea Omicini
on 23/07/2022 01:31
Change comment: There is no comment for this version
To version 6.1
edited by Andrea Omicini
on 10/08/2021 16:18
Change comment: Document converted from syntax xwiki/2.0 to syntax xwiki/2.1

Summary

Details

Page properties
Title
... ... @@ -1,0 +1,1 @@
1 +Talks
Content
... ... @@ -1,7 +1,21 @@
1 -= {{stringIta}}Presentazioni{{/stringIta}}{{stringEng}}Talks{{/stringEng}} =
1 +{{include document="Main.MacroSheet"/}}{{include document="Talks.MacroSheet"/}}{{include document="SODA.MacroSheet"/}}
2 2  
3 -{{velocity}}
4 -#set( $tag = 'SODA' )
5 -{{/velocity}}{{include reference='Talks.Tag'/}}
3 +{{velocity filter="none"}}
4 +{{html clean="false" wiki="true"}}
5 +##tagged research on Talks space based on tag "SODA"
6 +#set( $talkTag = "SODA")
7 +#set ( $from = ", BaseObject as obj0, DBStringListProperty as prop0 join prop0.list item, BaseObject as obj1, DateProperty as prop1" )
8 +#set ( $where = "obj0.className='XWiki.TagClass' and obj0.name=doc.fullName and obj0.id=prop0.id.id and prop0.id.name='tags' and lower(item)=lower('$talkTag') and obj1.name=doc.fullName and obj1.className='Talks.TalkClass' and obj1.name<>'Talks.TalkClassTemplate' and prop1.id.id=obj1.id and prop1.name = 'date' order by prop1.value desc" )
9 +#set ( $sql = $from + " where " + $where )
10 +#set($talkFound = $xwiki.searchDocuments($sql))
11 +#if ($talkFound.size()>0)
12 += #soda() Talks in the #apice() Space =
13 +#foreach ($talks in $talkFound)#set($talkDoc = $xwiki.getDocument($talks))
14 +* #talkTDASInline($talks)
6 6  
7 -{{include reference="Environment" excludeFirstHeading="true"/}}
16 +#end
17 +#else
18 +#warning("No talks with tag $talkTag in the #apice() space")
19 +#end
20 +{{/html}}
21 +{{/velocity}}

A&A  |  TuCSoN  |  MEnSA