Changes for page Books

Last modified by Jip-jan Alunkel on November 23, 10:59

From version 9.14
edited by Jip-jan Alunkel
on August 30, 22:31
Change comment: Updated class property
To version 9.18
edited by Jip-jan Alunkel
on August 31, 12:36
Change comment: Updated class property

Summary

Details

Page properties
Content
... ... @@ -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", "author", "doc.space"])
15 +#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},
18 + "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.",
24 + "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")
37 +#set($form_start = {
38 + "id": "homeoworld_form",
39 + "product": "book",
40 + "method": "post",
41 + "url": "",
42 + "use_captcha": "false"
43 +})
44 +#createFormStart($form_start)
37 37  #set($booktype = {
38 38   "id" : "booktype",
39 39   "type" : "select",
... ... @@ -73,7 +73,7 @@
73 73   "data-default-value": "",
74 74   "placeholder" : "$services.localization.render('cases.word.author.placeholder')",
75 75   "data-auto-first-capital" : "true",
76 - "data-query-type" : "XWQL.matchObject",
84 + "data-query-type" : "XWQL",
77 77   "data-query-reference" : "assets.pagemaker.XWQL.matchObject",
78 78   "data-query-scope" : "",
79 79   "data-query-list-type" : "suggest-select",
... ... @@ -88,7 +88,6 @@
88 88   "data-error-response-type" : "use_label_definite_1",
89 89   "help-block" : 'Enter the last name of the author of this case. Choose the author from the list or create a new author.'
90 90  })
91 -
92 92  #createFormElement($author)
93 93  #set($extra_info = {
94 94   "id" : "extra_info",
... ... @@ -120,7 +120,10 @@
120 120   "help-block" : ""
121 121  })
122 122  #createSubmit($submit)
123 -#createFormEnd()
130 +#set($form_end = {
131 + "use_captcha": "false"
132 +})
133 +#createFormEnd($form_end)
124 124  
125 125  {{/html}}
126 126  {{/velocity}}