Changes for page Home

Last modified by Martin Walzer on 2026/04/17 19:07

From version 3.1
edited by Martin Walzer
on 2026/04/17 18:54
Change comment: There is no comment for this version
To version 2.5
edited by Martin Walzer
on 2026/04/17 18:47
Change comment: allow view right for XWiki.XWikiGuest

Summary

Details

Page properties
Content
... ... @@ -1,10 +1,19 @@
1 -{{velocity}} #if($xcontext.getUser() == 'XWiki.XWikiGuest')
2 - {{html clean="false"}} <div style="text-align:center; padding:80px 40px;"> <h1>Welcome to CENEC PMS</h1>
3 - <p>This is a private platform for CENEC (Pty) Ltd and its associated entities.</p> <p>Access is by invitation only.</p> <a href="/bin/login/XWiki/XWikiLogin" class="btn btn-primary btn-lg" style="margin-top:24px">Log in to continue</a>
4 - </div>
5 - {{/html}}
6 -#else
7 - = Dashboard =
8 - (paste your normal dashboard content here)
9 -#end
10 -{{/velocity}}
1 +(% class="wikigeneratedid" id="HWelcometoyourwiki" %)
2 +~{~{velocity}}
3 +#if($xcontext.getUser() == 'XWiki.XWikiGuest')
4 +~(% class="cenec-welcome" style="text-align:center; padding:80px 40px" %)
5 +
6 +(% class="wikigeneratedid" %)
7 +~(~(~(
8 +~= Welcome to Centeral Energy Corporation / Project Management System =
9 +
10 +This is a private platform for CENEC (Pty) Ltd and its associated entities.
11 +
12 +Access is by invitation only.
13 +
14 +~[~[Log in to continue>>path:/bin/login/XWiki/XWikiLogin||class="btn btn-primary btn-lg" style="margin-top:24px"]] ~)~)~)
15 +#else
16 +~{~{include reference="XWiki.DefaultMainPageContent"/}}
17 +~#~# or paste your dashboard content for logged-in users here
18 +#end
19 +~{~{/velocity}}