Changes for page test
Modificado por Jip-jan Alunkel em março 13, 19:02
From version 41.1
edited by Jip-jan Alunkel
on julho 10, 17:55
on julho 10, 17:55
Change comment:
There is no comment for this version
To version 48.1
edited by Jip-jan Alunkel
on julho 10, 18:01
on julho 10, 18:01
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,15 +1,12 @@ 1 + 1 1 {{velocity}} 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) 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) 8 8 9 -$content 9 +$contentex 10 10 11 -$services.rendering.render($contentex, "xhtml/1.0") 12 -{{/html}} 13 13 {{/velocity}} 14 -{{include page="main.WebHome"/}} 15 15