Changes for page Books

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

From version 9.18
edited by Jip-jan Alunkel
on August 31, 12:36
Change comment: Updated class property
To version 9.10
edited by Jip-jan Alunkel
on August 30, 22:13
Change comment: Renamed back-links.

Summary

Details

Page properties
Content
... ... @@ -12,16 +12,15 @@
12 12  <h2 class="livetable">Overview of all books</h2>
13 13  <div class="livetable">
14 14  
15 -#set ($columns = ["doc.title", "name", "doc.space"])
15 +#set ($columns = ["doc.title", "author", "doc.space"])
16 16  #set ($columnsProperties = {
17 17   "doc.title": {"type": "text", "filterable" : true, "sortable": true, "link": "view"},
18 - "name" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4},
18 + "remedy" : {"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",
25 25   "queryFilters" : "currentlanguage",
26 26   "rowCount": 10
27 27  })
... ... @@ -34,14 +34,7 @@
34 34   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.
35 35  </p>
36 36  
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)
36 +#createFormStart("homeoworld_form" "book")
45 45  #set($booktype = {
46 46   "id" : "booktype",
47 47   "type" : "select",
... ... @@ -78,10 +78,9 @@
78 78   "required" : "true",
79 79   "label" : "Author of the book",
80 80   "aria-label" : "Enter the author of the book",
81 - "data-default-value": "",
82 82   "placeholder" : "$services.localization.render('cases.word.author.placeholder')",
83 83   "data-auto-first-capital" : "true",
84 - "data-query-type" : "XWQL",
75 + "data-query-type" : "XWQL.matchObject",
85 85   "data-query-reference" : "assets.pagemaker.XWQL.matchObject",
86 86   "data-query-scope" : "",
87 87   "data-query-list-type" : "suggest-select",
... ... @@ -94,7 +94,7 @@
94 94   "data-modal-input" : ["$services.localization.render('global.word.lastname')", "$services.localization.render('global.word.firstname')"],
95 95   "data-modal-input-glue": ", ",
96 96   "data-error-response-type" : "use_label_definite_1",
97 - "help-block" : 'Enter the last name of the author of this case. Choose the author from the list or create a new author.'
88 + "help-block" : 'Select the author of this case.'
98 98  })
99 99  #createFormElement($author)
100 100  #set($extra_info = {
... ... @@ -127,10 +127,7 @@
127 127   "help-block" : ""
128 128  })
129 129  #createSubmit($submit)
130 -#set($form_end = {
131 - "use_captcha": "false"
132 -})
133 -#createFormEnd($form_end)
121 +#createFormEnd()
134 134  
135 135  {{/html}}
136 136  {{/velocity}}
author
Number
... ... @@ -1,0 +1,1 @@
1 +4
Size
... ... @@ -1,0 +1,1 @@
1 +30
Pretty Name
... ... @@ -1,0 +1,1 @@
1 +author
Name
... ... @@ -1,0 +1,1 @@
1 +author
Use Suggest
... ... @@ -1,0 +1,1 @@
1 +1