0 Votes

Changes for page Home

Last modified by Alex Cotiugă on 2026/01/13 13:12

From version 1.13
edited by Alex Cotiugă
on 2024/05/29 07:43
Change comment: There is no comment for this version
To version 10.11
edited by Alex Cotiugă
on 2026/01/12 13:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,11 @@
1 1  {{velocity}}
2 -$xcontext.userReference
3 -##if ($xontext.userReference)
4 -{{/velocity}}
2 +#if ("$!xcontext.userReference" == '')
5 5  
4 + {{include reference="PublicWebSite.WebHome"/}}
5 +
6 + #displayPublicContent()
7 +#else
8 + {{include reference="Intranet.WebHome"/}}
9 + #displayInternalContent()
10 +#end
11 +{{/velocity}}
XWiki.StyleSheetExtension[0]
Caching policy
... ... @@ -1,1 +1,0 @@
1 -long
Code
... ... @@ -1,9 +1,0 @@
1 -#xwikimainmenu .navbar-right,
2 -#hierarchy_breadcrumb,
3 -.document-header,
4 -#mainContentArea > hr,
5 -#xdocFooter,
6 -#xwikidata,
7 -#footerglobal {
8 - display: none;
9 -}
Use this extension
... ... @@ -1,1 +1,0 @@
1 -currentPage