/
1790.html
235 lines (118 loc) · 4.4 KB
/
1790.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
<html>
<head>
<title>The Definitive Guide to Plone, Errata</title>
</head>
<body>
<pre>
Chapter 4
Page 52:
Error in text. The current text reads:
"it won't show up in navigation or searches"
This should read:
"it won't show up in navigation"
Page 87
Error in text. The current text reads:
"Then I deleted right slots"
This should read:
"Then I deleted all the content in the right_slots property."
Page 89
The current text reads:
"Selecting this folder"
This should read:
"De-selecting this folder"
Page 93
Error in text in the sidebar. The current text reads:
"For the Type field, enter list."
This should read:
"For the Type field, enter lines."
Chapter 5
Page 123
Code is wrong. The current code reads:
<a href="http://plone.org/Members/andy/book">Link</a>
This should read:
<a href="http://plone.org/Members/andy/book" title="Plone Book">Link</a>
Code is wrong. The current code reads:
<a href="#" tal:attributes="href python:request.get('message', 'change', default)" />
This should read:
<a href="#" tal:attributes="href python:request.get('message', default)" />
And as a result text is wrong:
"then first value will be used, which is of course change."
Should be:
"then first value will be used, which is of course message."
Chapter 7
Page 181
Error in text. The current text reads
"has a number of variables in populated using Dynamic HTML (DTML)."
This should read:
"has a number of variables in populated using Document Template Markup Language (DTML)"
Chapter 9
Page 270-1
There is code for fixing up users called fixUsers. This code has an error. The current lines read:
if p is not Noneand p!= 'Epoz':
m.setMemberProperties({'wysiwyg_editor', 'Epoz',})
This should read:
if p is not None and p!= 'Epoz':
m.setMemberProperties({'wysiwyg_editor': 'Epoz',})
Page 271-2
There is a code for calculating the users in a group. This code has an error. The current lines read:
group = getGroupById(group)
This should read:
group = pg.getGroupById(group)
Chapter 11
Page 321
The current text reads:
"This is a title for the content type. This isn't used in Plone"
Should read:
"This is a title for the content type."
The current text reads:
"This is the action that will be called when the item is clicked in the folder lists, folder contents and so on. Usually this is the view, so enter the name of the template."
Should read:
"This isn't used in Plone"
Page 333
Error in table:
"The portal type as defined in the portal_types tool."
Should read:
"The portal type's title as defined in the portal_types tool."
Page 339
Error in code:
"CreationDate = { "query": [start, end],"
Should read:
"created = { "query": [start, end],"
Chapter 13
Page 403
Error in code. Currently reads:
default_output_types = 'text/html',
Should read:
default_output_type = 'text/html',
Page 425
Multiple errors in this script. I'll take each one...
At the top add the following line:
from Products.Archetypes.public import registerType, BaseContent
The current text reads:
from Products.Archetypes.public import Schema
This should read:
from Products.Archetypes.public import Schema, BaseSchema
The current text reads:
from Products.Archetypes.public import IntegerWidget, StringField
This should read:
from Products.Archetypes.public import IntegerWidget, StringWidget
The current text has the following line appearing twice:
storage = SQLStorage(),
Both of these lines should read:
storage = PostgreSQLStorage(),
Appendix B
Page 525
This code has an error. The current lines read:
if p is not None and p!= 'Epoz':
m.setMemberProperties({'wysiwyg_editor', 'Epoz',})
This should read:
if p is not None and p!= 'Epoz':
m.setMemberProperties({'wysiwyg_editor': 'Epoz',})
Page 526
There is a code for calculating the users in a group. This code has an error. The current lines read:
group = getGroupById(group)
This should read:
group = pg.getGroupById(group)
</pre>
</body>
</html>