Last modified by Thomas Mortagne on 2020/01/28
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-blog-ui-8.2.1]
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. VincentMassol1 +XWiki.ThomasMortagne - Content
-
... ... @@ -16,6 +16,12 @@ 16 16 ## displayBlog requires a list of documents, and whether to display only an extract or the full entry. 17 17 #displayBlog([$tdoc] 'single' false false) 18 18 #else 19 + #if ("$!request.title" != '') 20 + ## Use the page title specified on the request, if available, as blog post title. This is needed for instance when 21 + ## we create the blog post using the Create Page wizard with the blog post template provider (the user is specifying 22 + ## the page title). 23 + #set ($discard = $entryObj.set('title', $request.title)) 24 + #end 19 19 ; {{translation key='xe.blog.sheet.title'/}} 20 20 : $doc.display('title', 'edit', $entryObj) 21 21 ; {{translation key='xe.blog.sheet.content'/}}