Modifiche per il documento Pubblicazioni
Dalla versione 8.1
modificato da Andrea Omicini
il 31/12/2021 22:33
il 31/12/2021 22:33
Cambia il commento:
Nessun commento per questa versione
Alla versione 5.1
modificato da Andrea Omicini
il 11/12/2020 22:15
il 11/12/2020 22:15
Cambia il commento:
Nessun commento per questa versione
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Titolo
-
... ... @@ -1,0 +1,1 @@ 1 +simpA Publications - Content
-
... ... @@ -1,7 +1,17 @@ 1 -= {{stringIta}}Pubblicazioni {{/stringIta}}{{simpa/}}{{stringEng}} Publications{{/stringEng}} = 1 +{{include document="Main.MacroSheet"/}}{{include document="Publications.MacroSheet"/}}{{include document="ReSpecT.MacroSheet"/}} 2 +{{velocity filter="none"}} 3 +{{html clean="false" wiki="true"}} 4 +== Publications about simpA in the #apice() Space == 2 2 3 -{{velocity}} 4 -#set( $tag = 'simpA' ) 5 -{{/velocity}}{{include reference="Publications.Tag"/}} 6 +##tagged research on Publications space based on tag "simpA" 7 +#set( $pubTag = "simpA") 8 +#set ( $from = ", BaseObject as obj0, DBStringListProperty as prop0 join prop0.list item, BaseObject as obj1, StringProperty as prop1, LongProperty as prop2" ) 9 +#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('$pubTag') and obj1.name=doc.fullName and obj1.className='Publications.PublicationClass' and obj1.name<>'Publications.PublicationClassTemplate' and prop1.id.id=obj1.id and prop1.name='status' and prop1.value='Published' and prop2.id.id=obj1.id and prop2.name = 'year' order by prop2.value desc" ) 10 +#set ( $sql = $from + " where " + $where ) 11 +#set($pubFound = $xwiki.searchDocuments($sql)) 12 +#foreach ($pub in $pubFound) 13 +* {{pubLinks}}$pub{{/pubLinks}} 14 +#end 6 6 7 -{{include reference="Environment" excludeFirstHeading="true"/}} 16 +{{/html}} 17 +{{/velocity}}