Changes for page BlogPostLayoutIDoc

Last modified by Administrator on 03.08.2023 14:17

From version 13.1
edited by Administrator
on 03.08.2023 14:17
Change comment: Imported from XAR
To version 10.4
edited by Administrator
on 18.09.2017 07:42
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -BlogPostLayoutIDoc
1 +BlogPostLayoutMyLayout
Parent
... ... @@ -1,1 +1,1 @@
1 -Blog.WebHome
1 +xwiki:Blog.WebHome
Default language
... ... @@ -1,0 +1,1 @@
1 +cs
Hidden
... ... @@ -1,1 +1,1 @@
1 -true
1 +false
XWiki.WikiMacroClass[0]
Macro code
... ... @@ -75,12 +75,24 @@
75 75   #end
76 76   #end
77 77   #displayEntryContent($postDoc $postObj $useSummary)
78 -## #displayEntryFooter($postDoc $postObj)
78 + #displayEntryFooter($postDoc $postObj)
79 79  
80 80  ## #macro(displayEntryFooter $entryDoc $entryObj)
81 81   (% class="entry-footer" %)(((
82 - [[{{translation key='blog.code.permalink'/}}>>$postDoc||rel="bookmark"]] ##
83 - (% class="separator" %)·(%%) [[{{translation key='blog.code.comments'/}}>>$postDoc||anchor="Comments"]] (% class="itemCount" %)($postDoc.comments.size())(%%) ##
82 + #isPublished($postObj $isPublished)
83 + (% class='entry-author-label' %)
84 + #if($isPublished)
85 + {{translation key='blog.code.postedby'/}} ##
86 + #else
87 + {{translation key='blog.code.createdby'/}} ##
88 + #end
89 + {{html wiki="false" clean="false"}}<span class='author vcard'>#userfn($postDoc.creator)</span>{{/html}} ##
90 + #getEntryDate($postDoc $postObj $entryDate)
91 + #listCategories($postObj) #*
92 + ## Since the publish date and update date are not set at the exact same time, there could be a small difference that
93 + ## we assume cannot be more than 3 seconds.
94 + *#(% class="separator" %)·(%%) [[{{translation key='blog.code.permalink'/}}>>$postDoc||rel="bookmark"]] ##
95 + (% class="separator" %)·(%%) [[{{translation key='blog.code.comments'/}}>>$postDoc||anchor="Comments"]] (% class="itemCount" %)($postDoc.comments.size())(%%) ##
84 84   )))## entry-footer
85 85  ## #end
86 86  
Macro description
... ... @@ -1,1 +1,1 @@
1 -This macro is used to display a iDoc blog post
1 +Makro pro zobraze příspěvku iDoc
Macro id
... ... @@ -1,1 +1,1 @@
1 -blogPostLayoutIDoc
1 +blogPostLayoutMyLayout
Macro name
... ... @@ -1,1 +1,1 @@
1 -Blog Post Layout iDoc
1 +Blog Post Layout My Layout