Changes for page Books
Last modified by Jip-jan Alunkel on November 23, 10:59
From version 9.15
edited by Jip-jan Alunkel
on August 30, 23:50
on August 30, 23:50
Change comment:
Updated class property
To version 9.20
edited by Jip-jan Alunkel
on August 31, 21:54
on August 31, 21:54
Change comment:
Updated class property
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,6 +1,7 @@ 1 1 {{include reference="assets.pagemaker.macros"/}} 2 2 3 3 {{velocity}} 4 +#set($discard = $services.localization.use('document', 'assets.global.translations')) 4 4 #set($discard = $services.localization.use('document', 'assets.pagemaker.translations')) 5 5 #set($discard = $xwiki.ssx.use('assets.pagemaker.WebHome', {'minify' : false})) 6 6 #set($discard = $xwiki.jsx.use('assets.pagemaker.WebHome', {'minify' : false})) ... ... @@ -12,15 +12,16 @@ 12 12 <h2 class="livetable">Overview of all books</h2> 13 13 <div class="livetable"> 14 14 15 -#set ($columns = ["doc.title", "a uthor", "doc.space"])16 +#set ($columns = ["doc.title", "name", "doc.space"]) 16 16 #set ($columnsProperties = { 17 17 "doc.title": {"type": "text", "filterable" : true, "sortable": true, "link": "view"}, 18 - " remedy" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4},19 + "name" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4}, 19 19 "doc.space" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4, "link": "space"} 20 20 }) 21 21 #set ($options = { 22 22 "className" : "books.WebHome", 23 23 "translationPrefix" : "books.livetable.", 25 + "extraParams": "&name_class=assets.pagemaker.classes.persons", 24 24 "queryFilters" : "currentlanguage", 25 25 "rowCount": 10 26 26 }) ... ... @@ -33,7 +33,14 @@ 33 33 Please feel free to share these books with our readers. However, to make sure your case is correctly filed in this wiki it is necessary that you answer a few simple questions about the case. 34 34 </p> 35 35 36 -#createFormStart("homeoworld_form" "book") 38 +#set($form_start = { 39 + "id": "homeoworld_form", 40 + "product": "book", 41 + "method": "post", 42 + "url": "", 43 + "use_captcha": "false" 44 +}) 45 +#createFormStart($form_start) 37 37 #set($booktype = { 38 38 "id" : "booktype", 39 39 "type" : "select", ... ... @@ -86,7 +86,7 @@ 86 86 "data-modal-input" : ["$services.localization.render('global.word.lastname')", "$services.localization.render('global.word.firstname')"], 87 87 "data-modal-input-glue": ", ", 88 88 "data-error-response-type" : "use_label_definite_1", 89 - "help-block" : 'Enter the last name of the author of this case. Choose the author from the list or create a new author.'98 + "help-block" : 'Enter the last name of the author of this book. Choose the author from the list or create a new author.' 90 90 }) 91 91 #createFormElement($author) 92 92 #set($extra_info = { ... ... @@ -119,7 +119,10 @@ 119 119 "help-block" : "" 120 120 }) 121 121 #createSubmit($submit) 122 -#createFormEnd() 131 +#set($form_end = { 132 + "use_captcha": "false" 133 +}) 134 +#createFormEnd($form_end) 123 123 124 124 {{/html}} 125 125 {{/velocity}}