Changes for page Get in Touch About Your XWiki Project
Last modified by Alex Cotiugă on 2026/05/02 12:23
From version 15.23
edited by Alex Cotiugă
on 2026/05/02 12:23
on 2026/05/02 12:23
Change comment:
There is no comment for this version
To version 15.6
edited by Alex Cotiugă
on 2026/05/02 12:11
on 2026/05/02 12:11
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,7 +4,7 @@ 4 4 #set ($now = $datetool.get('yyyyMMddHHmm')) 5 5 #set ($random = $mathtool.random(100000, 999999)) 6 6 #set ($uniqueName = "ContactRequest-${now}-${random}") 7 - #set ($contactRequestDoc = $xwiki.getDocument AsAuthor('ContactRequests.' + $uniqueName))7 + #set ($contactRequestDoc = $xwiki.getDocument('ContactRequests.' + $uniqueName)) 8 8 #set ($contactRequestObj = $contactRequestDoc.getObject('Agnease.Code.ContactRequest.ContactRequestClass', true)) 9 9 #set ($statusCode = 200) 10 10 #set ($message = 'Your request was successfully sent.') ... ... @@ -17,8 +17,6 @@ 17 17 #end 18 18 19 19 #set ($discard = $contactRequestDoc.saveAsAuthor()) 20 - 21 - #set ($message = "$message") 22 22 23 23 ##set ($statusCode = 400) 24 24 ##set ($message = 'error') ... ... @@ -29,6 +29,7 @@ 29 29 {{/velocity}} 30 30 31 31 {{velocity}} 30 +#set ($discard = $xwiki.ssx.use('PublicWebSite.WebHome')) 32 32 #set ($discard = $xwiki.ssx.use('contact.WebHome')) 33 33 #set ($xobject = $doc.getObject('Agnease.Code.ContactRequest.ContactRequestClass')) 34 34 #set ($xclass = $xobject.xWikiClass)
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -66,33 +66,3 @@ 66 66 color: @brand; 67 67 font-weight: 700; 68 68 } 69 - 70 - 71 -/* ===== MENU Style ===== */ 72 -.navbar-default .navbar-nav { 73 - float: right !important; 74 - background-color: #fff; 75 - border-color: #fff; 76 - .menu-horizontal { 77 - background-color: #fff; 78 - border-color: #fff; 79 - } 80 - 81 - margin-left:20px; 82 - li { 83 - align-items: end; 84 - font-size: 20px; 85 - &:hover { 86 - background-color: #fff; 87 - color: #00463c; 88 - } 89 - a { 90 - padding-bottom: 0; 91 - padding-top: 14px; 92 - &:hover { 93 - background-color: #fff; 94 - color: #00463c; 95 - } 96 - } 97 - } 98 -}