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