Changes for page BlogPostLayoutFull
Last modified by Administrator on 03.08.2023 14:17
From version 1.1
edited by Administrator
on 03.07.2017 07:57
on 03.07.2017 07:57
Change comment:
Install extension [org.xwiki.contrib.blog:application-blog-ui-9.4]
To version 3.1
edited by superadmin
on 29.06.2023 12:27
on 29.06.2023 12:27
Change comment:
Migrated property [type] from class [XWiki.WikiMacroParameterClass]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. xwikiadm1 +XWiki.superadmin
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -5,9 +5,12 @@ 5 5 {{velocity}} 6 6 #if ($services.security.authorization.hasAccess('view', $xcontext.macro.params.reference)) 7 7 #set ($postDoc = $xwiki.getDocument($xcontext.macro.params.reference)) 8 +#if ($doc.fullName == $postDoc.fullName) 9 + #set ($postDoc = $doc) 10 +#end 8 8 #getEntryObject($postDoc $postObj) 9 9 #if ("$!postObj" != '') 10 -#set ($useSummary = false)13 +#set ($useSummary = true) 11 11 #set ($displayTitle = true) 12 12 #set ($displayCalendar = true) 13 13 #set ($displayCalendarImage = true) ... ... @@ -15,8 +15,8 @@ 15 15 #set ($previousPostReference = '') 16 16 #extractLayoutParametersFromString($xcontext.macro.params.params $macroAdditionalParams) 17 17 ## 18 -#if ("$!macroAdditionalParams.get('useSummary')" == ' true')19 - #set ($useSummary = true)21 +#if ("$!macroAdditionalParams.get('useSummary')" == 'false') 22 + #set ($useSummary = false) 20 20 #end 21 21 ## 22 22 #if ("$!macroAdditionalParams.get('displayTitle')" == 'false') ... ... @@ -23,13 +23,8 @@ 23 23 #set ($displayTitle = false) 24 24 #end 25 25 ## 26 -#if ("$!macroAdditionalParams.get('displayImage')" == 'true') 27 - #set ($displayImage = true) 28 -#end 29 -## 30 30 #if ("$!macroAdditionalParams.get('displayCalendar')" == 'false') 31 31 #set ($displayCalendar = false) 32 - #set ($displayImage = false)## DisplayCalendar has the priority 33 33 #end 34 34 ## 35 35 #if ("$!macroAdditionalParams.get('previousPostReference')" != '') - Macro visibility
-
... ... @@ -1,1 +1,1 @@ 1 - Global1 +Current Wiki