Modifiche per il documento test
Ultima modifica di Jip-jan Alunkel il marzo 13, 19:02
Dalla versione 48.1
modificato da Jip-jan Alunkel
il luglio 10, 18:01
il luglio 10, 18:01
Cambia il commento:
Nessun commento per questa versione
Alla versione 42.1
modificato da Jip-jan Alunkel
il luglio 10, 17:55
il luglio 10, 17:55
Cambia il commento:
Nessun commento per questa versione
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,12 +2,15 @@ 1 - 2 2 {{velocity}} 3 -#set ($docx = $xwiki.getDocument("Main.WebHome")) 4 -#set ($content = $docx.getContent()) 5 -#set ($title = $docx.getTitle()) 6 -#set ($contentex = $docx.getTranslatedDocument("en").getContent()) 7 -#set ($titleex = $docx.getTranslatedDocument("en").title) 2 +{{html wiki="true"}} 3 +#set ($doc = $xwiki.getDocument("Main.WebHome")) 4 +#set ($content = $doc.getContent()) 5 +#set ($title = $doc.getTitle()) 6 +#set ($contentex = $doc.getTranslatedDocument("en").content) 7 +#set ($titleex = $doc.getTranslatedDocument("en").title) 8 8 9 -$content ex9 +$content 10 10 11 +##$services.rendering.render($contentex, "xhtml/1.0") 12 +{{/html}} 11 11 {{/velocity}} 14 +{{include page="Main.WebHome"/}} 12 12