Changes for page test
Modificado por Jip-jan Alunkel em março 13, 19:02
From version 44.1
edited by Jip-jan Alunkel
on julho 10, 17:56
on julho 10, 17:56
Change comment:
There is no comment for this version
To version 36.1
edited by Jip-jan Alunkel
on julho 10, 17:52
on julho 10, 17:52
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,13 @@ 1 1 {{velocity}} 2 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 ($doc = $xwiki.getDocument("main.WebHome")) 4 +#set ($content = $doc.getRenderedContent()) 5 +#set ($title = $doc.getTitle()) 6 +#set ($contentex = $doc.getTranslatedDocument("en").content) 7 +#set ($titleex = $doc.getTranslatedDocument("en").title) 8 8 9 -##$content 10 - 11 11 ##$services.rendering.render($contentex, "xhtml/1.0") 12 12 {{/html}} 13 13 {{/velocity}} 14 -{{include page="Main.WebHome"/}}12 +{{include reference="main.WebHome"}} 15 15