Changes for page Scripting
Last modified by Mohammad Humayun Khan on 2021/07/22
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -173,10 +173,11 @@ 173 173 174 174 === Controlling Which Sections to Display === 175 175 176 -You can control whether to display Comments/History/Attachment/Information sections or not by setting some velocity variables to ##false##:176 +You can control whether to display Comments/Annotations/History/Attachment/Information tabs or not by setting some velocity variables to ##false##: 177 177 178 178 {{code language="velocity"}} 179 179 #set ($showcomments = false) 180 +#set ($showannotations = false) 180 180 #set ($showattachments = false) 181 181 #set ($showhistory = false) 182 182 #set ($showinformation = false) ... ... @@ -185,9 +185,15 @@ 185 185 To remove them all you can set: 186 186 187 187 {{code language="velocity"}} 188 -#set($doc extras=[])189 +#set($displayDocExtra = false) 189 189 {{/code}} 190 190 192 +You can also control wether shortcuts links are displayed in the page menu: 193 + 194 +{{code language="velocity"}} 195 +#set($displayShortcuts = false) 196 +{{/code}} 197 + 191 191 === Information about the current user === 192 192 193 193 The following variables (set in the {{scm path="xwiki-platform-core/xwiki-platform-web/src/main/webapp/templates/xwikivars.vm"}}xwikivars.vm{{/scm}} template) are shortcuts for checking various information **for the current user**: