Changes for page Books

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

From version 9.17
edited by Jip-jan Alunkel
on August 31, 02:12
Change comment: Updated class property
To version 9.9
edited by Jip-jan Alunkel
on August 30, 22:11
Change comment: Renamed back-links.

Summary

Details

Page properties
Content
... ... @@ -12,10 +12,10 @@
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 = {
... ... @@ -33,14 +33,7 @@
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 -#set($form_start = {
37 - "id": "homeoworld_form",
38 - "product": "book",
39 - "method": "post",
40 - "url": "",
41 - "use_captcha": "false"
42 -})
43 -#createFormStart($form_start)
36 +#createFormStart("homeoworld_form" "book")
44 44  #set($booktype = {
45 45   "id" : "booktype",
46 46   "type" : "select",
... ... @@ -77,12 +77,11 @@
77 77   "required" : "true",
78 78   "label" : "Author of the book",
79 79   "aria-label" : "Enter the author of the book",
80 - "data-default-value": "",
81 81   "placeholder" : "$services.localization.render('cases.word.author.placeholder')",
82 82   "data-auto-first-capital" : "true",
83 - "data-query-type" : "XWQL",
75 + "data-query-type" : "XWQL.matchObject",
84 84   "data-query-reference" : "assets.pagemaker.XWQL.matchObject",
85 - "data-query-scope" : "",
77 + "data-query-scope" : "books",
86 86   "data-query-list-type" : "suggest-select",
87 87   "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
88 88   "data-query-list-contents" : "value",
... ... @@ -89,11 +89,11 @@
89 89   "data-query-list-editable" : "true",
90 90   "data-create-xobj" : "true",
91 91   "data-xobj-classname" : "assets.pagemaker.classes.persons",
92 - "data-xobj-fieldname" : "name",
84 + "data-xobj-fieldname" : "author",
93 93   "data-modal-input" : ["$services.localization.render('global.word.lastname')", "$services.localization.render('global.word.firstname')"],
94 94   "data-modal-input-glue": ", ",
95 95   "data-error-response-type" : "use_label_definite_1",
96 - "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.'
97 97  })
98 98  #createFormElement($author)
99 99  #set($extra_info = {
... ... @@ -126,10 +126,7 @@
126 126   "help-block" : ""
127 127  })
128 128  #createSubmit($submit)
129 -#set($form_end = {
130 - "use_captcha": "false"
131 -})
132 -#createFormEnd($form_end)
121 +#createFormEnd()
133 133  
134 134  {{/html}}
135 135  {{/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