Modifiche per il documento Pubblicazioni
Dalla versione 11.1
modificato da Andrea Omicini
il 21/12/2022 09:01
il 21/12/2022 09:01
Cambia il commento:
Nessun commento per questa versione
Alla versione 7.1
modificato da Andrea Omicini
il 14/11/2021 19:39
il 14/11/2021 19:39
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,15 @@ 1 -= {{stringIta}}Pubblicazioni{{/stringIta}}{{stringEng}}Publications{{/stringEng}} = 1 +{{include document="Main.MacroSheet"/}}{{include document="Publications.MacroSheetOld"/}}{{include document="SimpA.MacroSheet"/}} 2 +{{velocity filter="none"}}{{html clean="false" wiki="true"}} 3 +== Publications about simpA in the #apice() Space == 2 2 3 -{{velocity}} 4 -#set( $tag = 'simpA' ) 5 -{{/velocity}}{{include reference="Publications.Clouds.OneTag" excludeFirstHeading="true"/}} 5 +##tagged research on Publications space based on tag "simpA" 6 +#set( $pubTag = "simpA") 7 +#set ( $from = ", BaseObject as obj0, DBStringListProperty as prop0 join prop0.list item, BaseObject as obj1, StringProperty as prop1, LongProperty as prop2" ) 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('$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" ) 9 +#set ( $sql = $from + " where " + $where ) 10 +#set($pubFound = $xwiki.searchDocuments($sql)) 11 +#foreach ($pub in $pubFound) 12 +* {{pubLinks}}$pub{{/pubLinks}} 13 +#end 6 6 7 -{{ include reference="SimpA.Environment" excludeFirstHeading="true"/}}15 +{{/html}}{{/velocity}}