Changes for page test
Modificado por Jip-jan Alunkel em março 13, 19:02
From version 51.1
edited by Jip-jan Alunkel
on julho 10, 18:03
on julho 10, 18:03
Change comment:
There is no comment for this version
To version 42.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
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,13 +2,15 @@ 1 - 2 2 {{velocity}} 3 -{{html wiki= “true”}}4 -#set ($doc x= $xwiki.getDocument("Main.WebHome"))5 -#set ($content = $doc x.getContent())6 -#set ($title = $doc x.getTitle())7 -#set ($contentex = $doc x.getTranslatedDocument("en").getContent())8 -#set ($titleex = $doc x.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) 9 9 10 -$contentex 9 +$content 10 + 11 +##$services.rendering.render($contentex, "xhtml/1.0") 11 11 {{/html}} 12 12 {{/velocity}} 14 +{{include page="Main.WebHome"/}} 13 13