Fixed bug #17001: Rename config.doctype value "html_5" to "html5" (Thanks to Sebastia...
[Packages/TYPO3.CMS.git] / typo3 / sysext / t3editor / res / tsref / tsref.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <tsRef>
3 <type id="cObj"/>
4 <type id="array"/>
5 <type id="int"/>
6 <type id="intList"/>
7 <type id="double"/>
8 <type id="boolean"/>
9 <type id="string"/>
10 <type id="ADMPANEL"/>
11 <type id="ARR_languages_strings" name="ARR_languages_strings">
12 <property name="default" type="string"/>
13 <property name="en" type="string"/>
14 <property name="dk" type="string"/>
15 <property name="de" type="string"/>
16 <property name="no" type="string"/>
17 <property name="it" type="string"/>
18 <property name="fr" type="string"/>
19 <property name="nl" type="string"/>
20 <property name="cz" type="string"/>
21 <property name="pl" type="string"/>
22 <property name="si" type="string"/>
23 <property name="fi" type="string"/>
24 <property name="tr" type="string"/>
25 <property name="se" type="string"/>
26 <property name="pt" type="string"/>
27 <property name="ru" type="string"/>
28 <property name="ro" type="string"/>
29 <property name="ch" type="string"/>
30 <property name="sk" type="string"/>
31 <property name="lt" type="string"/>
32 <property name="is" type="string"/>
33 <property name="hr" type="string"/>
34 <property name="hu" type="string"/>
35 <property name="gl" type="string"/>
36 <property name="th" type="string"/>
37 <property name="gr" type="string"/>
38 <property name="hk" type="string"/>
39 <property name="eu" type="string"/>
40 <property name="bg" type="string"/>
41 <property name="br" type="string"/>
42 <property name="et" type="string"/>
43 <property name="ar" type="string"/>
44 <property name="he" type="string"/>
45 <property name="ua" type="string"/>
46 <property name="lv" type="string"/>
47 <property name="jp" type="string"/>
48 <property name="vn" type="string"/>
49 <property name="ca" type="string"/>
50 <property name="ba" type="string"/>
51 <property name="kr" type="string"/>
52 <property name="eo" type="string"/>
53 <property name="my" type="string"/>
54 <property name="hi" type="string"/>
55 </type>
56 <type id="CARRAY" extends="stdWrap" name="CARRAY">
57 <property name="1" type="cObj">
58 <description><![CDATA[This is a numerical "array" of content-objects (cObjects). The order by which you specific the objects is not important as the array will be sorted before it's parsed!
59
60 ]]></description>
61 </property>
62 <property name="2" type="cObj">
63 <description><![CDATA[This is a numerical "array" of content-objects (cObjects). The order by which you specific the objects is not important as the array will be sorted before it's parsed!
64
65 ]]></description>
66 </property>
67 <property name="3" type="cObj">
68 <description><![CDATA[This is a numerical "array" of content-objects (cObjects). The order by which you specific the objects is not important as the array will be sorted before it's parsed!
69
70 ]]></description>
71 </property>
72 <property name="4" type="cObj">
73 <description><![CDATA[This is a numerical "array" of content-objects (cObjects). The order by which you specific the objects is not important as the array will be sorted before it's parsed!
74
75 ]]></description>
76 </property>
77 </type>
78 <type id="CARRAY+TDParams" extends="CARRAY" name="CARRAY+TDParams">
79 <property name="TDParams" type="string">
80 <description><![CDATA[<TD>-params
81 NOTE: This applies ONLY if "CARRAY +TDParams" is set to be data type
82 This property is used only in some cases where CARRAY is used. Please look out for a note about that in the various cases.
83 ]]></description>
84 <default><![CDATA[
85 ]]></default>
86 </property>
87 </type>
88 <type id="CASE" extends="cObjArray" name="CASE">
89 <property name="default" type="cObj">
90 <description><![CDATA[The default object, if not defined, nothing is returned in the default case.
91 ]]></description>
92 </property>
93 <property name="if" type="if">
94 <description><![CDATA[if "if" returns false nothing is returned
95
96 ]]></description>
97 </property>
98 <property name="key" type="stdWrap">
99 <description><![CDATA[If the value of this key is defined, that object will be returned, otherwise the default-object will be returned.
100 <pre>key = helloWorld
101 helloWorld = <a href="/index.php/TSref/TEXT" title="TSref/TEXT">TEXT</a>
102
103 helloWorld.value = this item will be returned
104 </pre>
105 ]]></description>
106 </property>
107 <property name="setCurrent" type="stdWrap">
108 <description><![CDATA[Sets the "current"-value.
109
110 ]]></description>
111 </property>
112 <property name="stdWrap" type="stdWrap">
113 <description><![CDATA[stdwrap properties, applied on the returned object.
114 ]]></description>
115 </property>
116 </type>
117 <type id="CLEARGIF" name="CLEARGIF">
118 <property name="height" type="stdWrap">
119 <description><![CDATA[<img>-data:height /stdWrap
120 ]]></description>
121 <default><![CDATA[1]]></default>
122 </property>
123 <property name="width" type="stdWrap">
124 <description><![CDATA[<img>-data:width /stdWrap
125 ]]></description>
126 <default><![CDATA[1]]></default>
127 </property>
128 <property name="wrap" type="stdWrap">
129 <description><![CDATA[wrap/stdWrap
130 ]]></description>
131 <default><![CDATA[ | <BR>]]></default>
132 </property>
133 </type>
134 <type id="cObjArray">
135 <property name="1" type="cObj">
136 <description><![CDATA[This is a numerical "array" of content-objects (cObjects).
137 ]]></description>
138 </property>
139 <property name="2" type="cObj">
140 <description><![CDATA[This is a numerical "array" of content-objects (cObjects).
141 ]]></description>
142 </property>
143 <property name="3" type="cObj">
144 <description><![CDATA[This is a numerical "array" of content-objects (cObjects).
145 ]]></description>
146 </property>
147 <property name="4" type="cObj">
148 <description><![CDATA[This is a numerical "array" of content-objects (cObjects).
149 ]]></description>
150 </property>
151 </type>
152 <type id="COBJ_ARRAY" extends="cObjArray">
153 <property name="if" type="if">
154 <description><![CDATA[if "if" returns false the COA is NOT rendered]]></description>
155 <default><![CDATA[
156 ]]></default>
157 </property>
158 <property name="stdWrap" type="stdWrap">
159 <description><![CDATA[
160 ]]></description>
161 <default><![CDATA[
162 ]]></default>
163 </property>
164 <property name="wrap" type="stdWrap">
165 <description><![CDATA[wrap/stdWrap
166 ]]></description>
167 <default><![CDATA[
168 ]]></default>
169 </property>
170 </type>
171 <type id="COA" extends="COBJ_ARRAY">
172 </type>
173 <type id="COA_INT" extends="COBJ_ARRAY">
174 <property name="includeLibs" type="stdWrap">
175 <description><![CDATA[list of resources/stdWrap
176 (This property is used only if the object is COA_INT!, See introduction.)
177 This is a comma-separated list of resources that are included as PHP-scripts (with include_once() function) if this script is included.
178 This is possible to do because any include-files will be known before the scripts are included. That's not the case with the regular PHP_SCRIPT cObject.]]></description>
179 <default><![CDATA[
180 ]]></default>
181 </property>
182 </type>
183 <type id="COLUMNS">
184 <property name="TDparams" type="stdWrap">
185 <description><![CDATA[<TD>-params/stdWrap
186 ]]></description>
187 <default><![CDATA[valign=top]]></default>
188 </property>
189 <property name="1" type="cObj">
190 <description><![CDATA[This is the content-object for each column!!]]></description>
191 <default><![CDATA[
192 ]]></default>
193 </property>
194 <property name="2" type="cObj">
195 <description><![CDATA[This is the content-object for each column!!]]></description>
196 <default><![CDATA[
197 ]]></default>
198 </property>
199 <property name="3" type="cObj">
200 <description><![CDATA[This is the content-object for each column!!]]></description>
201 <default><![CDATA[
202 ]]></default>
203 </property>
204 <property name="4" type="cObj">
205 <description><![CDATA[This is the content-object for each column!!]]></description>
206 <default><![CDATA[
207 ]]></default>
208 </property>
209 <property name="after" type="cObj">
210 <description><![CDATA[This is a cObject placed after the columns-table!!]]></description>
211 <default><![CDATA[
212 ]]></default>
213 </property>
214 <property name="gapBgCol" type="stdWrap">
215 <description><![CDATA[HTML-color /stdWrap
216 background-color for the gap-tablecells]]></description>
217 <default><![CDATA[
218 ]]></default>
219 </property>
220 <property name="gapLineCol" type="stdWrap">
221 <description><![CDATA[HTML-color /stdWrap
222 Line color]]></description>
223 <default><![CDATA[black]]></default>
224 </property>
225 <property name="gapLineThickness" type="stdWrap">
226 <description><![CDATA[int /stdWrap
227 lineThickness of the dividerline in the gap between cells
228 0 = no line]]></description>
229 <default><![CDATA[
230 ]]></default>
231 </property>
232 <property name="gapWidth" type="stdWrap">
233 <description><![CDATA[int /stdWrap
234 Width of the gap between columns.
235 0 = no gap]]></description>
236 <default><![CDATA[
237 ]]></default>
238 </property>
239 <property name="if" type="if">
240 <description><![CDATA[if "if" returns false the columns are not rendered!]]></description>
241 <default><![CDATA[
242 ]]></default>
243 </property>
244 <property name="rows" type="stdWrap">
245 <description><![CDATA[int (Range: 2-20)/stdWrap
246 The number of rows  in the columns.]]></description>
247 <default><![CDATA[2]]></default>
248 </property>
249 <property name="stdWrap" type="stdWrap">
250 <description><![CDATA[
251 ]]></description>
252 <default><![CDATA[
253 ]]></default>
254 </property>
255 <property name="tableParams" type="stdWrap">
256 <description><![CDATA[<TABLE>-params/stdWrap
257 ]]></description>
258 <default><![CDATA[border=0 cellspacing=0 cellpadding=0]]></default>
259 </property>
260 <property name="totalWidth" type="stdWrap">
261 <description><![CDATA[int/stdWrap
262 The total-width of the columns+gaps]]></description>
263 <default><![CDATA[
264 ]]></default>
265 </property>
266 </type>
267 <type id="CONFIG">
268 <property name="ATagParams" type="string">
269 <description><![CDATA[<A>-params
270 Additional parameters to all links in TYPO3 (excluding menu-links)
271
272 Example:
273 To blur links, insert:
274 onFocus="blurLink(this)"]]></description>
275 <default><![CDATA[
276 ]]></default>
277 </property>
278 <property name="MP_defaults" type="string">
279 <description><![CDATA[Allows you to set a list of page id numbers which will always have a certain "&MP=..." parameter added.
280
281 Syntax:
282 [id],[id],... : [MP-var] | [id],[id],... : [MP-var] | ...
283
284 Example:
285 config.MP_defaults = 36,37,48 : 2-207
286
287 This will by default add "&MP=2-207" to all links pointing to pages 36,37 and 48]]></description>
288 <default><![CDATA[
289 ]]></default>
290 </property>
291 <property name="MP_disableTypolinkClosestMPvalue" type="boolean">
292 <description><![CDATA[If set, the typolink function will not try to find the closest MP value for the id.]]></description>
293 <default><![CDATA[
294 ]]></default>
295 </property>
296 <property name="MP_mapRootPoints" type="string">
297 <description><![CDATA[list of PIDs/string
298 Defines a list of ID numbers from which the MP-vars are automatically calculated for the branch.
299 The result is used just like MP_defaults are used to find MP-vars if none has been specified prior to the call to t3lib_tstemplate::linkData().
300 You can specify "root" as a special keyword in the list of IDs and that will create a map-tree for the whole site (but this may be VERY processing intensive if there are many pages!).
301 The order of IDs specified may have a significance; Any ID in a branch which is processed already (by a previous ID root point) will not be processed again.]]></description>
302 <default><![CDATA[
303 ]]></default>
304 </property>
305 <property name="USERNAME_substToken" type="string">
306 <description><![CDATA[The is the token used on the page, which should be substituted with the current username IF a front-end user is logged in! If no login, the substitution will not happen.]]></description>
307 <default><![CDATA[<!--###USERNAME###-->]]></default>
308 </property>
309 <property name="USERUID_substToken" type="string">
310 <description><![CDATA[The is the token used on the page, which should be substituted with the current users UID IF a front-end user is logged in! If no login, the substitution will not happen.
311 This value has no default value and only if you specify a value for this token will a substitution process take place.]]></description>
312 <default><![CDATA[
313 ]]></default>
314 </property>
315 <property name="absRefPrefix" type="string">
316 <description><![CDATA[If this value is set, then all relative links in TypoScript are prepended with this string. Used to convert relative paths to absolute paths.
317
318 Note: This values is automatically set to the dirname of the index.php script in case simulateStaticDocuments is set to "PATH_INFO".
319 If you're working on a server where you have both internal and external access, you might to yourself a favour and set the absRefPrefix to the url and path of you site, eg. http://www.typo3.com/. If you do not, you risk to render pages to cache from the internal network and thereby prefix image-references and links with a non-accessible path from outside.]]></description>
320 <default><![CDATA[
321 ]]></default>
322 </property>
323 <property name="additionalHeaders" type="string">
324 <description><![CDATA[strings divided by &quot;|&quot;
325 This is additional headers. You separate each header by a vertical line "|".  Normally TYPO3 does not send any headers with the Header()-function in PHP.
326
327 Examples:
328 Content-type: text/vnd.wap.wml
329 (this will sent a content-header for a WAP-site)
330
331 Content-type: image/gif | Expires: Mon, 26 Jul 1997 05:00:00 GMT
332 (this will sent a content-header for a GIF-file and a Expires header)
333
334 Location: www.typo3.com
335 (This redirects the page to www.typo3.com)]]></description>
336 <default><![CDATA[
337 ]]></default>
338 </property>
339 <property name="admPanel" type="ADMPANEL">
340 <description><![CDATA[boolean / ADMPANEL properties
341 If set, the admin panel appears in the bottom of pages.
342
343 NOTE: In addition the panel must be enabled for the user as well, using the TSconfig for the user! See adminguide documentation.
344
345 SEE: Admin Panel section]]></description>
346 <default><![CDATA[
347 ]]></default>
348 </property>
349 <property name="baseURL" type="string">
350 <description><![CDATA[This writes the <base> tag in the header of the document. Set this to the value that is expected to be the URL, and append a "/" to the end of the string.
351
352 Example:
353 config.baseURL = http://typo3.org/sub_dir/]]></description>
354 <default><![CDATA[
355 ]]></default>
356 </property>
357 <property name="beLoginLinkIPList" type="string">
358 <description><![CDATA[[IP-number]
359 If set and REMOTE_ADDR matches one of the listed IP-numbers (Wild-card, *, allowed) then a link to the typo3/ login scrip with redirect pointing back to the page is shown.
360
361 NOTE: beLoginLinkIPList_login and/or beLoginLinkIPList_logout (see below) must be defined if the link should show up!]]></description>
362 <default><![CDATA[
363 ]]></default>
364 </property>
365 <property name="beLoginLinkIPList_login" type="string">
366 <description><![CDATA[HTML code wrapped with the login link, see 'beLoginLinkIPList'
367
368 Example:
369 <HR><B>LOGING</B>]]></description>
370 <default><![CDATA[
371 ]]></default>
372 </property>
373 <property name="beLoginLinkIPList_logout" type="string">
374 <description><![CDATA[HTML code wrapped with the logout link, see above]]></description>
375 <default><![CDATA[
376 ]]></default>
377 </property>
378 <property name="cache_clearAtMidnight" type="boolean">
379 <description><![CDATA[With this setting the cache always expires at midnight of the day, the page is scheduled to expire.]]></description>
380 <default><![CDATA[false]]></default>
381 </property>
382 <property name="cache_period" type="int">
383 <description><![CDATA[int, seconds
384 The number of second a page may remain in cache.
385 This value is overridden by the value set in the page-record (field="cache_timeout") if this value is greater than zero.]]></description>
386 <default><![CDATA[86400 (=24H)]]></default>
387 </property>
388 <property name="compensateFieldWidth" type="double">
389 <description><![CDATA[this floating point value will be used by the FORMS cObject to compensate the length of the formfields text and input.
390 This feature is useful, if the page-option "smallFormFields" is set. In that case Netscape renders formfields much longer than IE. If you want the two browsers to display the same size formfields, use a value of approx "0.6" for netscape-browsers.
391
392 Example:
393 [browser = netscape]
394   config.compensateFieldWidth = 0.6
395 [global]
396
397 This option may be overridden in the FORMS-cObject.]]></description>
398 <default><![CDATA[
399 ]]></default>
400 </property>
401 <property name="content_from_pid_allowOutsideDomain" type="boolean">
402 <description><![CDATA[Using the "Show content from this page instead" feature allows you to insert content from the current domain only. Setting this option will allow content included from anywhere in the page tree!]]></description>
403 <default><![CDATA[
404 ]]></default>
405 </property>
406 <property name="debug" type="boolean">
407 <description><![CDATA[If set any debug-information in the TypoScript code is output. Currently this applies only to the menu-objects]]></description>
408 <default><![CDATA[
409 ]]></default>
410 </property>
411 <property name="defaultGetVars" type="array">
412 <description><![CDATA[Allows to set default values for GET parameters. Default value is taken only if the GET parameter isn't defined. Array notation is done with dots, e.g.:
413
414 test[var1] will be written as text.var1
415
416 Example:
417
418 config.defaultgetVars {
419 test.var1.var2.p3 = 15
420 L = 3
421 }
422 ]]></description>
423 <default><![CDATA[
424 ]]></default>
425 </property>
426 <property name="disableAllHeaderCode" type="boolean">
427 <description><![CDATA[If this is set, none of the features of the PAGE-object is processed and the content of the page will be the result of the cObject array (1,2,3,4...) of the PAGE-object.  This means that the result of the cObject should include everything from the <HTML> .... to the </HTML> tag !!
428 Use this feature in templates supplying other content-types than HTML. That could be an image or a WAP-page!]]></description>
429 <default><![CDATA[false]]></default>
430 </property>
431 <property name="disableCharsetHeader" type="boolean">
432 <description><![CDATA[By default a header "content-type:text/html; charset..." is sent. This option will disable that.]]></description>
433 <default><![CDATA[
434 ]]></default>
435 </property>
436 <property name="disablePageExternalUrl" type="boolean">
437 <description><![CDATA[If set, pages with doktype "External Url" will not trigger jumpUrl in TSFE. This may help you to have external urls open inside you framesets.]]></description>
438 <default><![CDATA[
439 ]]></default>
440 </property>
441 <property name="disablePrefixComment" type="boolean">
442 <description><![CDATA[If set, the stdWrap property "prefixComment" will be disabled, thus preventing any revealing and spaceconsuming comments in the HTML source code.]]></description>
443 <default><![CDATA[
444 ]]></default>
445 </property>
446 <property name="disablePreviewNotification" type="boolean">
447 <description><![CDATA[Disables the "preview" notification box completely]]></description>
448 <default><![CDATA[
449 ]]></default>
450 </property>
451 <property name="doctype" type="string">
452 <description><![CDATA[If set, then a document type declaration (and an XML prologue) will be generated. The value can either be a complete doctype or one of the following keywords:
453
454 "xhtml_trans" for XHTML 1.0 Transitional doctype.
455 "xhtml_frames" for XHTML 1.0 Frameset doctype.
456 "xhtml_strict" for XHTML 1.0 Strict doctype.
457 "xhtml_basic" for XHTML basic doctype.
458 "xhtml_11" for XHTML 1.1 doctype.
459 "xhtml+rdf_10" for XHTML+RDFa 1.0 doctype.
460 "xhtml_2" for XHTML 2 doctype.
461 "html5" for HTML5
462 "none" for NO doctype at all.
463
464 Note that the keywords also change the way TYPO3 generates some of the XHTML tags to ensure valid XML. If you set doctype to a string, then you must also set config.xhtmlDoctype (see below).
465
466 See "config.htmlTag_setParams" and "config.htmlTag_langKey" for more details on the effect on the html tag.
467 ]]></description>
468 <default><![CDATA[Default is a DOCTYPE like this:
469 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
470 ]]></default>
471 </property>
472 <property name="doctypeSwitch" type="boolean">
473 <description><![CDATA[If set, the order of <?xml...> and <!DOCTYPE...> will be reversed. This is needed for MSIE to be standards compliant with XHTML.
474
475 Background:
476 By default TYPO3 outputs the XML/DOCTYPE in compliance with the standards of XHTML. However a browser like MSIE will still run in "quirks-mode" unless the <?xml> and <DOCTYPE> tags are ordered opposite. But this breaks CSS validation...
477 With this option designers can decide for themselves what they want then.
478
479 If you want to check the compatibility-mode of your webbrowser you can do so with a simple JavaScript that can be inserted on a TYPO3 page like this:
480
481 page.headerData.1 = TEXT
482 page.headerData.1.value = <script>alert(document.compatMode);</script>
483
484 If your browser has detected the DOCTYPE correctly it will report "CSS1Compat"
485 If you are not running in compliance mode you will get some other message. MSIE will report "BackCompat" for instance - this means it runs in quirks-mode, supporting all the old "browser-bugs".]]></description>
486 <default><![CDATA[
487 ]]></default>
488 </property>
489 <property name="enableContentLengthHeader" type="boolean">
490 <description><![CDATA[If set, a header "content-length: [bytes of content]" is sent.
491
492 If a PHP_SCRIPT_EXT object is detected on the page or if the Backend user is logged in, this is disabled. The reason is that the content length header cannot include the lenght of these objects and the content-length will cut of the lenght of the document in some browsers.]]></description>
493 <default><![CDATA[
494 ]]></default>
495 </property>
496 <property name="extTarget" type="string">
497 <description><![CDATA[default external target. Used by typolink if no extTarget is set]]></description>
498 <default><![CDATA[_top]]></default>
499 </property>
500 <property name="fileTarget" type="string">
501 <description><![CDATA[Default file link target. Used by typolink if no fileTarget is set. ]]></description>
502 <default><![CDATA[
503 ]]></default>
504 </property>
505 <property name="forceTypeValue" type="int">
506 <description><![CDATA[Force the &type value of all TYPO3 generated links to a specific value (except if overruled by local forceTypeValue values).
507 Useful if you run a template with special content at - say &type=95 - but still wants to keep your targets neutral. Then you set your targets to blank and this value to the type value you wish.]]></description>
508 <default><![CDATA[
509 ]]></default>
510 </property>
511 <property name="frameReloadIfNotInFrameset" type="boolean">
512 <description><![CDATA[If set, then the current page will check if the page object name (eg. "page" or "frameset") exists as "parent.[name]" (eg. "parent.page") and if not the page will be reloaded in top frame. This secures that links from search engines to pages inside a frameset will load the frameset.
513 Works only with type-values different from zero.]]></description>
514 <default><![CDATA[
515 ]]></default>
516 </property>
517 <property name="ftu" type="boolean">
518 <description><![CDATA[If set, the "&ftu=...." GET-fallback identification is inserted.
519 "&ftu=[hash]" is always inserted in the links on the first page a user hits. If it turns out in the next hit that the user has cookies enabled, this variable is not set anymore as the cookies does the job. If no cookies is accepted the "ftu" remains set for all links on the site and thereby we can still track the user.
520
521 You should not set this feature if grabber-spiders like Teleport are going to grab your site!
522 You should not set this feature if you want search-engines to index your site (in conjunction with the simulateStaticDocuments feature!)
523
524 You can also ignore this feature if you're certain, website users will use cookies.
525  "ftu" means fe_typo_user ("fe" is "frontend").]]></description>
526 <default><![CDATA[false]]></default>
527 </property>
528 <property name="headerComment " type="string">
529 <description><![CDATA[The content is added before the "TYPO3 Content Management Framework" comment in the <head> section of the page. Use this to insert a note like that "Programmed by My-Agency" ...]]></description>
530 <default><![CDATA[
531 ]]></default>
532 </property>
533 <property name="htmlTag_dir" type="string">
534 <description><![CDATA[Sets text direction for whole document (useful for display of Arabic, Hebrew pages).
535
536 Basically the value becomes the attribute value of "dir" for the <html> tag.
537
538 Values:
539 rtl = Right-To-Left (for Arabic / Hebrew)
540 ltr = Left-To-Right (Default for other languages)
541
542 Example:
543 config.htmlTag_dir = rtl]]></description>
544 <default><![CDATA[
545 ]]></default>
546 </property>
547 <property name="htmlTag_langKey" type="string">
548 <description><![CDATA[Allows you to set the language value for the attributes "xml:lang" and "lang" in the <html> tag (when using "config.doctype = xhtml*").
549
550 The values must follow the format specified in IETF RFC 3066
551
552 Example:
553 config.htmlTag_langKey = en-US]]></description>
554 <default><![CDATA[en]]></default>
555 </property>
556 <property name="htmlTag_setParams" type="string">
557 <description><![CDATA[Sets the attributes for the <html> tag on the page. If you set "config.doctype" to a keyword enabling XHTML then some attributes are already set. This property allows you to override any preset attributes with you own content if needed.
558
559 Special: If you set it to "none" then no attributes will be set at any event.
560
561 Example:
562 config.htmlTag_setParams =  xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"]]></description>
563 <default><![CDATA[
564 ]]></default>
565 </property>
566 <property name="incT3Lib_htmlmail " type="boolean">
567 <description><![CDATA[Include t3lib/class.t3lib_htmlmail.php]]></description>
568 <default><![CDATA[
569 ]]></default>
570 </property>
571 <property name="includeLibrary" type="string">
572 <description><![CDATA[This includes a phpfile.]]></description>
573 <default><![CDATA[
574 ]]></default>
575 </property>
576 <property name="index_descrLgd" type="int">
577 <description><![CDATA[This indicates how many chars to preserve as description for an indexed page. This may be used in the search result display.]]></description>
578 <default><![CDATA[200]]></default>
579 </property>
580 <property name="index_enable" type="boolean">
581 <description><![CDATA[Enables cached pages to be indexed.]]></description>
582 <default><![CDATA[
583 ]]></default>
584 </property>
585 <property name="index_externals" type="boolean">
586 <description><![CDATA[If set, external media linked to on the pages is indexed as well.]]></description>
587 <default><![CDATA[
588 ]]></default>
589 </property>
590 <property name="inlineStyle2TempFile" type="boolean">
591 <description><![CDATA[If set, the inline styles TYPO3 controls in the core are written to a file,  typo3temp/stylesheet_[hashstring].css, and the header will only contain the link to the stylesheet.
592 The file hash is based solely on the content of the styles.
593
594 Depends on the compatibility mode (see Tools>Install>Update wizard):
595 compatibility mode < 4.0:   0
596 compatibility mode >= 4.0:   1
597
598 Example:
599 config.inlineStyle2TempFile = 1]]></description>
600 <default><![CDATA[
601 ]]></default>
602 </property>
603 <property name="insertDmailerBoundaries" type="boolean">
604 <description><![CDATA[If set, boundary marks will be set around all records inserted on the page with cObjects CONTENT and RECORD. They are inserted as HTML-comments and do no harm.
605 Used by the Direct Mail module in TYPO3 to segmentize a page by categories.]]></description>
606 <default><![CDATA[
607 ]]></default>
608 </property>
609 <property name="intTarget" type="string">
610 <description><![CDATA[default internal target. Used by typolink if no target is set]]></description>
611 <default><![CDATA[
612 ]]></default>
613 </property>
614 <property name="jumpurl_enable" type="boolean">
615 <description><![CDATA[Jumpurl is a concept where external links are redirected from the index_ts.php script, which first logs which url it was. This logging of external links is only interesting if you use the internal stat-table in TYPO3.]]></description>
616 <default><![CDATA[0]]></default>
617 </property>
618 <property name="jumpurl_mailto_disable" type="boolean">
619 <description><![CDATA[Disables the use of jumpUrl when linking to email-adresses.]]></description>
620 <default><![CDATA[0]]></default>
621 </property>
622 <property name="language" type="string">
623 <description><![CDATA[Language key. See stdWrap.lang for more information.
624 Select between:
625 English  (default) = [empty]
626 Danish = dk
627 German = de
628 Norwegian = no
629 Italian = it
630 etc...
631
632 Value must correspond with the key used for backend system language if there is one. See inside config_default.php or look at the translation page on TYPO3.org for the official 2-byte key for a given language. Notice that selecting the official key is important if you want labels in the correct language from "locallang" files.
633 If the language you need is not yet a system language in TYPO3 you can use an artificial string of your choice and provide values for it via the TypoScript template where the property "_LOCAL_LANG" for most plugins will provide a way to override/add values for labels. The keys to use must be looked up in the locallang-file used by the plugin of course.]]></description>
634 <default><![CDATA[
635 ]]></default>
636 </property>
637 <property name="language_alt" type="string">
638 <description><![CDATA[If "config.language" (above) is used, this can be set to another language key which will be used for labels if a label was not found for the main language. For instance a brazil portuguese website might specify "pt" as alternative language which means the portuguese label will be shown if none was available in the main language, brazil portuguese. This feature makes sense if one language is incompletely translated and close to another language.]]></description>
639 <default><![CDATA[
640 ]]></default>
641 </property>
642 <property name="linkVars" type="string">
643 <description><![CDATA[HTTP_GET_VARS, which should be passed on with links in TYPO3. This is compiled into a string stored in $GLOBALS["TSFE"]->linkVars
644
645 The values are rawurlencoded in PHP.
646
647 You can specify a range of valid values by appending a () after each value. If this range does not match, the variable won't be appended to links. This is very important to prevent that the cache system gets flooded with forged values.
648
649 The range may containing one of these values:
650 [a]-[b] - A range of allowed integer valuesint - Only integer values are allowed[a]|[b]|[c] - A list of allowed strings (whitespaces will be removed)/[regex]/ - Match against a regular expression (PCRE style)
651
652 Example:
653 config.linkVars = L, print
654 This will add "&L=[L-value]&print=[print-value]" to all links in TYPO3.
655
656 config.linkVars = L(1-3), print
657 Same as above, but "&L=[L-value]" will only be added if the current value is 1, 2 or 3.
658 ]]></description>
659 <default><![CDATA[
660 ]]></default>
661 </property>
662 <property name="locale_all" type="string">
663 <description><![CDATA[PHP: setlocale("LC_ALL", [value]);
664 value-examples: deutsch, de_DE, danish, portuguese, spanish, french, norwegian, italian. See www.php.net for other value. Also on linux, look at /usr/share/locale/
665
666 TSFE->localeCharset is intelligently set to the assumed charset of the locale strings. This is used in stdWrap.strftime to convert locale strings to the renderCharset of the frontend.
667
668 Example:
669 This will render dates in danish made with stdWrap/strftime:
670 locale_all = danish
671 locale_all = da_DK]]></description>
672 <default><![CDATA[
673 ]]></default>
674 </property>
675 <property name="lockFilePath" type="string">
676 <description><![CDATA[This is used to lock paths to be "inside" this path.
677 Used by "filelist" in stdWrap]]></description>
678 <default><![CDATA[fileadmin/]]></default>
679 </property>
680 <property name="mainScript" type="string">
681 <description><![CDATA[This lets you specify an alternative "mainScript" which is the document that TYPO3 expects to be the default doc. This is used in form-tags and other places where TYPO3 needs to refer directly to the main-script of the application]]></description>
682 <default><![CDATA[index.php]]></default>
683 </property>
684 <property name="meaningfulTempFilePrefix" type="boolean">
685 <description><![CDATA[If set it will try to render a meaningful prefix before temporary image files.
686 Works with GIFBUILDER files (taking content from the Gifbuilder TEXT objects), menus (taking the title of the menu item) and scaled images (using original filename base).]]></description>
687 <default><![CDATA[
688 ]]></default>
689 </property>
690 <property name="message_page_is_being_generated" type="string">
691 <description><![CDATA[Alternative HTML message that appears if a page is being generated.
692 Normally when a page is being generated a temporary copy is stored in the cache-table with an expire-time of 30 seconds.
693
694 It is possible to use some keywords that are replaced with the corresponding values. Possible keywords are: ###TITLE###, ###REQUEST_URI###]]></description>
695 <default><![CDATA[
696 ]]></default>
697 </property>
698 <property name="message_preview" type="string">
699 <description><![CDATA[Alternative message in HTML that appears when the preview function is active!]]></description>
700 <default><![CDATA[
701 ]]></default>
702 </property>
703 <property name="message_preview_workspace" type="string ">
704 <description><![CDATA[Alternative message in HTML that appears when the preview function is active in a draft workspace. You can use sprintf() placeholders for Workspace title (first) and number (second).
705
706 Examples:
707 config.message_preview_workspace = <div class="previewbox">Displaying workspace named "%s" (number %s)!</div>
708 config.message_preview_workspace = <div class="previewbox">Displaying workspace number %2$s named "%1$s"!</div>]]></description>
709 <default><![CDATA[
710 ]]></default>
711 </property>
712 <property name="metaCharset" type="string">
713 <description><![CDATA[Charset used for the output document. For example in the meta tag:
714 <meta http-equiv="Content-Type" content="text/html; charset=...>
715
716 Is used for a) HTML meta-tag, b) HTTP header (unless disabled with .disableCharsetHeader) and c) xhtml prologues (if available)
717
718 If renderCharset and metaCharset are different the output content is automatically converted to metaCharset before output and likewise are values posted back to the page converted from metaCharset to renderCharset for internal processing. This conversion takes time of course so there is another good reason to use the same charset for both.]]></description>
719 <default><![CDATA[value of ".renderCharset"]]></default>
720 </property>
721 <property name="moveJsFromHeaderToFooter" type="boolean">
722 <description><![CDATA[
723 If set, all Javascript (includes and inline) will be moved to the bottom of the HTML document, which is after content and before the closing body tag
724 ]]></description>
725 <default><![CDATA[
726 ]]></default>
727 </property>
728 <property name="namespaces" type="array">
729 <description><![CDATA[array of strings
730 This property enables you to add xml namespaces (xmlns) to the html tag. The configuration
731
732 namespaces.dc = http://purl.org/dc/elements/1.1/
733 namespaces.foaf = http://xmlns.com/foaf/0.1/
734
735 will result in a html tag like
736
737 <html xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:foaf="http://xmlns.com/foaf/0.1/">
738
739 This is especially useful if you want to add RDFa or microformats to your html.
740 ]]></description>
741 <default><![CDATA[
742 ]]></default>
743 </property>
744 <property name="noPageTitle" type="int">
745 <description><![CDATA[If you only want to have the sitename (from the template record) in your <title> tag, set this to 1. If the value is 2 then the <title> tag is not printed at all.
746 Please take note that this tag is required for XHTML compliant output, so you should only disable this tag if you generate it manually already.]]></description>
747 <default><![CDATA[0]]></default>
748 </property>
749 <property name="noScaleUp" type="boolean">
750 <description><![CDATA[Normally images are scaled to the size specified via TypoScript. This also forces small images to be scaled to a larger size. This is not always a good thing.
751 If this property is set, images are not allowed to be scaled up in size. This parameter clears the $this->mayScaleUp var of the class t3lib_stdgraphics (often "gifbuilder").]]></description>
752 <default><![CDATA[
753 ]]></default>
754 </property>
755 <property name="no_cache" type="boolean">
756 <description><![CDATA[If this is set to true, the page will not be cached. If set to false, it's ignored. Other parameters may have set it to true of other reasons.]]></description>
757 <default><![CDATA[-]]></default>
758 </property>
759 <property name="notification_email_charset" type="string">
760 <description><![CDATA[Alternative charset for the notification mails.]]></description>
761 <default><![CDATA[ISO-8859-1]]></default>
762 </property>
763 <property name="notification_email_encoding" type="string">
764 <description><![CDATA[This sets the encoding of plaintext emails (notification messages). The default encoding is "quoted-printable". But setting this to eg. "base64" will encode the content with base64 encoding.
765
766 Values possible:
767 base64
768 quoted-printable
769 8bit]]></description>
770 <default><![CDATA[
771 ]]></default>
772 </property>
773 <property name="notification_email_urlmode" type="string">
774 <description><![CDATA[This option allows you to handle URL's in plain text emails so long URLS of more than 76 chars are not broken. This option can be either empty or "76" or "all".
775 If the string is blank, all links in plaintext emails are untouched.
776 If it's set to 76 then all links longer then 76 characters are stored in the database and a hash is sent in the GET-var ?RDCT=[md5/20] to the index.php script which finds the proper link in the database and issues a location header (redirection).
777 If the value is "all" then ALL "http://" links in the message are converted.]]></description>
778 <default><![CDATA[
779 ]]></default>
780 </property>
781 <property name="pageGenScript" type="string">
782 <description><![CDATA[Alternative page generation script for applications using index_ts.php for initialization, caching, stating and so on. This script is included in the global scope of index_ts.php-script and thus you may include libraries here. Always use include_once for libraries.
783 Remember not to output anything from such an included script. All content must be set into $TSFE->content. Take a look at typo3/sysext/cms/tslib/pagegen.php
784
785 NOTE: This option is ignored if
786
787 $TYPO3_CONF_VARS["FE"]["noPHPscriptInclude"]=1;
788
789 is set in localconf.php.]]></description>
790 <default><![CDATA[typo3/sysext/cms/tslib/pagegen.php]]></default>
791 </property>
792 <property name="pageRendererTemplateFile" type="string">
793 <description><![CDATA[
794 Sets the template for page renderer class (t3lib_PageRenderer).
795
796 Example:
797
798 pageRendererTemplateFile = fileadmin/test_pagerender.html
799 ]]></description>
800 <default><![CDATA[
801 ]]></default>
802 </property>
803 <property name="pageTitleFirst" type="boolean">
804 <description><![CDATA[If set (and the page title is printed) then the page-title will be printed BEFORE the template title.]]></description>
805 <default><![CDATA[
806 ]]></default>
807 </property>
808 <property name="prefixLocalAnchors" type="string">
809 <description><![CDATA[If set to one of the keywords, the content will have all local anchors in links prefixed with the path of the script. Basically this means that <a href="#"> will be transformed to <a href="path/path/script?params#">. This procedure is necessary if the <base> tag is set in the script (eg. if "realurl" extension is used to produce Speaking URLs).
810
811 Keywords are the same as for "xhtml_cleaning", see above.]]></description>
812 <default><![CDATA[
813 ]]></default>
814 </property>
815 <property name="removeDefaultJS" type="string">
816 <description><![CDATA[If set, the default JavaScript in the header will be removed.
817 The default JavaScript is the blurLink function and browser detection variables.
818
819 Special case: if the value is "external" then the default JavaScript is written to a temporary file and included from that file. See "inlineStyle2TempFile" below.
820
821 Depends on the compatibility mode (see Tools>Install>Update wizard):
822 compatibility mode < 4.0:   0
823 compatibility mode >= 4.0:   1
824
825 Example:
826 config.removeDefaultJS = external
827 config.removeDefaultJS = 1]]></description>
828 <default><![CDATA[
829 ]]></default>
830 </property>
831 <property name="renderCharset" type="string">
832 <description><![CDATA[Charset used for rendering internally of the page content. It is highly recommended that this value is the same as the charset of the content coming from the main data source (eg. the database). Thus you don't need to do any other conversion.
833 All strings from locallang files and locale strings are (and should be) converted to "renderCharset" during rendering.
834
835 If you need another output charset than the render charset, see "metaCharset" below.
836
837 If you set TYPO3_CONF_VARS['BE']['forceCharset'] that value is used by default for "renderCharset". It is highly recommended to use TYPO3_CONF_VARS['BE']['forceCharset'] for multilingual websites in TYPO3. If you set that you don't have to worry about renderCharset and metaCharset - the same charset is used in the whole system.]]></description>
838 <default><![CDATA[TYPO3_CONF_VARS[BE][forceCharset] if found, otherwise
839 "iso-8859-1"]]></default>
840 </property>
841 <property name="sendCacheHeaders" type="boolean">
842 <description><![CDATA[If set, TYPO3 will output cache-control headers to the client based mainly on  whether the page was cached internally. This feature allows client browsers and/or reverse proxies to take load of TYPO3 websites.
843
844 The conditions for allowing client caching are:
845 page was cachedNo *_INT or *_EXT objects were on the page (eg. USER_INT)No frontend user is logged inNo backend user is logged in
846
847 If these conditions are met, the headers sent are:
848 Last-Modified [SYS_LASTCHANGED of page id]Expires [expire time of page cache]Etag [md5 of content]Cache-Control: max-age: [seconds til expiretime]Pragma: public
849
850 In case caching is not allowed, these headers are sent to avoid client caching:
851 Cache-Control: private
852
853 Notice that enabling the browser caches means you have to consider how log files are written. Because when a page is cached on the client it will not invoke a request to the webserver, thus not writing the request to the log. There should be ways to circumvent these problems but they are outside the domain of TYPO3 in any case.
854
855 Tip: Enabling cache-control headers might confuse editors seeing old content served from the browser cache. "Shift-Reload" will bypass both browser- and reverse-proxy caches and even make TYPO3 regenerate the page. Teach them that trick!
856
857 Thanks to Ole Tange, www.forbrug.dk for co-authoring this feature.]]></description>
858 <default><![CDATA[
859 ]]></default>
860 </property>
861 <property name="sendCacheHeaders_onlyWhenLoginDeniedInBranch" type="boolean">
862 <description><![CDATA[If this is set, then cache-control headers allowing client caching is sent only if user-logins are disabled for the branch. This feature makes it easier to manage client caching on sites where you have a mixture of static pages and dynamic sections with user logins.
863
864 The background problem is this: In TYPO3 the same URL can show different content depending on whether a user is logged in or not. If a user is logged in, cache-headers will never allow client caching. But if the same URL was visited without a login prior to the login (allowing caching) the user will still see the page from cache when logged in (and so thinks he is not logged in anyway)! The only general way to prevent this is to have a different URL for pages when users are logged in (which the extension "realurl" can accomplish).
865
866 Another way to solve the problem is using this option in combination with disabling and enabling logins in various sections of the site. In the page records ("Advanced" page types) you can disable frontend user logins for branches of the page tree. Since many sites only needs the login in a certain branch of the page tree, disabling it in all other branches makes it much easier to use cache-headers in combination with logins; Cache-headers should simply be sent when logins are not allowed and never be send when logins are allowed! Then there will never be problems with logins and same-URLs.]]></description>
867 <default><![CDATA[
868 ]]></default>
869 </property>
870 <property name="setJS_mouseOver" type="boolean">
871 <description><![CDATA[If set, the over() and out() JavaScript functions are forced to be included]]></description>
872 <default><![CDATA[
873 ]]></default>
874 </property>
875 <property name="setJS_openPic" type="boolean">
876 <description><![CDATA[If set, the openPic JavaScript function is forced to be included]]></description>
877 <default><![CDATA[
878 ]]></default>
879 </property>
880 <property name="simulateStaticDocuments" type="string">
881 <description><![CDATA[boolean/string
882 If set TYPO3 makes all links in another way than usual. This can be used with Apache compiled with mod_rewrite and configured in httpd.conf for use of this in the ".htaccess"-files.
883 Include this in the .htaccess file
884 RewriteEngine On
885 RewriteRule   ^[^/]*\.html$  index.php
886
887 This means that any "*.html"-documents should be handled by index.php.
888 Now if is done, TYPO3 will interprete the url of the html-document like this:
889 [title].[id].[type].html
890 Title is optional and only usefull for the entries in the apache log-files. You may omit both [title] and [type] but if title is present, type must also be there!.
891
892 Example:
893 TYPO3 will interprete this as page with uid=23 and type=1 :
894 Startpage.23.1.html
895
896 TYPO3 will interprete this as the page with alias = "start" and the type is zero (default):
897 start.html
898
899 Alternative option (PATH_INFO):
900 Instead of using the rewrite-module in apache (eg. if you're running Windows!) you can use the PATH_INFO variable from PHP.
901 It's very simple. Just set simulateStaticDocuments to "PATH_INFO" and you're up and running!
902
903 Also: See below, .absRefPrefix
904
905 Example (put in Setup-field of your template):
906 config.simulateStaticDocuments = PATH_INFO]]></description>
907 <default><![CDATA[default is defined by a configuration option in localconf.php. It's
908 $TYPO3_CONF_VARS["FE"]["simulateStaticDocuments"] = 1;
909 This affects all sites in the database.
910 You can also set this value to the string  "PATH_INFO"]]></default>
911 </property>
912 <property name="simulateStaticDocuments_addTitle" type="int">
913 <description><![CDATA[If not zero, TYPO3 generates urls with the title in, limited to the first [simulateStaticDocuments_addTitle] number of chars.
914
915 Example:
916 Startpage.23.1.html
917 instead of the default, "23.1.html", without the title.]]></description>
918 <default><![CDATA[
919 ]]></default>
920 </property>
921 <property name="simulateStaticDocuments_dontRedirectPathInfoError" type="boolean">
922 <description><![CDATA[Regarding PATH_INFO mode:
923 When a page is requested by "PATH_INFO" method it must be configured in order to work properly. If PATH_INFO is not configured, the index_ts.php script sends a location header to the correct page. However if you better like an error message outputted, just set this option.]]></description>
924 <default><![CDATA[
925 ]]></default>
926 </property>
927 <property name="simulateStaticDocuments_noTypeIfNoTitle" type="boolean">
928 <description><![CDATA[If set, then the type-value will not be set in the simulated filename if the type value is zero anyways. However the filename must be without a title.
929
930 Example:
931 "Startpage.23.0.html" would still be "Startpage.23.0.html"
932 "23.0.html" would be "23.html" (that is without the zero)
933 "23.1.html" would still be "23.1.html" ]]></description>
934 <default><![CDATA[
935 ]]></default>
936 </property>
937 <property name="simulateStaticDocuments_pEnc" type="string">
938 <description><![CDATA[Allows you to also encode additional parameters into the simulated filename.
939
940 Example:
941 You have a news-plugin. The main page has the url "Page_1.228.0.html" but when one clicks on a news item the url will be "Page_1.228.0.html?&tx_mininews_pi1[showUid]=2&cHash=b8d239c224" instead.
942 Now, this URL will not be indexed by external search-engines because of the query-string (everything after the "?" mark). This property avoids this problem by encoding the parameters. These are the options:
943
944 Value set to "base64":
945 This will transform the filename used to this value: "Page_1.228+B6JnR4X21pbmluZXdzX3BpMVtzaG93VWlkXT0yJmNIYXNoPWI4ZDIzOWMyMjQ_.0.html". The querystring has simply been base64-encoded (and some more...) and added to the HTML-filename (so now external search-engines will find this!). The really great thing about this that the filename is self-reliant because the filename contains the parameters. The downside to it is the very very long filename.
946
947 Value set to "md5":
948 This will transform the filename used to this value:
949 "Page_1.228+M57867201f4a.0.html". Now, what a lovely, short filename! Now all the parameters has been hashed into a 10-char string inserted into the filename. At the same time an entry has been added to a cache table in the database so when a request for this filename reaches the frontend, then the REAL parameter string is found in the database! The really great thing about this is that the filename is very short (opposite to the base64-method). The downside to this is that IF you clear the database cache table at any time, the URL here does NOT work until a page with the link has been generated again (re-inserting the parameter list into the database).
950
951 NOTICE: From TYPO3 3.6.0 the encoding will work only on parameters that are manually entered in the list set by .simulateStaticDocuments_pEnc_onlyP (see right below) or those parameters that various plugins might allow in addition. This is to limit the run-away risk when many parameters gets combined.]]></description>
952 <default><![CDATA[
953 ]]></default>
954 </property>
955 <property name="simulateStaticDocuments_pEnc_onlyP" type="string">
956 <description><![CDATA[A list of variables that may be a part of the md5/base64 encoded part of a simulate_static_document virtual filename (see property in the row above).
957
958 Example:
959 simulateStaticDocuments_pEnc_onlyP = tx_maillisttofaq_pi1[pointer], L, print
960
961 -> this will allow the "pointer" parameter for the extension "maillisttofaq" to be included (in addition to whatever vars the extension sets itself) and further the parameter "L" (could be language selection) and "print" (could be print-version).]]></description>
962 <default><![CDATA[
963 ]]></default>
964 </property>
965 <property name="simulateStaticDocuments_replacementChar" type="string">
966 <description><![CDATA[Word separator for URLs generated by simulateStaticDocuments. If set to
967 hyphen, this option allows search engines to index keywords in URLs. Before TYPO3 4.0 this character was hard-coded to underscore.
968
969 Depends on the compatibility mode (see Tools>Install>Update wizard):
970 compatibility mode < 4.0:   underscore "_"
971 compatibility mode >= 4.0:   hyphen "-"]]></description>
972 <default><![CDATA[
973 ]]></default>
974 </property>
975 <property name="spamProtectEmailAddresses" type="string">
976 <description><![CDATA[&quot;ascii&quot; / -10 to 10
977 If set, then all email addresses in typolinks will be encrypted so spam bots cannot detect them.
978
979 If you set this value to a number, then the encryption is simply an
980 offset of character values. If you set this value to "-2" then all
981 characters will have their ASCII value offset by "-2". To make this
982 possible, a little JavaScript code is added to every generated web page!
983 (It is recommended to set the value in the range from -5 to 1 since setting it to >= 2 means a "z" is converted to "|" which is a special character in TYPO3 tables syntax – and that might confuse columns in tables. Now hardcoded range)
984
985 Alternatively you can set this value to the keyword "ascii". This way every
986 character of the "mailto:" address will be translated to a Unicode HTML
987 notation. Have a look at the example to see how this works.
988
989 Example:
990 mailto:a@b.c will be converted to
991 mailto:&#97;&#64;&#98;&#46;&#99;
992 The big advantage of this method is that it doesn't need any JavaScript!]]></description>
993 <default><![CDATA[
994 ]]></default>
995 </property>
996 <property name="spamProtectEmailAddresses_atSubst" type="string">
997 <description><![CDATA[Substitute label for the at-sign (@).]]></description>
998 <default><![CDATA[(at)]]></default>
999 </property>
1000 <property name="spamProtectEmailAddresses_lastDotSubst" type="string">
1001 <description><![CDATA[Substitute label for the last dot in the email address.
1002 Example: (dot)]]></description>
1003 <default><![CDATA[Default: . ( <= just a simple dot)]]></default>
1004 </property>
1005 <property name="stat" type="boolean">
1006 <description><![CDATA[Enable stat logging at all.]]></description>
1007 <default><![CDATA[true]]></default>
1008 </property>
1009 <property name="stat_apache" type="boolean">
1010 <description><![CDATA[Enable logging to the logfile "stat_apache_logfile"]]></description>
1011 <default><![CDATA[false]]></default>
1012 </property>
1013 <property name="stat_apache_logfile" type="string">
1014 <description><![CDATA[This defines the name of the logfile where TYPO3 writes an Apache-style logfile to. The location of the directory is defined by $TYPO3_CONF_VARS["FE"]["logfile_dir"]  which must exist and be writable. It can be relative (to PATH_site) or absolute, but in any case it must be within the regular allowed paths of TYPO3 (meaning for absolute paths that it must be within the "lockRootDir" set up in $TYPO3_CONF_VARS).
1015
1016 It is also possible to use date markers in the filename as they are provided by the PHP function strftime(). This will enable a natural rotation of the logfiles.
1017
1018 Example:
1019 config.stat_apache_logfile = typo3_%Y%m%d.log
1020
1021 This will create daily log files (eg. typo3_20060321.log).]]></description>
1022 <default><![CDATA[
1023 ]]></default>
1024 </property>
1025 <property name="stat_apache_niceTitle" type="string">
1026 <description><![CDATA[boolean / string
1027 If set, the URL will be transliterated from the renderCharset to ASCII (eg ä => ae, à => a, &#945; "alpha" => a), which yields nice and readable page titles in the log. All non-ASCII characters that cannot be converted will be changed to underscores.
1028
1029 If set to "utf-8", the page title will be converted to UTF-8 which results
1030 in even more readable titles, if your log analyzing software supports it.]]></description>
1031 <default><![CDATA[
1032 ]]></default>
1033 </property>
1034 <property name="stat_apache_noHost" type="boolean">
1035 <description><![CDATA[If true the HTTP_HOST is - if available - NOT inserted instead of the IP-address]]></description>
1036 <default><![CDATA[
1037 ]]></default>
1038 </property>
1039 <property name="stat_apache_noRoot" type="boolean">
1040 <description><![CDATA[If set, the root part (level 0) of the path will be removed from the path. This makes a shorter name in case you have only a redundant part like "home" or "my site".]]></description>
1041 <default><![CDATA[
1042 ]]></default>
1043 </property>
1044 <property name="stat_apache_notExtended" type="boolean">
1045 <description><![CDATA[If true the logfile is NOT written in Apache extended format]]></description>
1046 <default><![CDATA[
1047 ]]></default>
1048 </property>
1049 <property name="stat_apache_pagenames" type="string">
1050 <description><![CDATA[The "pagename" simulated for apache.
1051 Default:    "[path][title]--[uid].html"
1052 Codes:
1053 [title] = inserts title, no special characters and shortend to 30 chars.
1054 [uid] = the id
1055 [alias] = any alias
1056 [type] = the type (typeNum)
1057 [path] = the path of the page.]]></description>
1058 <default><![CDATA[
1059 ]]></default>
1060 </property>
1061 <property name="stat_excludeBEuserHits" type="boolean">
1062 <description><![CDATA[If set a pagehit is not logged if a user is logged in into TYPO3.]]></description>
1063 <default><![CDATA[false]]></default>
1064 </property>
1065 <property name="stat_excludeIPList" type="string">
1066 <description><![CDATA[list of strings
1067 If the REMOTE_ADDR is in the list of IP-addresses, it's also not logged.
1068 Can use wildcard, eg. "192.168.1.*"]]></description>
1069 <default><![CDATA[
1070 ]]></default>
1071 </property>
1072 <property name="stat_mysql" type="boolean">
1073 <description><![CDATA[Enable logging to the MySQL table sys_stat.]]></description>
1074 <default><![CDATA[false]]></default>
1075 </property>
1076 <property name="stat_pageLen" type="int">
1077 <description><![CDATA[int 1-100
1078 The length of the page name (at the end of the path) written to the logfile/database.]]></description>
1079 <default><![CDATA[30]]></default>
1080 </property>
1081 <property name="stat_titleLen" type="int">
1082 <description><![CDATA[int 1-100
1083 The length of the page names in the path written to logfile/database]]></description>
1084 <default><![CDATA[20]]></default>
1085 </property>
1086 <property name="stat_typeNumList" type="intList">
1087 <description><![CDATA[List of pagetypes that should be registered in the statistics table, sys_stat.
1088 If no types are listed, all types are logged.
1089 Default is "0,1" which normally logs all hits on framesets and hits on content keeping pages. Of course this depends on the template design.]]></description>
1090 <default><![CDATA[0,1]]></default>
1091 </property>
1092 <property name="sword_noMixedCase" type="boolean">
1093 <description><![CDATA[Used by the parseFunc-substitution of search Words (sword):
1094 If set, the words MUST be the exact same case as the search word was.]]></description>
1095 <default><![CDATA[
1096 ]]></default>
1097 </property>
1098 <property name="sword_standAlone" type="boolean">
1099 <description><![CDATA[Used by the parseFunc-substitution of search Words (sword):
1100 If set, the words MUST be surrounded by whitespace in order to be marked up.]]></description>
1101 <default><![CDATA[
1102 ]]></default>
1103 </property>
1104 <property name="sys_language_mode" type="string">
1105 <description><![CDATA[Setting various modes of handling localization.
1106 The syntax is "[keyword] ; [value]".
1107
1108 Possible keywords are:
1109
1110 [default] - The system will look for a translation of the page (from "Alternative Page Language" table) and if it is not found it will fall back to the default language and display that.
1111
1112 content_fallback - [ Recommended ] The system will always operate with the selected language even if the page is not translated with a page overlay record. This will keep menus etc. translated. However, the content on the page can still fall back to another language, defined by the value of this keyword, eg. "content_fallback ; 1,0" to fall back to the content of sys_language_uid 1 and if that is not present either, to default (0)
1113
1114 strict - The system will report an error if the requested translation does not exist. Basically this means that all pages with gray background in the Web>Info / Localization overview module will fail (they would otherwise fall back to default language in one or another way)
1115
1116 ignore - The system will stay with the selected language even if the page is not translated and there's no content available in this language, so you can handle that situation on your own then.]]></description>
1117 <default><![CDATA[
1118 ]]></default>
1119 </property>
1120 <property name="sys_language_overlay" type="string">
1121 <description><![CDATA[boolean / keyword
1122 If set, records from certain tables selected by the CONTENT cObject using the "languageField" setting will select the default language (0) instead of any language set by sys_language_uid / sys_language_mode. In addition the system will look for a translation of the selected record and overlay configured fields.
1123 The requirements for this is that the table is configured with "languageField" and "transOrigPointerField" in the [ctrl] section of $TCA. Also, exclusion of certain fields can be done with the "l10n_mode" directive in the field-configuration of $TCA.
1124
1125 For backend administration this requires that you configure the "Web>Page" module to display content elements accordingly; That each default element is shown and next to it any translation found. This configuration can be done with Page TSconfig for a section of the website using the object path "mod.web_layout.defLangBinding = 1".
1126
1127 Keyword:
1128 hideNonTranslated : If this keyword is used a record that has no translation will not be shown. The default is that records with no translation will show up in the default language.]]></description>
1129 <default><![CDATA[
1130 ]]></default>
1131 </property>
1132 <property name="sys_language_softExclude" type="string">
1133 <description><![CDATA[Setting additional "exclude" flags for l10n_mode in TCA for frontend rendering. Works exactly like sys_language_softMergeIfNotBlank (see that for details - same Syntax!).
1134
1135 Fields set in this property will override if the same field is set for "sys_language_softMergeIfNotBlank".]]></description>
1136 <default><![CDATA[
1137 ]]></default>
1138 </property>
1139 <property name="sys_language_softMergeIfNotBlank" type="string">
1140 <description><![CDATA[Setting additional "mergeIfNotBlank" fields from TypoScript.
1141
1142 Background:
1143 In TCA you can configure "l10n_mode" - localization mode - for each field. Two of the options affect how the frontend displays content; The values "exclude" and "mergeIfNotBlank" (see "TYPO3 Core API" document for details). The first ("exclude") simply means that the field when found in a translation of a record will not be overlaid the default records field value. The second ("mergeIfNotBlank") means that it will be overlaid only if it has a non-blank value.
1144 Since it might be practical to set up fields for "mergeIfNotBlank" on a per-site basis this options allows you to override additional fields from tables.
1145
1146 Syntax:
1147  [table]:[field],  [table]:[field],  [table]:[field], ...
1148
1149 Example:
1150 config.sys_language_softMergeIfNotBlank = tt_content:image , tt_content:header
1151
1152 This setting means that the header and image field of content elements will be used from the translation only if they had a non-blank value. For the image field this might be very practical because it means that the image(s) from the default translation will be used unless other images are inserted!]]></description>
1153 <default><![CDATA[
1154 ]]></default>
1155 </property>
1156 <property name="sys_language_uid" type="int">
1157 <description><![CDATA[This value points to the uid of a record from the "sys_language" table and if set, this means that various parts of the frontend display code will select records which are assigned to this language. See ->SELECT
1158
1159 Internally, the value is depending on whether a Alternative Page Language record can be found with that language. If not, the value will default to zero (default language) except if "sys_language_mode" is set to a value like "content_fallback".]]></description>
1160 <default><![CDATA[
1161 ]]></default>
1162 </property>
1163 <property name="titleTagFunction " type="string">
1164 <description><![CDATA[function-name
1165 Passes the default <title>-tag content to this function. No typoScript parameters are passed though.]]></description>
1166 <default><![CDATA[
1167 ]]></default>
1168 </property>
1169 <property name="typolinkCheckRootline" type="boolean">
1170 <description><![CDATA[If set, then every "typolink" is checked whether it's linking to a page within the current rootline of the site.
1171 If not, then TYPO3 searches for the first found domain record (without redirect) in that rootline from out to in.
1172 If found (another domain), then that domain is prepended the link, the external target is used instead and thus the link jumps to the page in the correct domain.]]></description>
1173 <default><![CDATA[
1174 ]]></default>
1175 </property>
1176 <property name="typolinkLinkAccessRestrictedPages" type="string">
1177 <description><![CDATA[integer (page id) / keyword "NONE"
1178 If set, typolinks pointing to access restricted pages will still link to the page even though the page cannot be accessed. If the value of this setting is an integer it will be interpreted as a page id to which the link will be directed.
1179 If the value is "NONE" the original link to the page will be kept although it will generate a page-not-found situation (which can of course be picked up properly by the page-not-found handler and present a nice login form).
1180
1181 See "showAccessRestrictedPages" for menu objects as well (similar feature for menus)
1182
1183 Example:
1184 config.typolinkLinkAccessRestrictedPages = 29
1185 config.typolinkLinkAccessRestrictedPages_addParams = &return_url=###RETURN_URL###&pageId=###PAGE_ID###
1186
1187 Will create a link to page with id 29 and add GET parameters where the return URL and original page id is a part of it.]]></description>
1188 <default><![CDATA[
1189 ]]></default>
1190 </property>
1191 <property name="typolinkLinkAccessRestrictedPages_addParams" type="string">
1192 <description><![CDATA[See "typolinkLinkAccessRestrictedPages" above]]></description>
1193 <default><![CDATA[
1194 ]]></default>
1195 </property>
1196 <property name="uniqueLinkVars" type="boolean">
1197 <description><![CDATA[It might happen that TYPO3 generates links with the same parameter twice or more. This is no problem because only the last parameter is used, thus the problem is just a cosmetical one.]]></description>
1198 <default><![CDATA[0]]></default>
1199 </property>
1200 <property name="xhtmlDoctype" type="string">
1201 <description><![CDATA[Sets the document type for the XHTML version of the generated page.
1202
1203 If config.doctype is set to a string then config.xhtmlDoctype must be set to one of these keywords:
1204
1205 "xhtml_trans" for XHTML 1.0 Transitional doctype.
1206 "xhtml_frames" for XHTML 1.0 Frameset doctype.
1207 "xhtml_strict" for XHTML 1.0 Strict doctype.
1208 "xhtml_basic" for XHTML basic doctype.
1209 "xhtml_11" for XHTML 1.1 doctype.
1210 "xhtml_2" for XHTML 2 doctype.
1211
1212
1213 This is an example to use MathML 2.0 in an XHTML 1.1 document:
1214
1215 config.doctype (
1216 <!DOCTYPE html
1217 PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
1218 "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
1219 )
1220 config.xhtmlDoctype = xhtml_11
1221
1222 Default:
1223 same as config.doctype if set to a keyword]]></description>
1224 <default><![CDATA[
1225 ]]></default>
1226 </property>
1227 <property name="xhtml_cleaning" type="string">
1228 <description><![CDATA[Tries to clean up the output to make it XHTML compliant and a bit more. THIS IS NOT COMPLETE YET, but a "pilot" to see if it makes sense anyways. For now this is what is done:
1229
1230 What it does at this point:
1231 - All tags (img,br,hr) is ended with "/>" - others?
1232 - Lowercase for elements and attributes
1233 - All attributes in quotes
1234 - Add "alt" attribute to img-tags if it's not there already.
1235
1236 What it does NOT do (yet) according to XHTML specs.:
1237 - Wellformedness: Nesting is NOT checked
1238 - name/id attribute issue is not observed at this point.
1239 - Certain nesting of elements not allowed. Most interesting, <PRE> cannot contain img, big,small,sub,sup ...
1240 - Wrapping scripts and style element contents in CDATA - or alternatively they should have entitites converted.
1241 - Setting charsets may put some special requirements on both XML declaration/ meta-http-equiv. (C.9)
1242 - UTF-8 encoding is in fact expected by XML!!
1243 - stylesheet element and attribute names are NOT converted to lowercase
1244 - ampersands (and entities in general I think) MUST be converted to an entity reference! (&amps;). This may mean further conversion of non-tag content before output to page. May be related to the charset issue as a whole.
1245 - Minimized values not allowed: Must do this: selected="selected"
1246
1247 Please see the class t3lib_parsehtml for details.
1248 You can enable this function by the following values:
1249
1250 all = the content is always processed before it may be stored in cache.
1251 cached = only if the page is put into the cache,
1252 output = only the output code just before it's echoed out.]]></description>
1253 <default><![CDATA[
1254 ]]></default>
1255 </property>
1256 <property name="xmlprologue" type="string">
1257 <description><![CDATA[If empty (not set) then the default XML 1.0 prologue is set, when the doctype is set to a known keyword (eg xhtml_11):
1258
1259 <?xml version="1.0" encoding="[config.renderCharset]">
1260
1261 If set to one of the know keywords then a standard prologue will be set:
1262 "xml_10" XML 1.0 prologue (see above)
1263 "xml_11" XML 1.1 prologue
1264
1265 If "none" then the default XML prologue is not set.
1266 Any other string is used as the XML prologue itself.]]></description>
1267 <default><![CDATA[
1268 ]]></default>
1269 </property>
1270 </type>
1271 <type id="CONTENT">
1272 <property name="renderObj" type="cObj">
1273 <description><![CDATA[
1274 ]]></description>
1275 <default><![CDATA[< [tablename]]]></default>
1276 </property>
1277 <property name="select" type="select">
1278 <description><![CDATA[The SQL-statement is set here!]]></description>
1279 <default><![CDATA[
1280 ]]></default>
1281 </property>
1282 <property name="slide" type="slide">
1283 <description><![CDATA[int/stdWrap
1284 If set and no content element is found by the select command, then the rootLine will be traversed back until some content is found.
1285
1286 Possible values are "-1" (slide back up to the siteroot), "1" (only the current level) and "2" (up from one level back).
1287
1288 Use -1 in combination with collect.
1289
1290 .collect (integer/stdWrap): If set, all content elements found on current and parent pages will be collected. Otherwise, the sliding would stop after the first hit. Set this value to the amount of levels to collect on, or use "-1" to collect up to the siteroot.
1291 .collectFuzzy (boolean/stdWrap): Only useful in collect mode. If no content elements have been found for the specified depth in collect mode, traverse further until at least one match has occurred.
1292 .collectReverse (boolean/stdWrap): Change order of elements in collect mode. If set, elements of the current page will be on the bottom.]]></description>
1293 <default><![CDATA[
1294 ]]></default>
1295 </property>
1296 <property name="stdWrap" type="stdWrap">
1297 <description><![CDATA[
1298 ]]></description>
1299 <default><![CDATA[
1300 ]]></default>
1301 </property>
1302 <property name="table" type="stdWrap">
1303 <description><![CDATA[TableName/stdWrap
1304 The table, the content should come from.
1305 In standard-configurations this will be "tt_content"
1306 NOTE: Only tables allowed are "pages" or tables prefixed with one of these: "tt_", "tx_", "ttx_", "fe_", "user_" or "static_"]]></description>
1307 <default><![CDATA[
1308 ]]></default>
1309 </property>
1310 <property name="wrap" type="stdWrap">
1311 <description><![CDATA[wrap/stdWrap
1312 Wrap the whole content-story...]]></description>
1313 <default><![CDATA[
1314 ]]></default>
1315 </property>
1316 </type>
1317 <type id="slide" extends="stdWrap">
1318 <property name="collect" type="stdWrap">
1319 <description><![CDATA[int/stdWrap
1320 If set, all content elements found on current and parent pages will be collected. Otherwise, the sliding would stop after the first hit. Set this value to the amount of levels to collect on, or use “-1” to collect up to the siteroot.
1321 ]]></description>
1322 <default><![CDATA[
1323 ]]></default>
1324 </property>
1325 <property name="collectFuzzy" type="stdWrap">
1326 <description><![CDATA[boolean/stdWrap
1327 Only useful in collect mode. If no content elements have been found for the specified depth in collect mode, traverse further until at least one match has occurred.
1328 ]]></description>
1329 <default><![CDATA[
1330 ]]></default>
1331 </property>
1332 <property name="collectReverse" type="stdWrap">
1333 <description><![CDATA[boolean/stdWrap
1334 Change order of elements in collect mode. If set, elements of the current page will be at the bottom.
1335 ]]></description>
1336 <default><![CDATA[
1337 ]]></default>
1338 </property>
1339 </type>
1340 <type id="CTABLE">
1341 <property name="bm" type="stdWrap">
1342 <description><![CDATA[CARRAY + TDParams/stdWrap
1343 bottomMenu]]></description>
1344 <default><![CDATA[
1345 ]]></default>
1346 </property>
1347 <property name="c" type="stdWrap">
1348 <description><![CDATA[CARRAY + TDParams/stdWrap
1349 content-cell ]]></description>
1350 <default><![CDATA[
1351 ]]></default>
1352 </property>
1353 <property name="cMargins" type="stdWrap">
1354 <description><![CDATA[margins/stdWrap
1355 Distance around the content-cell "c"]]></description>
1356 <default><![CDATA[0,0,0,0]]></default>
1357 </property>
1358 <property name="cWidth" type="stdWrap">
1359 <description><![CDATA[pixels/stdWrap
1360 Width of the content-cell "c"]]></description>
1361 <default><![CDATA[
1362 ]]></default>
1363 </property>
1364 <property name="lm" type="stdWrap">
1365 <description><![CDATA[CARRAY+TDParams/stdWrap
1366 leftMenu]]></description>
1367 <default><![CDATA[
1368 ]]></default>
1369 </property>
1370 <property name="offset" type="stdWrap">
1371 <description><![CDATA[x,y/stdWrap
1372 Offset from upper left corner]]></description>
1373 <default><![CDATA[0,0 = intet]]></default>
1374 </property>
1375 <property name="rm" type="stdWrap">
1376 <description><![CDATA[CARRAY+TDParams/stdWrap
1377 rightMenu]]></description>
1378 <default><![CDATA[
1379 ]]></default>
1380 </property>
1381 <property name="tableParams" type="stdWrap">
1382 <description><![CDATA[<TABLE>-params/stdWrap
1383 ]]></description>
1384 <default><![CDATA[border=0 cellspacing=0 cellpadding=0]]></default>
1385 </property>
1386 <property name="tm" type="stdWrap">
1387 <description><![CDATA[CARRAY+TDParams/stdWrap
1388 topMenu]]></description>
1389 <default><![CDATA[
1390 ]]></default>
1391 </property>
1392 <property name="stdWrap" type="stdWrap">
1393 <description><![CDATA[
1394 ]]></description>
1395 <default><![CDATA[
1396 ]]></default>
1397 </property>
1398 </type>
1399 <type id="EDITPANEL">
1400 <property name="allow" type="string">
1401 <description><![CDATA[Define which functions are accessible. Further this list may be reduced, if the BE_USER does not have permission to perform the action
1402 Values should be listed separated by comma. This is the options you can choose between:
1403 toolbar,edit,new,delete,move,hide
1404 (toolbar is a general list of icons regarding the page, so use this for pagerecords only)]]></description>
1405 <default><![CDATA[
1406 ]]></default>
1407 </property>
1408 <property name="edit.displayRecord" type="boolean">
1409 <description><![CDATA[If set, then the record edited is displayed above the editing form.]]></description>
1410 <default><![CDATA[
1411 ]]></default>
1412 </property>
1413 <property name="innerWrap" type="wrap">
1414 <description><![CDATA[Wraps the edit panel]]></description>
1415 <default><![CDATA[
1416 ]]></default>
1417 </property>
1418 <property name="label" type="string">
1419 <description><![CDATA[Title for the panel. You can insert the record title with %s
1420
1421 Example:
1422 Section: <B>%s</B>]]></description>
1423 <default><![CDATA[
1424 ]]></default>
1425 </property>
1426 <property name="line" type="int">
1427 <description><![CDATA[boolean / int
1428 If set, a black line will appear after the panel. This value will indicate the distance from the black line to the panel]]></description>
1429 <default><![CDATA[
1430 ]]></default>
1431 </property>
1432 <property name="newRecordFromTable" type="string">
1433 <description><![CDATA[Will display a panel for creation of new element (in the top of list) on the page from that table.]]></description>
1434 <default><![CDATA[
1435 ]]></default>
1436 </property>
1437 <property name="newRecordInPid" type="int">
1438 <description><![CDATA[Define a page ID where new records (except new pages) will be created.]]></description>
1439 <default><![CDATA[
1440 ]]></default>
1441 </property>
1442 <property name="onlyCurrentPid" type="boolean">
1443 <description><![CDATA[If set, only records with a pid matching the current id (TSFE->id) will be shown with the panel.]]></description>
1444 <default><![CDATA[
1445 ]]></default>
1446 </property>
1447 <property name="outerWrap" type="wrap">
1448 <description><![CDATA[Wraps the whole edit panel including the black line (if configured)]]></description>
1449 <default><![CDATA[
1450 ]]></default>
1451 </property>
1452 <property name="previewBorder" type="int">
1453 <description><![CDATA[boolean / int
1454 If set, the hidden/starttime/endtime/fe_user elements which are previewed will have a border around.
1455 The integer value denotes the thickness of the border]]></description>
1456 <default><![CDATA[
1457 ]]></default>
1458 </property>
1459 <property name="previewBorder.innerWrap" type="string">
1460 <description><![CDATA[wrap / HTML color
1461 innerWrap wraps the content elements (including the icons) inside the preview border (an HTML table).
1462
1463 outerWrap wraps the whole content element including the border.
1464
1465 color denotes the color of the border.]]></description>
1466 <default><![CDATA[
1467 ]]></default>
1468 </property>
1469 </type>
1470 <type id="FE_TABLE">
1471 <property name="allowEdit" type="string">
1472 <description><![CDATA[allowEdit.[field]
1473 Same as above ("allowNew") but this controls which fields that may be written in case of an update of a record (and not a new submission)
1474 Please pay attension to the property below!  ("overrideEdit")]]></description>
1475 <default><![CDATA[
1476 ]]></default>
1477 </property>
1478 <property name="allowNew" type="string">
1479 <description><![CDATA[allowNew.[field]
1480 This property is in charge of which fields that may be written from the frontend.
1481
1482 Example:
1483 This defines that subject is a field, that may be submitted from the frontend. If a value is not submitted, subject is filled with the default value (see above).
1484 The field "hidden" on the other hand cannot be changed from the frontend. "hidden" will gain the value from the default definition (see above). If fields are set to "0" (zero) it's the same as if they were not defined in this array.
1485
1486 allowNew {
1487   subject = 1
1488   hidden = 0
1489 }]]></description>
1490 <default><![CDATA[
1491 ]]></default>
1492 </property>
1493 <property name="autoInsertPID" type="boolean">
1494 <description><![CDATA[Works with new records: Insert automatically the PID of the page, where the submitted data is sent to. Any "pid" supplied from the submitted data will override. This is for convenience.]]></description>
1495 <default><![CDATA[
1496 ]]></default>
1497 </property>
1498 <property name="default" type="string">
1499 <description><![CDATA[default.[field] This property is in charge of which default-values is used for the table:
1500
1501 Example:
1502 This defines the default values used for new records. These values will be overridden with any value submitted instead (as long as the submitted fields are allowed due to "allowNew")
1503 default {
1504   subject = This is the default subject value!
1505   hidden = 1
1506   parent = 0
1507 }]]></description>
1508 <default><![CDATA[
1509 ]]></default>
1510 </property>
1511 <property name="doublePostCheck" type="string">
1512 <description><![CDATA[string (fieldname)
1513 Specifies a fieldname (integer) into which an integer-hash compiled of the submitted data is inserted. If the field is set, then submissions are checked whether another record with this value already exists. If so, the record is NOT inserted, because it's expected to be a "double post" (posting the same data more than once)]]></description>
1514 <default><![CDATA[
1515 ]]></default>
1516 </property>
1517 <property name="overrideEdit" type="string">
1518 <description><![CDATA[This works like default-values above but is values inserted after the submitted values has beed processed. This means that opposite to default-values overwritten by the submitted values, these values override the submitted values.
1519
1520 Example:
1521 In this case overrideEdit secures that if a user updates his record (if he "own" it) the "hidden"-field will be set no matter what.
1522
1523 overrideEdit {
1524   hidden = 1
1525 }]]></description>
1526 <default><![CDATA[
1527 ]]></default>
1528 </property>
1529 <property name="processScript" type="string">
1530 <description><![CDATA[Include-script to be used for processing of incoming data to the table. The script is included from a function in the class tslib_fetce
1531 This is the really important option, because whether or not you are going to utilize the "cleaning"/"authorization" features of the properties above depend on how you write your script to process data and put it in the database.
1532 A very good example is to look at "media/scripts/guest_submit.inc", included from static_template "plugin.tt_guest" (Used for the default guestbook feature)]]></description>
1533 <default><![CDATA[
1534 ]]></default>
1535 </property>
1536 <property name="separator" type="string">
1537 <description><![CDATA[Separator character used when the submitted data is an array from eg. a multiple selector box.]]></description>
1538 <default><![CDATA[chr(10) (linebreak)]]></default>
1539 </property>
1540 <property name="userIdColumn" type="string">
1541 <description><![CDATA[string (field)
1542 This is a string that points to the column of a record where the user-id of the current fe_user should be inserted. This fe_user-uid is inserted/updated both by "new" and "edit"]]></description>
1543 <default><![CDATA[
1544 ]]></default>
1545 </property>
1546 </type>
1547 <type id="FILE">
1548 <property name="altText" type="stdWrap">
1549 <description><![CDATA[For <img> output only!
1550
1551 If no alttext is specified, it will use an empty alttext]]></description>
1552 <default><![CDATA[
1553 ]]></default>
1554 </property>
1555 <property name="emptyTitleHandling" type="string">
1556 <description><![CDATA[Value can be "keepEmpty" to preserve an empty title attribute, or "useAlt" to use the alt attribute instead.
1557 ]]></description>
1558 <default><![CDATA[useAlt
1559 ]]></default>
1560 </property>
1561 <property name="file" type="stdWrap">
1562 <description><![CDATA[resource/stdWrap
1563 If the resource is jpg,gif,jpeg,png the image is inserted as an image-tag. Al other formats is read and inserted into the HTML-code.
1564 The maximum filesize of documents to be read is set to 1024 kb internally!]]></description>
1565 <default><![CDATA[
1566 ]]></default>
1567 </property>
1568 <property name="linkWrap" type="stdWrap">
1569 <description><![CDATA[wrap/stdWrap
1570 (before ".wrap")]]></description>
1571 <default><![CDATA[
1572 ]]></default>
1573 </property>
1574 <property name="longdescURL" type="stdWrap">
1575 <description><![CDATA[For <img> output only!
1576
1577 "longdesc" attribute (URL pointing to document with extensive details about image).]]></description>
1578 <default><![CDATA[
1579 ]]></default>
1580 </property>
1581 <property name="stdWrap" type="stdWrap">
1582 <description><![CDATA[
1583 ]]></description>
1584 <default><![CDATA[
1585 ]]></default>
1586 </property>
1587 <property name="wrap" type="stdWrap">
1588 <description><![CDATA[wrap/stdWrap
1589 ]]></description>
1590 <default><![CDATA[
1591 ]]></default>
1592 </property>
1593 </type>
1594 <type id="FORM_dataArray">
1595 <property name="10" type="FORM_dataArray_element">
1596 <description><![CDATA[alternative way to define form Elements]]></description>
1597 <default><![CDATA[]]></default>
1598 </property>
1599 <property name="20" type="FORM_dataArray_element">
1600 <description><![CDATA[alternative way to define form Elements]]></description>
1601 <default><![CDATA[]]></default>
1602 </property>
1603 <property name="30" type="FORM_dataArray_element">
1604 <description><![CDATA[alternative way to define form Elements]]></description>
1605 <default><![CDATA[]]></default>
1606 </property>
1607 <property name="40" type="FORM_dataArray_element">
1608 <description><![CDATA[alternative way to define form Elements]]></description>
1609 <default><![CDATA[]]></default>
1610 </property>
1611 </type>
1612 <type id="FORM_dataArray_element">
1613 <property name="label" type="string">
1614 <description><![CDATA[]]></description>
1615 <default><![CDATA[]]></default>
1616 </property>
1617 <property name="type" type="string">
1618 <description><![CDATA[]]></description>
1619 <default><![CDATA[]]></default>
1620 </property>
1621 <property name="name" type="string">
1622 <description><![CDATA[]]></description>
1623 <default><![CDATA[]]></default>
1624 </property>
1625 <property name="value" type="string">
1626 <description><![CDATA[]]></description>
1627 <default><![CDATA[]]></default>
1628 </property>
1629 <property name="required" type="boolean">
1630 <description><![CDATA[]]></description>
1631 <default><![CDATA[]]></default>
1632 </property>
1633 </type>
1634 <type id="FORM">
1635 <property name="CHECK.layout" type="string">
1636 <description><![CDATA[Alternative layout for checkboxes]]></description>
1637 <default><![CDATA[the "layout"-property]]></default>
1638 </property>
1639 <property name="COMMENT.layout" type="string">
1640 <description><![CDATA[Alternative layout for comments.]]></description>
1641 <default><![CDATA[the "layout"-property]]></default>
1642 </property>
1643 <property name="LABEL.layout" type="string">
1644 <description><![CDATA[Alternative layout for label types]]></description>
1645 <default><![CDATA[the "layout"-property]]></default>
1646 </property>
1647 <property name="RADIO.layout" type="string">
1648 <description><![CDATA[Alternative layout for radiobuttons]]></description>
1649 <default><![CDATA[the "layout"-property]]></default>
1650 </property>
1651 <property name="REQ" type="REQ">
1652 <description><![CDATA[boolean
1653 Defines if required-fields should be checked and marked up]]></description>
1654 <default><![CDATA[
1655 ]]></default>
1656 </property>
1657 <property name="accessibility" type="boolean">
1658 <description><![CDATA[If set, then the form will be compliant with accessibility guidelines (XHTML compliant). This includes:
1659
1660 label string will be wrapped in <label for="formname[fieldname-hash]"> ... </label>All form elements will have an id-attribute carrying the formname with the md5-hashed fieldname appended
1661
1662 Notice: In TYPO3 4.0 and later, CSS Styled Content is configured to produce accessible forms by default.]]></description>
1663 <default><![CDATA[
1664 ]]></default>
1665 </property>
1666 <property name="arrayReturnMode" type="boolean">
1667 <description><![CDATA[If set, the <form> tags and the form content will be returned in an array as separate elements including other pratical values. This mode is for use in extensions where the array return value can be more useful.]]></description>
1668 <default><![CDATA[
1669 ]]></default>
1670 </property>
1671 <property name="badMess" type="string">
1672 <description><![CDATA[Prefixed Message for the formevaluation in case of missing required fields.
1673 This message is shown above the list of fields.
1674
1675 NOTE: May be overridden by the property override feature of the formdata (see above)]]></description>
1676 <default><![CDATA[No message]]></default>
1677 </property>
1678 <property name="commentWrap" type="stdWrap">
1679 <description><![CDATA[Comments: Wrap for comments IF you use ###COMMENT###]]></description>
1680 <default><![CDATA[
1681 ]]></default>
1682 </property>
1683 <property name="compensateFieldWidth" type="double">
1684 <description><![CDATA[Overriding option to the config-value of the same name. See "CONFIG" above.]]></description>
1685 <default><![CDATA[
1686 ]]></default>
1687 </property>
1688 <property name="data" type="stdWrap">
1689 <description><![CDATA[This is the data that sets up the form. See above.
1690 "||" can be used instead of linebreaks]]></description>
1691 <default><![CDATA[
1692 ]]></default>
1693 </property>
1694 <property name="dataArray" type="FORM_dataArray">
1695 <description><![CDATA[This is an alternative way to define the form-fields. Instead of using the syntax with vertical separator bars suggested by the .data property, you can define the elements in regular TypoScript style arrays.
1696 .dataArray is added to the input in .data if any.
1697 Every entry in the dataArray is numeric and has three main properties, label, type, value and required. 'label' and 'value' has stdWrap properties.
1698 There is an alternative property to .value, which is .valueArray. This is also an array in the same style with numeric entries which has properties label, value and selected. 'label' has stdWrap properties.
1699
1700 Example:
1701   dataArray {
1702     10.label = Name:
1703     10.type = name=input
1704     10.value = [Enter name]
1705     10.required = 1
1706     20.label = Eyecolor
1707     20.type = eyecolor=select
1708     20.valueArray {
1709       10.label = Blue
1710       10.value = 1
1711       20.label = Red
1712       20.value = 2
1713       20.selected = 1
1714     }
1715     40.type = submit=submit
1716     40.value = Submit
1717   }
1718
1719
1720 This is the same as this line in the .data property:
1721
1722 Name: | *name=input | [Enter name]
1723 Eyecolor: | eyecolor=select | Blue=1, *Red=2
1724 | submit=submit | Submit
1725
1726 Why do it this way?  Good question, but doing it this way has a tremendous advantage because labels are all separated from the codes. In addition it's much easier to pull out or insert new elements in the form.
1727 Inserting an email-field after the name field would be like this:
1728   dataArray {
1729     15.label = Email:
1730     15.type = input
1731     15.value = your@email.com
1732     15.specialEval = EMAIL
1733   }
1734
1735 Or translating the form to danish (setting config.language to 'dk'):
1736
1737   dataArray {
1738     10.label.lang.dk = Navn:
1739     10.value.lang.dk = [Indtast dit navn]
1740     20.label.lang.dk = Øjenfarve
1741     20.valueArray {
1742       10.label.lang.dk = Blå
1743       20.label.lang.dk = Rød
1744     }
1745     40.value.lang.dk = Send
1746   }
1747 ]]></description>
1748 <default><![CDATA[
1749 ]]></default>
1750 </property>
1751 <property name="dontMd5FieldNames" type="boolean">
1752 <description><![CDATA[The IDs generated for all elements in a form are md5 hashes from the fieldname. Setting this to true will disable this behaviour and use a cleaned fieldname, prefixed with the form name as the ID, instead.
1753 This can be useful to style specifically named fields with CSS.]]></description>
1754 <default><![CDATA[
1755 ]]></default>
1756 </property>
1757 <property name="emailMess" type="string">
1758 <description><![CDATA[Message if a field evaluated to be an email adresse did not validate.
1759
1760 NOTE: May be overridden by the property override feature of the formdata (see above)]]></description>
1761 <default><![CDATA[
1762 ]]></default>
1763 </property>
1764 <property name="fieldPrefix" type="string">
1765 <description><![CDATA[Alternative prefix for the name of the fields in this form. Otherwise, all fields are prefixed with the form name (either a unique hash or the name set in the "formName" property). If set to "0", there will be no prefix at all.]]></description>
1766 <default><![CDATA[
1767 ]]></default>
1768 </property>
1769 <property name="fieldWrap" type="stdWrap">
1770 <description><![CDATA[Field: Wraps the fields]]></description>
1771 <default><![CDATA[
1772 ]]></default>
1773 </property>
1774 <property name="formName" type="string">
1775 <description><![CDATA[An alternative name for this form. Default will be a unique (random) hash.
1776
1777 <form name="...">]]></description>
1778 <default><![CDATA[
1779 ]]></default>
1780 </property>
1781 <property name="goodMess" type="string">
1782 <description><![CDATA[Message for the formevaluation function in case of correctly filled form.
1783
1784 NOTE: May be overridden by the property override feature of the formdata (see above)]]></description>
1785 <default><![CDATA[No message]]></default>
1786 </property>
1787 <property name="hiddenFields" type="cObjArray">
1788 <description><![CDATA[Used to set hiddenFields from TS.
1789
1790 Example:
1791 hiddenFields.pid = TEXT
1792 hiddenFields.pid.value = 2
1793
1794 This makes a hidden-field with the name "pid" and value "2".]]></description>
1795 <default><![CDATA[
1796 ]]></default>
1797 </property>
1798 <property name="image" type="IMAGE">
1799 <description><![CDATA[If this is a valid image the submitbutton is rendered as this image!!
1800
1801 NOTE: CurrentValue is set to the caption-label before generating the image.]]></description>
1802 <default><![CDATA[
1803 ]]></default>
1804 </property>
1805 <property name="labelWrap" type="stdWrap">
1806 <description><![CDATA[Labels: Wraps the label]]></description>
1807 <default><![CDATA[
1808 ]]></default>
1809 </property>
1810 <property name="layout" type="string">
1811 <description><![CDATA[This defines how the label and the field are placed towards each other.
1812
1813 Example:
1814 This substitutes the "###FIELD###" with the field data and the "###LABEL###' with labeldata.
1815
1816 <tr><td>###FIELD###</td><td> ###LABEL###</td></tr>
1817
1818 You can also use the marker ###COMMENT### which is ALSO the label value inserted, but wrapped in .commentWrap stdWrap-properties (see below)]]></description>
1819 <default><![CDATA[
1820 ]]></default>
1821 </property>
1822 <property name="locationData" type="string">
1823 <description><![CDATA[boolean / string
1824 If this value is true, then a hidden-field called "locationData" is added to the form. This field wil be loaded with a value like this:
1825 [page id]:[current record table]:[current record id]
1826 For example, if a formfield is inserted on page with uid = "100", as a page-content item from the table "tt_content" with id "120", then the value would be "100:tt_content:120".
1827 The value is use by eg. the cObject SEARCHRESULT. If the value $GLOBALS["HTTP_POST_VARS"]["locationData"] is detected here, the search is done as if it was performed on this page! This is very usefull if you want a search functionality implemented on a page with the "stype" field set to "L1" which means that the search is carried out from the first level in the rootline.
1828 Suppose you want the search to submit to a dedicated searchpage where ever. This page will then know - because of locationData - that the search was submittet from another place on the website.
1829 If "locationData" is not only true but also set to "HTTP_POST_VARS" then the value will insert the content of $GLOBALS["HTTP_POST_VARS"]["locationData"] instead of the true location data of the page. This should be done with search-fields as this will carry the initial searching start point with.
1830 NOTE: May be overridden by the property override feature of the formdata (see above)]]></description>
1831 <default><![CDATA[
1832 ]]></default>
1833 </property>
1834 <property name="method" type="string">
1835 <description><![CDATA[form-method
1836
1837 Example:
1838 GET]]></description>
1839 <default><![CDATA[POST]]></default>
1840 </property>
1841 <property name="noValueInsert" type="boolean">
1842 <description><![CDATA[By default values that are submitted to the same page (and thereby same form, eg. at searchforms) are re-inserted in the form instead of any default-data that might be set up.
1843 This, however, applies ONLY if the "no_cache=1" is set! (a page being cached may not include user-specific defaults in the fields of course...)
1844 If you set this flag, "noValueInsert", the content will always be the default content.]]></description>
1845 <default><![CDATA[
1846 ]]></default>
1847 </property>
1848 <property name="noWrapAttr" type="boolean">
1849 <description><![CDATA[If this value is true then all wrap attributes of textarea elements are suppressed. This is needed for XHTML-compliancy.
1850
1851 The wrap attributes can also be disabled on a per-field basis by using the special keyword "disabled" as the value of the wrap attribute.]]></description>
1852 <default><![CDATA[
1853 ]]></default>
1854 </property>
1855 <property name="no_cache" type="string">
1856 <description><![CDATA[Default no_cache-option]]></description>
1857 <default><![CDATA[
1858 ]]></default>
1859 </property>
1860 <property name="params" type="string">
1861 <description><![CDATA[form-element tag parameters
1862 Extra parameters to form elements
1863
1864 Example:
1865 params = style="width:200px;"
1866 params.textarea = style="width:300px;"
1867 params.check =
1868
1869 This sets the default to 200 px width, but excludes check-boxes and sets textareas to 300.]]></description>
1870 <default><![CDATA[
1871 ]]></default>
1872 </property>
1873 <property name="radioWrap" type="stdWrap">
1874 <description><![CDATA[Wraps the labels for radiobuttons]]></description>
1875 <default><![CDATA[
1876 ]]></default>
1877 </property>
1878 <property name="radioWrap.accessibilityWrap" type="wrap">
1879 <description><![CDATA[Defines how radio buttons are wrapped when accessibility mode is turned on (see below “accessibility” property)
1880 default:
1881
1882 <fieldset###RADIO_FIELD_ID###><legend>###RADIO_GROUP_LABEL###</legend>|</fieldset>
1883 ]]></description>
1884 <default><![CDATA[<fieldset###RADIO_FIELD_ID###><legend>###RADIO_GROUP_LABEL###</legend>|</fieldset>
1885 ]]></default>
1886 </property>
1887 <property name="radioInputWrap" type="stdWrap">
1888 <description><![CDATA[Wraps the input element and label of a radio button.]]></description>
1889 <default><![CDATA[
1890 ]]></default>
1891 </property>
1892 <property name="recipient" type="stdWrap">
1893 <description><![CDATA[(list of) string /stdWrap
1894 Email recipient of the formmail content (generates the hiddenfield "recipient")]]></description>
1895 <default><![CDATA[No email]]></default>
1896 </property>
1897 <property name="redirect" type="stdWrap">
1898 <description><![CDATA[URL to redirect to (generates the hidden field "redirect")
1899
1900 Integer: this is regarded to be a page in TYPO3
1901 String: this is regarded to be a normal url
1902 Empty; the current page is chosen.
1903
1904 NOTE: If this value is set the target of this overriddes the target of the "type".]]></description>
1905 <default><![CDATA[
1906 ]]></default>
1907 </property>
1908 <property name="stdWrap" type="stdWrap">
1909 <description><![CDATA[Wraps the hole form (before formtags is added)]]></description>
1910 <default><![CDATA[
1911 ]]></default>
1912 </property>
1913 <property name="target" type="string">
1914 <description><![CDATA[target
1915 Default target of the form. ]]></description>
1916 <default><![CDATA[
1917 ]]></default>
1918 </property>
1919 <property name="type" type="int">
1920 <description><![CDATA[Type (action="" of the form):
1921
1922 Integer: this is regarded to be a page in TYPO3
1923 String: this is regarded to be a normal URL (eg. "formmail.php" or "fe_tce_db.php")
1924 Empty: the current page is chosen.
1925
1926 NOTE: If type is integer/empty the form will be submitted to a page in TYPO3 and if this page has a value for target/no_cache, then this will be used instead of the default target/no_cache below.
1927
1928 NOTE: If the redirect-value is set, the redirect-target overrides the target set by the action-url
1929
1930 NOTE: May be overridden by the property override feature of the formdata (see above)]]></description>
1931 <default><![CDATA[
1932 ]]></default>
1933 </property>
1934 <property name="wrapFieldName" type="wrap">
1935 <description><![CDATA[This wraps  the fieldnames before they are applied to the form-field tags.
1936
1937 Example:
1938 If value is tx_myextension[input][  |  ]  then the fieldname "email" would be wrapped to this value: tx_myextension[input][email]]]></description>
1939 <default><![CDATA[
1940 ]]></default>
1941 </property>
1942 </type>
1943 <type id="REQ">
1944 <property name="fieldWrap" type="stdWrap">
1945 <description><![CDATA[Field: Wraps the fields, but for reuired fields]]></description>
1946 <default><![CDATA[the "fieldWrap"-property]]></default>
1947 </property>
1948 <property name="labelWrap" type="stdWrap">
1949 <description><![CDATA[Labels: Wraps the label, but for reuired fields]]></description>
1950 <default><![CDATA[the "labelWrap"-property]]></default>
1951 </property>
1952 <property name="layout" type="string">
1953 <description><![CDATA[The same as "layout" above, but for reuired fields]]></description>
1954 <default><![CDATA[the "layout"-property]]></default>
1955 </property>
1956 </type>
1957 <type id="FRAMESET">
1958 <property name="1" type="FRAME">
1959 <description><![CDATA[Configuration of frames and nested framesets.]]></description>
1960 <default><![CDATA[
1961 ]]></default>
1962 </property>
1963 <property name="2" type="FRAME">
1964 <description><![CDATA[Configuration of frames and nested framesets.]]></description>
1965 <default><![CDATA[
1966 ]]></default>
1967 </property>
1968 <property name="3" type="FRAME">
1969 <description><![CDATA[Configuration of frames and nested framesets.]]></description>
1970 <default><![CDATA[
1971 ]]></default>
1972 </property>
1973 <property name="4" type="FRAME">
1974 <description><![CDATA[Configuration of frames and nested framesets.]]></description>
1975 <default><![CDATA[
1976 ]]></default>
1977 </property>
1978 <property name="cols" type="string">
1979 <description><![CDATA[<frameset>-data:cols
1980 Cols]]></description>
1981 <default><![CDATA[
1982 ]]></default>
1983 </property>
1984 <property name="params" type="string">
1985 <description><![CDATA[<frameset>-params
1986 Example:
1987 border="0" framespacing="0" frameborder="NO"]]></description>
1988 <default><![CDATA[
1989 ]]></default>
1990 </property>
1991 <property name="rows" type="string">
1992 <description><![CDATA[<frameset>-data:rows
1993 Rows]]></description>
1994 <default><![CDATA[
1995 ]]></default>
1996 </property>
1997 </type>
1998 <type id="FRAME">
1999 <property name="name" type="string">
2000 <description><![CDATA[<frame>-data:name
2001 Manually set name of frame
2002
2003 NOTE: Is set automatically and should not be overridden under normal conditions!]]></description>
2004 <default><![CDATA[value of ".obj"]]></default>
2005 </property>
2006 <property name="obj" type="string">
2007 <description><![CDATA[pointer to toplevel object-name
2008 toplevel object-name of a PAGE / FRAMESET
2009
2010 Example:
2011 "left", "page", "frameset"]]></description>
2012 <default><![CDATA[
2013 ]]></default>
2014 </property>
2015 <property name="options" type="string">
2016 <description><![CDATA[url-parameters
2017 Example:
2018 print=1&othervar=anotherthing
2019 would add '&print=1&othervar=anotherthing' to the ".src"-content (if not ".src" is set manually!!)]]></description>
2020 <default><![CDATA[
2021 ]]></default>
2022 </property>
2023 <property name="params" type="string">
2024 <description><![CDATA[<frame>-params
2025 Example:
2026 scrolling="AUTO" noresize frameborder="NO"]]></description>
2027 <default><![CDATA[
2028 ]]></default>
2029 </property>
2030 <property name="src" type="string">
2031 <description><![CDATA[<frame>-data:src
2032 Manually set the src of the frame
2033
2034 NOTE: Is set automatically and should not be overridden under normal conditions!]]></description>
2035 <default><![CDATA[could be index.php?$id&$type ]]></default>
2036 </property>
2037 </type>
2038 <type id="GifBuilderObj">
2039 <property name="if" type="if">
2040 <description><![CDATA[.if (->if) is a property of all gifbuilder-objects. If the property is present and NOT set, the object is NOT rendered! This corresponds to the functionallity of ".if" of the stdWrap-function.]]></description>
2041 </property>
2042 </type>
2043 <type id="GIFBUILDER">
2044 <property name="1" type="GifBuilderObj">
2045 <description><![CDATA[.if (->if) is a property of all gifbuilder-objects. If the property is present and NOT set, the object is NOT rendered! This corresponds to the functionallity of ".if" of the stdWrap-function.]]></description>
2046 <default><![CDATA[
2047 ]]></default>
2048 </property>
2049 <property name="2" type="GifBuilderObj">
2050 <description><![CDATA[.if (->if) is a property of all gifbuilder-objects. If the property is present and NOT set, the object is NOT rendered! This corresponds to the functionallity of ".if" of the stdWrap-function.]]></description>
2051 <default><![CDATA[
2052 ]]></default>
2053 </property>
2054 <property name="3" type="GifBuilderObj">
2055 <description><![CDATA[.if (->if) is a property of all gifbuilder-objects. If the property is present and NOT set, the object is NOT rendered! This corresponds to the functionallity of ".if" of the stdWrap-function.]]></description>
2056 <default><![CDATA[
2057 ]]></default>
2058 </property>
2059 <property name="4" type="GifBuilderObj">
2060 <description><![CDATA[.if (->if) is a property of all gifbuilder-objects. If the property is present and NOT set, the object is NOT rendered! This corresponds to the functionallity of ".if" of the stdWrap-function.]]></description>
2061 <default><![CDATA[
2062 ]]></default>
2063 </property>
2064 <property name="XY" type="string">
2065 <description><![CDATA[x,y +calc
2066 Size of the gif-file. ]]></description>
2067 <default><![CDATA[100,20]]></default>
2068 </property>
2069 <property name="backColor" type="string">
2070 <description><![CDATA[GraphicColor
2071 Background color for the gif]]></description>
2072 <default><![CDATA[white]]></default>
2073 </property>
2074 <property name="format" type="string">
2075 <description><![CDATA[&quot;gif&quot; / &quot;jpg&quot;
2076 Output type.
2077 "jpg"/"jpeg" = jpg-image]]></description>
2078 <default><![CDATA[gif]]></default>
2079 </property>
2080 <property name="maxHeight" type="int">
2081 <description><![CDATA[pixels
2082 Maximal heigth of gif-file]]></description>
2083 <default><![CDATA[
2084 ]]></default>
2085 </property>
2086 <property name="maxWidth" type="int">
2087 <description><![CDATA[pixels
2088 Maximal width of gif-file]]></description>
2089 <default><![CDATA[
2090 ]]></default>
2091 </property>
2092 <property name="offset" type="string">
2093 <description><![CDATA[x,y +calc
2094 Offset all objects on the gif.]]></description>
2095 <default><![CDATA[0,0]]></default>
2096 </property>
2097 <property name="quality" type="int">
2098 <description><![CDATA[posint (10-100)
2099 JPG-quality (if ".format" = jpg/jpeg)]]></description>
2100 <default><![CDATA[
2101 ]]></default>
2102 </property>
2103 <property name="reduceColors" type="int">
2104 <description><![CDATA[posint (1-255)
2105 Reduce the number of colors (if gif-file)]]></description>
2106 <default><![CDATA[
2107 ]]></default>
2108 </property>
2109 <property name="transparentBackground" type="boolean">
2110 <description><![CDATA[Set this flag to render the background transparent. TYPO3 makes the color found at position 0,0 of the image (upper left corner) transparent.
2111 If you render text you should leave the niceText option OFF as the result with probably be more precise without the niceText antialiasing hack]]></description>
2112 <default><![CDATA[
2113 ]]></default>
2114 </property>
2115 <property name="transparentColor" type="stdWrap">
2116 <description><![CDATA[HTMLColor /stdWrap
2117 Specify a color that should be transparent
2118
2119 Example-values:
2120 #ffffcc
2121 red
2122 255,255,127
2123
2124 Option:
2125 transparentColor.closest = 1
2126 This will allow for the closest color to be matched instead. You may need this if you image is not garanteed "clean".
2127
2128 NOTE: You may experience that this doesn't work if you use reduceColors-option or render text with niceText-option.]]></description>
2129 <default><![CDATA[
2130 ]]></default>
2131 </property>
2132 <property name="workArea" type="string">
2133 <description><![CDATA[x,y,w,h + calc
2134 Define the workarea on the giffile. All the GifBuilderObj's will see this as the dimensions of the gif-file regarding alignment, overlaying of images an so on. Only will TEXT-objects exceeding the boundaries of the workarea print outside this area.]]></description>
2135 <default><![CDATA[
2136 ]]></default>
2137 </property>
2138 </type>
2139 <type id="ADJUST" extends="GifBuilderObj">
2140 <property name="value" type="string">
2141 <description><![CDATA[This lets you adjust the input-levels like in Photoshops "levels"-dialog. If you need to adjust gamma, look at the EFFECT-object.
2142 Example:
2143
2144 20 = ADJUST
2145 20.value = inputLevels = 13,230
2146
2147 properties:
2148
2149 inputLevels: low,high
2150 outputLevels: low, high
2151 autoLevels: -
2152 ]]></description>
2153 <default><![CDATA[
2154 ]]></default>
2155 </property>
2156 </type>
2157 <type id="BOX" extends="GifBuilderObj">
2158 <property name="align" type="string">
2159 <description><![CDATA[VHalign
2160 ]]></description>
2161 <default><![CDATA[
2162 ]]></default>
2163 </property>
2164 <property name="color" type="string">
2165 <description><![CDATA[GraphicColor
2166 fill-color]]></description>
2167 <default><![CDATA[black]]></default>
2168 </property>
2169 <property name="dimensions" type="string">
2170 <description><![CDATA[x,y,w,h +calc
2171 Dimensions of a filled box.
2172 x,y    is the offset.
2173 w,h    is the dimensions. Dimensions of 1 will result in 1-pixel wide lines!]]></description>
2174 <default><![CDATA[
2175 ]]></default>
2176 </property>
2177 <property name="opacity" type="int">
2178 <description><![CDATA[pos-int (1-100)
2179 Dimensions of a filled box.
2180 Opacity (i.e. inverse of transparency, e.g. 100% opacity = 0% transparency)]]></description>
2181 <default><![CDATA[100
2182 ]]></default>
2183 </property>
2184 </type>
2185 <type id="CROP" extends="GifBuilderObj">
2186 <property name="align" type="string">
2187 <description><![CDATA[VHalign
2188 ]]></description>
2189 <default><![CDATA[
2190 ]]></default>
2191 </property>
2192 <property name="backColor" type="string">
2193 <description><![CDATA[GraphicColor
2194 ]]></description>
2195 <default><![CDATA[The original backColor]]></default>
2196 </property>
2197 <property name="crop" type="string">
2198 <description><![CDATA[x,y,v,h + calc
2199 x,y is offset of the crop-frame,
2200 v,h  is the dimensions]]></description>
2201 <default><![CDATA[
2202 ]]></default>
2203 </property>
2204 </type>
2205 <type id="ELLIPSE" extends="GifBuilderObj">
2206 <property name="dimensions" type="string">
2207 <description><![CDATA[x,y,w,h +calc
2208 Dimensions of a filled ellipse.
2209 x,y is the offset.
2210 w,h is the dimensions. Dimensions of 1 will result in 1-pixel wide lines!
2211
2212 Example:
2213 file = GIFBUILDER
2214 file {
2215 XY = 200,200
2216 format = jpg
2217 quality = 100
2218 10 = ELLIPSE
2219 10.dimensions = 100,100,50,50
2220 10.color = red
2221
2222 ]]></description>
2223 <default><![CDATA[
2224 ]]></default>
2225 </property>
2226 <property name="color" type="string">
2227 <description><![CDATA[GraphicColor
2228 fill-color
2229
2230 Example:
2231 file = GIFBUILDER
2232 file {
2233 XY = 200,200
2234 format = jpg
2235 quality = 100
2236 10 = ELLIPSE
2237 10.dimensions = 100,100,50,50
2238 10.color = red
2239
2240 ]]></description>
2241 <default><![CDATA[
2242 ]]></default>
2243 </property>
2244 </type>
2245 <type id="EFFECT" extends="GifBuilderObj">
2246 <property name="value" type="string">
2247 <description><![CDATA[.value = [Varnavn] = [value] | [Varnavn] = [value]
2248
2249 Example:
2250 20 = EFFECT
2251 20.value = gamme=1.3 | flip | rotate=180
2252
2253
2254 gamma: 0.5 - 3.0
2255 blur: 1-99
2256 sharpen: 1-99
2257 solarize: 0-99
2258 swirl: 0-100
2259 wave: ampli , length
2260 charcoal: 0-100
2261 gray: -
2262 edge: 0-99
2263 emboss: -
2264 flip: - (Vertical flipping)
2265 flop: - (Horizontal flipping)
2266 rotate: 0-360 (Rotation)
2267 colors: 2-255
2268 shear: -90 - 90 (Horizontal shearing)
2269 invert: - (invert the colors)
2270 ]]></description>
2271 <default><![CDATA[
2272 ]]></default>
2273 </property>
2274 </type>
2275 <type id="EMBOSS" extends="GifBuilderObj">
2276 <property name="blur" type="int">
2277 <description><![CDATA[posint (1-99)
2278 Blurring of the shadow. Above 40 only values of 40,50,60,70,80,90 means something.]]></description>
2279 <default><![CDATA[
2280 ]]></default>
2281 </property>
2282 <property name="highColor" type="string">
2283 <description><![CDATA[GraphicColor
2284 Upper border-color]]></description>
2285 <default><![CDATA[
2286 ]]></default>
2287 </property>
2288 <property name="intensity" type="int">
2289 <description><![CDATA[posint(0-100)
2290 How "massive" the emboss is. This value can - if it has a high value combined with a blurred shadow - create a kind of soft-edged outline.]]></description>
2291 <default><![CDATA[
2292 ]]></default>
2293 </property>
2294 <property name="lowColor" type="string">
2295 <description><![CDATA[GraphicColor
2296 lower border-color]]></description>
2297 <default><![CDATA[
2298 ]]></default>
2299 </property>
2300 <property name="offset" type="string">
2301 <description><![CDATA[x,y
2302 Offset of the emboss]]></description>
2303 <default><![CDATA[
2304 ]]></default>
2305 </property>
2306 <property name="opacity" type="int">
2307 <description><![CDATA[posint (1-100)
2308 Opacity (transparency^-1)
2309 100% opacity = 0% transparency). Only active with a value for blur.]]></description>
2310 <default><![CDATA[
2311 ]]></default>
2312 </property>
2313 <property name="textObjNum" type="int">
2314 <description><![CDATA[pos-int
2315 Must point to the TEXT-object if these shadow-properties are not properties to a TEXT-object directly ("stand-alone-shadow"). Then the shadow needs to know which TEXT-object it should be a shadow of!
2316 If - on the other hand - the shadow is a property to a text-object, this property is not needed.]]></description>
2317 <default><![CDATA[
2318 ]]></default>
2319 </property>
2320 </type>
2321 <type id="GB_IMAGE" extends="GifBuilderObj">
2322 <property name="align" type="string">
2323 <description><![CDATA[VHalign
2324 ]]></description>
2325 <default><![CDATA[
2326 ]]></default>
2327 </property>
2328 <property name="file" type="imgResource">
2329 <description><![CDATA[The imagefile]]></description>
2330 <default><![CDATA[
2331 ]]></default>
2332 </property>
2333 <property name="mask" type="imgResource">
2334 <description><![CDATA[Optional mask-image for the imagefile.]]></description>
2335 <default><![CDATA[
2336 ]]></default>
2337 </property>
2338 <property name="offset" type="string">
2339 <description><![CDATA[x,y +calc
2340 Offset ]]></description>
2341 <default><![CDATA[0,0]]></default>
2342 </property>
2343 <property name="tile" type="string">
2344 <description><![CDATA[x,y
2345 tile x,y times.
2346 Maximum times is 20 each direction. If you need more, use a larger image.]]></description>
2347 <default><![CDATA[
2348 ]]></default>
2349 </property>
2350 </type>
2351 <type id="OUTLINE" extends="GifBuilderObj">
2352 <property name="color" type="string">
2353 <description><![CDATA[GraphicColor
2354 Outline color]]></description>
2355 <default><![CDATA[
2356 ]]></default>
2357 </property>
2358 <property name="textObjNum" type="int">
2359 <description><![CDATA[pos-int
2360 Must point to the TEXT-object if these shadow-properties are not properties to a TEXT-object directly ("stand-alone-shadow"). Then the shadow needs to know which TEXT-object it should be a shadow of!
2361 If - on the other hand - the shadow is a property to a text-object, this property is not needed.]]></description>
2362 <default><![CDATA[
2363 ]]></default>
2364 </property>
2365 <property name="thickness" type="string">
2366 <description><![CDATA[x,y
2367 Thickness in each direction, range 1-2]]></description>
2368 <default><![CDATA[
2369 ]]></default>
2370 </property>
2371 </type>
2372 <type id="SCALE" extends="GifBuilderObj">
2373 <property name="height" type="string">
2374 <description><![CDATA[pixels + calc
2375 ]]></description>
2376 <default><![CDATA[
2377 ]]></default>
2378 </property>
2379 <property name="params" type="string">
2380 <description><![CDATA[ImageMagickParams
2381 ]]></description>
2382 <default><![CDATA[
2383 ]]></default>
2384 </property>
2385 <property name="width" type="string">
2386 <description><![CDATA[pixels + calc
2387 ]]></description>
2388 <default><![CDATA[
2389 ]]></default>
2390 </property>
2391 </type>
2392 <type id="SHADOW" extends="GifBuilderObj">
2393 <property name="blur" type="int">
2394 <description><![CDATA[posint (1-99)
2395 Blurring of the shadow. Above 40 only values of 40,50,60,70,80,90 means something.
2396
2397 NOTE: Unfortunately the blurring capabilities of ImageMagick is not very mature in the version 4.2.9. This is addressed in the later version 5.2.0 where a gaussian blur-function is added. BUT as we do cannot use the latest ImageMagick development yet, this is not utilized so far.]]></description>
2398 <default><![CDATA[
2399 ]]></default>
2400 </property>
2401 <property name="color" type="string">
2402 <description><![CDATA[GraphicColor
2403 Shadow color]]></description>
2404 <default><![CDATA[
2405 ]]></default>
2406 </property>
2407 <property name="intensity" type="int">
2408 <description><![CDATA[posint(0-100)
2409 How "massive" the shadow is. This value can - if it has a high value combined with a blurred shadow - create a kind of soft-edged outline.]]></description>
2410 <default><![CDATA[
2411 ]]></default>
2412 </property>
2413 <property name="offset" type="string">
2414 <description><![CDATA[x,y
2415 Shadow offset]]></description>
2416 <default><![CDATA[
2417 ]]></default>
2418 </property>
2419 <property name="opacity" type="int">
2420 <description><![CDATA[posint (1-100)
2421 Opacity (transparency^-1)
2422 100% opacity = 0% transparency). Only active with a value for blur.]]></description>
2423 <default><![CDATA[
2424 ]]></default>
2425 </property>
2426 <property name="textObjNum" type="int">
2427 <description><![CDATA[pos-int
2428 Must point to the TEXT-object if these shadow-properties are not properties to a TEXT-object directly ("stand-alone-shadow"). Then the shadow needs to know which TEXT-object it should be a shadow of!
2429 If - on the other hand - the shadow is a property to a text-object, this property is not needed.]]></description>
2430 <default><![CDATA[
2431 ]]></default>
2432 </property>
2433 </type>
2434 <type id="GB_TEXT" extends="GifBuilderObj">
2435 <property name="align" type="string">
2436 <description><![CDATA[align
2437 Alignment of the text]]></description>
2438 <default><![CDATA[left]]></default>
2439 </property>
2440 <property name="angle" type="string">
2441 <description><![CDATA[degree
2442 Rotation degrees of the text.
2443
2444 NOTE: Angle is not available if spacing/wordSpacing is set.]]></description>
2445 <default><![CDATA[0
2446 Range: -90 til 90]]></default>
2447 </property>
2448 <property name="antiAlias" type="boolean">
2449 <description><![CDATA[FreeType antialiasing. Notice, the default mode is "on"!
2450
2451 Note: This option is not available if .niceText is enabled]]></description>
2452 <default><![CDATA[1]]></default>
2453 </property>
2454 <property name="breakWidth" type="int">
2455 <description><![CDATA[Defines the maximum width for an object, overlapping elements will force an automatic line break.
2456 ]]></description>
2457 <default><![CDATA[
2458 ]]></default>
2459 </property>
2460 <property name="breakSpace" type="float">
2461 <description><![CDATA[Defines a value that is multiplied by the line height of the current element.
2462 ]]></description>
2463 <default><![CDATA[1.0]]></default>
2464 </property>
2465 <property name="doNotStripHTML" type="boolean">
2466 <description><![CDATA[If set, HTML-tags in the string inserted are NOT removed. Any other way HTML-code is removed by default!]]></description>
2467 <default><![CDATA[0]]></default>
2468 </property>
2469 <property name="emboss" type="EMBOSS">
2470 <description><![CDATA[
2471 ]]></description>
2472 <default><![CDATA[
2473 ]]></default>
2474 </property>
2475 <property name="fontColor" type="stdWrap">
2476 <description><![CDATA[GraphicColor /stdWrap
2477 Font color]]></description>
2478 <default><![CDATA[black]]></default>
2479 </property>
2480 <property name="fontFile" type="string">
2481 <description><![CDATA[Font face (truetype font you can upload!!)]]></description>
2482 <default><![CDATA[Nimbus (Arial-clone)]]></default>
2483 </property>
2484 <property name="fontSize" type="int">
2485 <description><![CDATA[posint
2486 Font size]]></description>
2487 <default><![CDATA[12]]></default>
2488 </property>
2489 <property name="hide" type="boolean">
2490 <description><![CDATA[If this is true, the text is NOT printed.
2491 This feature may be used if you need a shadow-object to base a shadow on the text, but do not want the text to print.]]></description>
2492 <default><![CDATA[0]]></default>
2493 </property>
2494 <property name="hideButCreateMap" type="boolean">
2495 <description><![CDATA[If this option is set, the text will not be rendered. Shadows and emboss will, though, so don't apply these!! But this feature is also meant only to enable a text to generate the imageMap coordinates without rendering itself.]]></description>
2496 <default><![CDATA[
2497 ]]></default>
2498 </property>
2499 <property name="imgMap" type="IMGMAP">
2500 <description><![CDATA[
2501 ]]></description>
2502 <default><![CDATA[
2503 ]]></default>
2504 </property>
2505 <property name="iterations" type="int">
2506 <description><![CDATA[posint
2507 How many times the text should be "printed" onto it self. This will add the effect of bold text.
2508
2509 Note: This option is not available if .niceText is enabled]]></description>
2510 <default><![CDATA[1]]></default>
2511 </property>
2512 <property name="maxWidth" type="int">
2513 <description><![CDATA[pixels
2514 Sets the maximum width in pixels, the text must be. Reduces the fontSize if the text does not fit within this width.
2515
2516 Does not support setting alternative fontSizes in splitRendering options.
2517
2518 (By Rene Fritz <r.fritz@colorcube.de>)]]></description>
2519 <default><![CDATA[
2520 ]]></default>
2521 </property>
2522 <property name="niceText" type="boolean">
2523 <description><![CDATA[This is a very popular feature that helps to render small letters much nicer than the freetype library can normally do. But it also loads the system very much!
2524 The principle of this function is to create a black/white giffile in twice or more times the size of the actual gif-file and then print the text onto this is a scaled dimension. Afterwards ImageMagick (IM) scales down the mask and masks the font color down on the original gif-file through the temporary mask.
2525 The fact that the font  is  actually rendered in the double size and scaled down adds a more homogenous shape to the lettes. Some fonts are more critical than others though.  If you do not need the quality, then don't use the function.
2526
2527 Some properties:
2528 .before = IM-params before scale
2529 .after = IM-params after scale
2530 .sharpen = sharpen-value for the mask (after scaling), integer 0-99 (this enables you to make the text crisper if it's too blurred!)
2531 .scaleFactor = scaling-factor, int 2-5]]></description>
2532 <default><![CDATA[
2533 ]]></default>
2534 </property>
2535 <property name="offset" type="string">
2536 <description><![CDATA[x,y +calc
2537 Offset of the text]]></description>
2538 <default><![CDATA[0,0]]></default>
2539 </property>
2540 <property name="outline" type="OUTLINE">
2541 <description><![CDATA[
2542 ]]></description>
2543 <default><![CDATA[
2544 ]]></default>
2545 </property>
2546 <property name="shadow" type="SHADOW">
2547 <description><![CDATA[
2548 ]]></description>
2549 <default><![CDATA[
2550 ]]></default>
2551 </property>
2552 <property name="spacing" type="int">
2553 <description><![CDATA[posint
2554 Pixel-distance between letters. This may render ugly!]]></description>
2555 <default><![CDATA[0]]></default>
2556 </property>
2557 <property name="splitRendering.compX" type="string">
2558 <description><![CDATA[Split the rendering of a string into separate processes with individual configurations. By this method a certain range of characters can be rendered with another font face or size. This is very useful if you want to use separate fonts for strings where you have latin characters combined with eg. Japanese and there is a separate font file for each.
2559 You can also render keywords in another font/size/color.
2560
2561 Properties:
2562 splitRendering.compX = Additional pixelspace between parts, x direction
2563 splitRendering.compY = Additional pixelspace between parts, y direction
2564 splitRendering.[array] = keyword  [charRange, highlightWord]
2565 splitRendering.[array] {
2566   fontFile = Alternative font file for this rendering
2567   fontSize = Alternative font size for this rendering
2568   color = Alternative color for this rendering, works ONLY without "niceText"
2569   xSpaceBefore = x-Space before this part
2570   xSpaceAfter = x-Space after this part
2571   ySpaceBefore = y-Space before this part
2572   ySpaceAfter =  y-Space after this part
2573 }
2574
2575 Keyword: charRange
2576 splitRendering.[array].value = Commaseparated list of character ranges (eg. "100-200") given as Unicode character numbers. The list accepts optional starting and ending points, eg. " - 200" or " 200 -" and single values, eg. "65, 66, 67"
2577
2578 Keyword: highlightWord
2579 splitRendering.[array].value = Word to highlight, makes a case sensitive search for this.
2580
2581 Limitations:
2582 The pixelcompensation values are not corrected for scale factor used with niceText. Basically this means that when niceText is used, these values will have only the half effect.When word spacing is used the "highlightWord" mode doesn't work.The color override works only without "niceText".
2583
2584 Example:
2585   10.splitRendering.compX = 2
2586   10.splitRendering.compY = -2
2587   10.splitRendering.10 = charRange
2588   10.splitRendering.10 {
2589     value = 200-380 , 65, 66
2590     fontSize = 50
2591     fontFile =  t3lib/fonts/nimbus.ttf
2592     xSpaceBefore = 30
2593   }
2594   10.splitRendering.20 = highlightWord
2595   10.splitRendering.20 {
2596     value = TheWord
2597     color = red
2598   }]]></description>
2599 <default><![CDATA[
2600 ]]></default>
2601 </property>
2602 <property name="splitRendering.compY" type="string">
2603 <description><![CDATA[Split the rendering of a string into separate processes with individual configurations. By this method a certain range of characters can be rendered with another font face or size. This is very useful if you want to use separate fonts for strings where you have latin characters combined with eg. Japanese and there is a separate font file for each.
2604 You can also render keywords in another font/size/color.
2605
2606 Properties:
2607 splitRendering.compX = Additional pixelspace between parts, x direction
2608 splitRendering.compY = Additional pixelspace between parts, y direction
2609 splitRendering.[array] = keyword  [charRange, highlightWord]
2610 splitRendering.[array] {
2611   fontFile = Alternative font file for this rendering
2612   fontSize = Alternative font size for this rendering
2613   color = Alternative color for this rendering, works ONLY without "niceText"
2614   xSpaceBefore = x-Space before this part
2615   xSpaceAfter = x-Space after this part
2616   ySpaceBefore = y-Space before this part
2617   ySpaceAfter =  y-Space after this part
2618 }
2619
2620 Keyword: charRange
2621 splitRendering.[array].value = Commaseparated list of character ranges (eg. "100-200") given as Unicode character numbers. The list accepts optional starting and ending points, eg. " - 200" or " 200 -" and single values, eg. "65, 66, 67"
2622
2623 Keyword: highlightWord
2624 splitRendering.[array].value = Word to highlight, makes a case sensitive search for this.
2625
2626 Limitations:
2627 The pixelcompensation values are not corrected for scale factor used with niceText. Basically this means that when niceText is used, these values will have only the half effect.When word spacing is used the "highlightWord" mode doesn't work.The color override works only without "niceText".
2628
2629 Example:
2630   10.splitRendering.compX = 2
2631   10.splitRendering.compY = -2
2632   10.splitRendering.10 = charRange
2633   10.splitRendering.10 {
2634     value = 200-380 , 65, 66
2635     fontSize = 50
2636     fontFile =  t3lib/fonts/nimbus.ttf
2637     xSpaceBefore = 30
2638   }
2639   10.splitRendering.20 = highlightWord
2640   10.splitRendering.20 {
2641     value = TheWord
2642     color = red
2643   }]]></description>
2644 <default><![CDATA[
2645 ]]></default>
2646 </property>
2647 <property name="text" type="stdWrap">
2648 <description><![CDATA[This is text text-string on the gif-file. The item is rendered only if this string is not empty.
2649 The cObj->data-array is loaded with the page-record, if for example the GIFBUILDER-object is used by GMENU or IMGMENU]]></description>
2650 <default><![CDATA[
2651 ]]></default>
2652 </property>
2653 <property name="textMaxLength" type="int">
2654 <description><![CDATA[The maximum length of the text.  This is just a natural break that prevents incidental rendering of very long texts!]]></description>
2655 <default><![CDATA[100]]></default>
2656 </property>
2657 <property name="wordSpacing" type="int">
2658 <description><![CDATA[posint
2659 Pixel-distance between words.]]></description>
2660 <default><![CDATA[= ".spacing"*2]]></default>
2661 </property>
2662 </type>
2663 <type id="WORKAREA" extends="GifBuilderObj">
2664 <property name="clear" type="string">(isset)
2665 <description><![CDATA[
2666 ]]></description>
2667 <default><![CDATA[
2668 ]]></default>
2669 </property>
2670 <property name="set" type="string">
2671 <description><![CDATA[x,y,w,h + calc
2672 Sets another workarea
2673 ]]></description>
2674 <default><![CDATA[
2675 ]]></default>
2676 </property>
2677 </type>
2678 <type id="HMENU">
2679 <property name="1" type="mObj">
2680 <description><![CDATA[Required!
2681 Defines which menuObj that should render the menuitems on the various levels.
2682 1 is the first level, 2 is the second level, 3 is the third level, 4 is ....
2683
2684 Example:
2685 temp.sidemenu = HMENU
2686 temp.sidemenu.1 = GMENU  ]]></description>
2687 <default><![CDATA[ (no menu)]]></default>
2688 </property>
2689 <property name="2" type="mObj">
2690 <description><![CDATA[Defines which menuObj that should render the menuitems on the various levels.
2691 1 is the first level, 2 is the second level, 3 is the third level, 4 is ....
2692
2693 Example:
2694 temp.sidemenu = HMENU
2695 temp.sidemenu.1 = GMENU  ]]></description>
2696 <default><![CDATA[ (no menu)]]></default>
2697 </property>
2698 <property name="3" type="mObj">
2699 <description><![CDATA[Defines which menuObj that should render the menuitems on the various levels.
2700 1 is the first level, 2 is the second level, 3 is the third level, 4 is ....
2701
2702 Example:
2703 temp.sidemenu = HMENU
2704 temp.sidemenu.1 = GMENU  ]]></description>
2705 <default><![CDATA[ (no menu)]]></default>
2706 </property>
2707 <property name="4" type="mObj">
2708 <description><![CDATA[Defines which menuObj that should render the menuitems on the various levels.
2709 1 is the first level, 2 is the second level, 3 is the third level, 4 is ....
2710
2711 Example:
2712 temp.sidemenu = HMENU
2713 temp.sidemenu.1 = GMENU  ]]></description>
2714 <default><![CDATA[ (no menu)]]></default>
2715 </property>
2716 <property name="addQueryString" type="string">
2717 <description><![CDATA[see typolink.addQueryString
2718
2719 Notice: This works only for special=language.]]></description>
2720 <default><![CDATA[
2721 ]]></default>
2722 </property>
2723 <property name="alwaysActivePIDlist" type="stdWrap">
2724 <description><![CDATA[List of Integers /stdWrap
2725 This is a list of page UID numbers that will always be regarded as active menu items and thereby automatically opened regardless of the rootline.]]></description>
2726 <default><![CDATA[
2727 ]]></default>
2728 </property>
2729 <property name="begin" type="int">
2730 <description><![CDATA[int +calc
2731 The first item in the menu.
2732
2733 Example:
2734 This results in a menu, where the first two items are skipped starting with item number 3:
2735   begin = 3  
2736
2737 Notice: Affects all sub menus as well. (See "minItems" for notice)]]></description>
2738 <default><![CDATA[
2739 ]]></default>
2740 </property>
2741 <property name="entryLevel" type="int">
2742 <description><![CDATA[Defines at which level in the rootLine, the menu should start.
2743 Default is "0" which gives us a menu of the very first pages on the site.
2744 If the value is < 0, entryLevel is chosen from "behind" in the rootLine. Thus "-1" is a menu with items from the outermost level, "-2" is the level before the outermost...]]></description>
2745 <default><![CDATA[0]]></default>
2746 </property>
2747 <property name="excludeDoktypes" type="intList">
2748 <description><![CDATA[list of integers
2749 Enter the list of page document types (doktype) to exclude from menus. By default pages that are "not in menu" (5) are excluded and those marked for backend user access only (6). ]]></description>
2750 <default><![CDATA[5,6]]></default>
2751 </property>
2752 <property name="excludeUidList" type="int">
2753 <description><![CDATA[list of integers
2754 This is a list of page uid's to exclude when the select statement is done. Comma-separated. You may add "current" to the list to exclude the current page.
2755
2756 Example:
2757 The pages with these uid-number will NOT be within the menu!! Additionally the current page is always excluded too.
2758   excludeUidList = 34,2,current]]></description>
2759 <default><![CDATA[
2760 ]]></default>
2761 </property>
2762 <property name="if" type="if">
2763 <description><![CDATA[If "if" returns false, the menu is not generated]]></description>
2764 <default><![CDATA[
2765 ]]></default>
2766 </property>
2767 <property name="includeNotInMenu" type="boolean">
2768 <description><![CDATA[If set, pages with type "Not in menu" will be included in menus.
2769 The number "5" will simply be removed from the current dok-type list (which is by default "5,6" but can be changed by "excludeDoktypes", see above).]]></description>
2770 <default><![CDATA[
2771 ]]></default>
2772 </property>
2773 <property name="maxItems" type="int">
2774 <description><![CDATA[The maximum items in the menu. More items will be ignored.
2775
2776 Notice: Affects all sub menus as well. (See "minItems" for notice)]]></description>
2777 <default><![CDATA[
2778 ]]></default>
2779 </property>
2780 <property name="minItems" type="int">
2781 <description><![CDATA[The minimum items in the menu. If the number of pages does not reach this level, a dummy-page with the title "..." and uid=[currentpage_id] is inserted.
2782
2783 Notice: Affects all sub menus as well. To set the value for each menu level individually, set the properties in the menu objects (see "Common properties" table).]]></description>
2784 <default><![CDATA[
2785 ]]></default>
2786 </property>
2787 <property name="protectLvar" type="string">
2788 <description><![CDATA[boolean / keyword
2789 If set, then for each page in the menu it will be checked if an Alternative Page Language record for the language defined in "config.sys_language_uid" (typically defined via &L) exists for the page. If that is not the case and the pages "Localization settings" have the "Hide page if no translation for current language exists" flag set, then the menu item will link to a non accessible page that will yield an error page to the user. Setting this option will prevent that situation by simply adding "&L=0" for such pages, meaning that they will switch to the default language rather than keeping the current language.
2790 The check is only carried out if a translation is requested ("config.sys_language_uid" is not zero).
2791
2792 Keyword: "all"
2793 When set to "all" the same check is carried out but it will not look if "Hide page if no translation for current language exists" is set - it always reverts to default language if no translation is found.
2794
2795 For these options to make sense, they should only be used when "config.sys_language_mode" is not set to "content_fallback".]]></description>
2796 <default><![CDATA[
2797 ]]></default>
2798 </property>
2799 <property name="special" type="HMENU_SPECIAL">
2800 <description><![CDATA[&quot;directory&quot; / &quot;list&quot; / &quot;updated&quot; / &quot;browse&quot; / &quot;rootline&quot; / &quot;keywords&quot; / "language"
2801 (See tsref for details:
2802 <a href="http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/11/#id4080403">
2803 http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/11/#id4080403</a> )]]></description>
2804 <default><![CDATA[
2805 ]]></default>
2806 </property>
2807 <property name="stdWrap" type="stdWrap">
2808 <description><![CDATA[
2809 ]]></description>
2810 <default><![CDATA[
2811 ]]></default>
2812 </property>
2813 <property name="wrap" type="stdWrap">
2814 <description>wrap/stdWrap<![CDATA[
2815 ]]></description>
2816 <default><![CDATA[
2817 ]]></default>
2818 </property>
2819 </type>
2820 <type id="HMENU_SPECIAL">
2821 <property name="value" type="stdWrap">
2822 <description><![CDATA[list of page-uid's /stdWrap]]></description>
2823 <default><![CDATA[
2824 ]]></default>
2825 </property>
2826 </type>
2827 <type id="directory" extends="HMENU_SPECIAL"/>
2828 <type id="list" extends="HMENU_SPECIAL"/>
2829 <type id="updated" extends="HMENU_SPECIAL">
2830 <property name="mode" type="string">
2831 <description><![CDATA[Which field in the pages-table to use. Default is "SYS_LASTCHANGED" (which is updated when a page is generated to the youngest tstamp of the records on the page), "manual" or "lastUpdated" will use the field "lastUpdated" (set manually in the page-record) and "tstamp" will use the "tstamp"-field of the pagerecord, which is set automatically when the record is changed. "crdate" will use "crdate"-field of the pagerecord. "starttime" will use the starttime field.
2832
2833 Fields with zero value is not selected anyway.]]></description>
2834 <default><![CDATA[
2835 ]]></default>
2836 </property>
2837 <property name="depth" type="string">
2838 <description><![CDATA[By default (if the value is not an integer) the depth is 20 levels. The range is 1-20. A depth of 1 means only the start id, depth of 2 means start-id + first level. NOTE: depth is relative to beginAtLevel.
2839 ]]></description>
2840 <default><![CDATA[
2841 ]]></default>
2842 </property>
2843 <property name="beginAtLevel" type="int">
2844 <description><![CDATA[Determines starting level for the pagetrees generated based on .value and .depth. Zero is default and includes the start id. 1=starts with the first row of subpages, 2=starts with the second row of subpages. Depth is relative to this starting point.
2845 ]]></description>
2846 <default><![CDATA[
2847 ]]></default>
2848 </property>
2849 <property name="maxAge" type="string">
2850 <description><![CDATA[Seconds+calc.
2851 Pages with update-dates older than currenttime minus this number of seconds will not be shown in the menu no matter what. Default is "not used". You may use +-*/ for calculations.
2852 ]]></description>
2853 <default><![CDATA[
2854 ]]></default>
2855 </property>
2856 <property name="limit" type="int">
2857 <description><![CDATA[Max number of items in the menu. Default is 10, max is 100.
2858 ]]></description>
2859 <default><![CDATA[10
2860 ]]></default>
2861 </property>
2862 <property name="excludeNoSearchPages" type="boolean">
2863 <description><![CDATA[If set, pages marked "No search" is not included into special-menus.
2864 Support for Mount Pages: Yes.
2865 ]]></description>
2866 <default><![CDATA[
2867 ]]></default>
2868 </property>
2869 </type>
2870 <type id="rootline" extends="HMENU_SPECIAL">
2871 <property name="range" type="string">
2872 <description><![CDATA[rootline creates a menu with pages from the "rootline" (see earlier in this reference)
2873
2874 .range = [begin-level] | [end-level] (same way as you reference the .entryLevel for HMENU)
2875
2876 This...
2877
2878 page.2 = HMENU
2879 page.2.special = rootline
2880 page.2.special.range = 1|-2
2881 page.2.special.targets.3 = page
2882 page.2.1 = TMENU
2883 page.2.1.target = _top
2884 page.2.1.wrap = <HR> | <HR>
2885 page.2.1.NO {
2886 linkWrap = | >
2887 }
2888 ... creates a menu like this:
2889
2890 Page level 1 > Page level 2 > Page level 3 > Page level 4 >
2891
2892 (The menu starts at level 1 and does NOT link to the current page (-2 is the level before). Further all pages on level 3 will have "page" as target and all other "_top")
2893 ]]></description>
2894 <default><![CDATA[
2895 ]]></default>
2896 </property>
2897 <property name="reverseOrder" type="boolean">
2898 <description><![CDATA[If set to true, the order of the rootline menu elements will be reversed.
2899 ]]></description>
2900 <default><![CDATA[false]]></default>
2901 </property>
2902 <property name="targets" type="string">
2903 <description><![CDATA[.targets.[0-x] targets
2904
2905 This...
2906
2907 page.2 = HMENU
2908 page.2.special = rootline
2909 page.2.special.range = 1|-2
2910 page.2.special.targets.3 = page
2911 page.2.1 = TMENU
2912 page.2.1.target = _top
2913 page.2.1.wrap = <HR> | <HR>
2914 page.2.1.NO {
2915 linkWrap = | >
2916 }
2917
2918 ... creates a menu like this:
2919
2920 Page level 1 > Page level 2 > Page level 3 > Page level 4 >
2921
2922 (The menu starts at level 1 and does NOT link to the current page (-2 is the level before). Further all pages on level 3 will have "page" as target and all other "_top")
2923
2924 ]]></description>
2925 <default><![CDATA[
2926 ]]></default>
2927 </property>
2928 </type>
2929 <type id="browse" extends="HMENU_SPECIAL">
2930 <property name="items" type="string">
2931 <description><![CDATA[.items ( "|" separated list of "itemnames")
2932 This kind of menu is built of items given by a list from the property ".item". Each element in the list (sep. by "|") is either a reserved itemname (see list) with a predefined function or a userdefined name which you can assign a link to any page. Note that the current page cannot be the root-page of a site.
2933 ]]></description>
2934 <default><![CDATA[
2935 ]]></default>
2936 </property>
2937 <property name="items.prevnextToSection" type="boolean">
2938 <description><![CDATA[items.prevnextToSection (boolean) - if set, the "prev" and "next" navigation will jump to the next section when it reaches the end of pages in the current section.
2939 ]]></description>
2940 <default><![CDATA[
2941 ]]></default>
2942 </property>
2943 <property name="next" type="HMENU_SPECIAL_browseItem">
2944 <description><![CDATA[next / prev : links to next page / previous page. Next and previous pages are from the same "pid" as the current page id (or "value") - that is the next item in a menu with the current page. Also referred to as current level.
2945
2946 If ".prevnextToSection" is set then next/prev will link to the first page of next section / last page of previous section.
2947 ]]></description>
2948 <default><![CDATA[
2949 ]]></default>
2950 </property>
2951 <property name="prev" type="HMENU_SPECIAL_browseItem">
2952 <description><![CDATA[next / prev : links to next page / previous page. Next and previous pages are from the same "pid" as the current page id (or "value") - that is the next item in a menu with the current page. Also referred to as current level.
2953
2954 If ".prevnextToSection" is set then next/prev will link to the first page of next section / last page of previous section.
2955 ]]></description>
2956 <default><![CDATA[
2957 ]]></default>
2958 </property>
2959 <property name="nextsection" type="HMENU_SPECIAL_browseItem">
2960 <description><![CDATA[nextsection / prevsection : links to next section / previous section. A section is defined as the subpages of a page on the same level as the parent (pid) page of the current page. Will not work if parent page of current page is the root page of the site.
2961 ]]></description>
2962 <default><![CDATA[
2963 ]]></default>
2964 </property>
2965 <property name="prevsection" type="HMENU_SPECIAL_browseItem">
2966 <description><![CDATA[nextsection / prevsection : links to next section / previous section. A section is defined as the subpages of a page on the same level as the parent (pid) page of the current page. Will not work if parent page of current page is the root page of the site.
2967 ]]></description>
2968 <default><![CDATA[
2969 ]]></default>
2970 </property>
2971 <property name="nextsection_last" type="HMENU_SPECIAL_browseItem">
2972 <description><![CDATA[Where nextsection/prevsection links to the first page in a section, these links to the last pages. If there is only one page in the section that will be both first and last. Will not work if parent page of current page is the root page of the site.
2973 ]]></description>
2974 <default><![CDATA[
2975 ]]></default>
2976 </property>
2977 <property name="prevsection_last" type="HMENU_SPECIAL_browseItem">
2978 <description><![CDATA[Where nextsection/prevsection links to the first page in a section, these links to the last pages. If there is only one page in the section that will be both first and last. Will not work if parent page of current page is the root page of the site.
2979 ]]></description>
2980 <default><![CDATA[
2981 ]]></default>
2982 </property>
2983 <property name="first" type="HMENU_SPECIAL_browseItem">
2984 <description><![CDATA[First / Last page on current level. If there is only one page on the current level that page will be both first and last.
2985 ]]></description>
2986 <default><![CDATA[
2987 ]]></default>
2988 </property>
2989 <property name="last" type="HMENU_SPECIAL_browseItem">
2990 <description><![CDATA[First / Last page on current level. If there is only one page on the current level that page will be both first and last.
2991 ]]></description>
2992 <default><![CDATA[
2993 ]]></default>
2994 </property>
2995 <property name="up" type="HMENU_SPECIAL_browseItem">
2996 <description><![CDATA[Links to the parent (pid) page of the current page. (up 1 level) Will always be available
2997 ]]></description>
2998 <default><![CDATA[
2999 ]]></default>
3000 </property>
3001 <property name="index" type="HMENU_SPECIAL_browseItem">
3002 <description><![CDATA[Links to the parent of the parent page of the current page (up 2 levels). May not be available if that page is out of the rootline.
3003 ]]></description>
3004 <default><![CDATA[
3005 ]]></default>
3006 </property>
3007 </type>
3008 <type id="HMENU_SPECIAL_browseItem">
3009 <property name="target" type="string">
3010 <description><![CDATA[optional/alternative target of the item]]></description>
3011 <default><![CDATA[
3012 ]]></default>
3013 </property>
3014 <property name="uid" type="int">
3015 <description><![CDATA[. (uid of page) - optional/alternative page-uid to link to
3016 ]]></description>
3017 <default><![CDATA[
3018 ]]></default>
3019 </property>
3020 <property name="fields" type="string">
3021 <description><![CDATA[.[itemnames].fields.[fieldname] (string)
3022 override field "fieldname" in pagerecord.]]></description>
3023 <default><![CDATA[
3024 ]]></default>
3025 </property>
3026 </type>
3027 <type id="keywords" extends="HMENU_SPECIAL">
3028 <property name="mode" type="string">
3029 <description><![CDATA[Which field in the pages-table to use for sorting. Default is "SYS_LASTCHANGED" (which is updated when a page is generated to the youngest tstamp of the records on the page), "manual" or "lastUpdated" will use the field "lastUpdated" (set manually in the page-record) and "tstamp" will use the "tstamp"-field of the pagerecord, which is set automatically when the record is changed. "crdate" will use "crdate"-field of the pagerecord. "starttime" will use the starttime field.
3030 ]]></description>
3031 <default><![CDATA[
3032 ]]></default>
3033 </property>
3034 <property name="depth" type="string">
3035 <description><![CDATA[By default (if the value is not an integer) the depth is 20 levels. The range is 1-20. A depth of 1 means only the start id, depth of 2 means start-id + first level. NOTE: depth is relative to beginAtLevel.
3036 ]]></description>
3037 <default><![CDATA[
3038 ]]></default>
3039 </property>
3040 <property name="beginAtLevel" type="int">
3041 <description><![CDATA[Determines starting level for the pagetrees generated based on .value and .depth. Zero is default and includes the start id. 1=starts with the first row of subpages, 2=starts with the second row of subpages. Depth is relative to this starting point.
3042 ]]></description>
3043 <default><![CDATA[
3044 ]]></default>
3045 </property>
3046 <property name="limit" type="int">
3047 <description><![CDATA[Max number of items in the menu. Default is 10, max is 100.
3048 ]]></description>
3049 <default><![CDATA[10
3050 ]]></default>
3051 </property>
3052 <property name="excludeNoSearchPages" type="boolean">
3053 <description><![CDATA[If set, pages marked "No search" is not included into special-menus.
3054 Support for Mount Pages: Yes.
3055 ]]></description>
3056 <default><![CDATA[
3057 ]]></default>
3058 </property>
3059 <property name="entryLevel" type="string">
3060 <description><![CDATA[.entryLevel = where in the rootline the search begins. Standard rootline syntax (-x to x)]]></description>
3061 <default><![CDATA[
3062 ]]></default>
3063 </property>
3064 <property name="setKeywords" type="stdWrap">
3065 <description><![CDATA[.setKeywords (/stdWrap) = lets you define the keywords manually by defining them as a commaseparated list. If this property is defined, it overrides the default, which is the keywords of the current page.
3066 ]]></description>
3067 <default><![CDATA[
3068 ]]></default>
3069 </property>
3070 <property name="keywordsField" type="string">
3071 <description><![CDATA[.keywordsField = defines the field in the pages-table in which to search for the keywords. Default is the fieldname "keyword". No check is done to see if the field you enter here exists, so enter an existing field, OK?!]]></description>
3072 <default><![CDATA["keyword"
3073 ]]></default>
3074 </property>
3075 <property name="keywordsField.sourceField" type="string">
3076 <description><![CDATA[.keywordsField.sourceField = defines the field from the current page from which to take the keywords being matched. The default is "keyword". (Notice that ".keywordsField" is only setting the page-record field to search in !)]]></description>
3077 <default><![CDATA["keyword"
3078 ]]></default>
3079 </property>
3080 </type>
3081 <type id="language" extends="HMENU_SPECIAL"/>
3082 <type id="userdefined" extends="HMENU_SPECIAL">
3083 <property name="file" type="string">
3084 <description><![CDATA[.file [resource] = filename of the php-file to include. (Just like cObject PHP_SCRIPT)
3085 ]]></description>
3086 <default><![CDATA[
3087 ]]></default>
3088 </property>
3089 </type>
3090 <type id="userfunction" extends="HMENU_SPECIAL">
3091 <property name="userFunc" type="string">
3092 <description><![CDATA[.userFunc = function-name
3093 Calls a user function/method in class which should (as with "userdefined" above) return an array with page records for the menu.
3094 ]]></description>
3095 <default><![CDATA[
3096 ]]></default>
3097 </property>
3098 </type>
3099 <type id="mObj">
3100 <property name="alternativeSortingField" type="string">
3101 <description><![CDATA[Normally the menuitems are sorted by the fields "sorting" in the pages- and tt_content-table. Here you can enter a list of fields that is used in the SQL- "ORDER BY" statement instead.
3102
3103 Examples (for "pages" table):
3104 alternativeSortingField = title desc
3105 (This will render the menu in reversed alphabetical order)
3106
3107 LIMITATIONS:
3108 This property works with normal menus, sectionsIndex menus and special-menus of type "directory".]]></description>
3109 <default><![CDATA[
3110 ]]></default>
3111 </property>
3112 <property name="begin" type="int">
3113 <description><![CDATA[int +calc
3114 The first item in the menu.
3115
3116 Example:
3117 This results in a menu, where the first two items are skipped starting with item number 3:
3118   begin = 3  
3119
3120 Takes precedence over HMENU.begin]]></description>
3121 <default><![CDATA[
3122 ]]></default>
3123 </property>
3124 <property name="imgNameNotRandom" type="boolean">
3125 <description><![CDATA[If set, the image names of menuitems is not randomly assigned. Usefull switch if you're manipulating these images with some external JavaScript
3126
3127 NOTE: Don't set this if you're working with a menu with sectionIndex! In that case you need special unique names of items based on something else than the uid of the parent page of course!]]></description>
3128 <default><![CDATA[
3129 ]]></default>
3130 </property>
3131 <property name="imgNamePrefix" type="string">
3132 <description><![CDATA[prefix for the imagenames. This prefix is appended with the uid of the page.]]></description>
3133 <default><![CDATA["img"]]></default>
3134 </property>
3135 <property name="itemArrayProcFunc" type="string">
3136 <description><![CDATA[function-name
3137 The first variable passed to this function is the "menuArr" array with the menuitems as they are collected based on the type of menu.
3138 You're free to manipulate or add to this array as you like. Just remember to return the array again!
3139
3140 Note:
3141 .parentObj property is hardcoded to be a reference to the calling tslib_menu object. Here you'll find eg. ->id to be the uid of the menu item generating a submenu and such.
3142
3143 Presetting element state
3144 You can override element states like SPC, IFSUB, ACT, CUR or USR by setting the key ITEM_STATE in the page records. See cObject HMENU/special=userdefined for more information.]]></description>
3145 <default><![CDATA[
3146 ]]></default>
3147 </property>
3148 <property name="maxItems" type="int">
3149 <description><![CDATA[The maximum items in the menu. More items will be ignored.
3150
3151 Takes precedence over HMENU.maxItems]]></description>
3152 <default><![CDATA[
3153 ]]></default>
3154 </property>
3155 <property name="minItems" type="int">
3156 <description><![CDATA[The minimum items in the menu. If the number of pages does not reach this level, a dummy-page with the title "..." and uid=[currentpage_id] is inserted.
3157
3158 Takes precedence over HMENU.minItems]]></description>
3159 <default><![CDATA[
3160 ]]></default>
3161 </property>
3162 <property name="sectionIndex" type="string">
3163 <description><![CDATA[This is a property that all menuObj's share. If it's set, then the menu will not consist of links to pages on the "next level" but rather links to the parent page to the menu, but in addition "#"-links to the cObjects rendered on the page. In other words, the menuitems will be links to the content elements (with colPos=0!) on the page. A section index.
3164
3165 .sectionIndex = [boolean]
3166
3167 If you set this, all content elements (from tt_content table) of "Column" = "Normal" and the "Index"-check box clicked are selected. This corresponds to the "Menu/Sitemap" content element when "Section index" is selected as type.
3168
3169 .sectionIndex.type = "all" / "header"
3170
3171 If you set this additional property to "all", then the "Index"-checkbox is not considered and all content elements with colPos=0 is selected.
3172
3173 If this property is "header" then only content elements with a visible header-layout (and a non-empty 'header'-field!) is selected. In other words, if the header layout of an element is set to "Hidden" then the page will not appear in the menu.
3174
3175 The data-record /Behind the scene:
3176
3177 When the menu-records are selected it works like this: The parent page record is used as the "base" for the menu-record. That means that any "no_cache" or "target"-properties of the parent page is used for the whole menu.
3178
3179 But of course some fields from the tt_content records are transfered: This is how it mapped:
3180
3181 $temp[$row[uid]]=$basePageRow;
3182
3183 $temp[$row[uid]]["title"]=$row["header"];
3184
3185 $temp[$row[uid]]["subtitle"]=$row["subheader"];
3186
3187 $temp[$row[uid]]["starttime"]=$row["starttime"];
3188
3189 $temp[$row[uid]]["endtime"]=$row["endtime"];
3190
3191 $temp[$row[uid]]["fe_group"]=$row["fe_group"];
3192
3193 $temp[$row[uid]]["media"]=$row["media"];
3194
3195 $temp[$row[uid]]["header_layout"]=$row["header_layout"];
3196
3197 $temp[$row[uid]]["bodytext"]=$row["bodytext"];
3198
3199 $temp[$row[uid]]["image"]=$row["image"];
3200
3201 $temp[$row[uid]]["sectionIndex_uid"]=$row["uid"];
3202
3203 Basically this shows that
3204
3205 - the field "header" and "subheader" from tt_content are mapped to "title" and "subtitle" in the pages-record. Thus you shouldn't need to change your standard menu-objects to fit this thing...
3206
3207 - the fields "starttime", "endtime", "fe_group", "media" from tt_content are mapped to the same fields in a pages-record.
3208
3209 - the fields "header_layout", "bodytext" and "image" are mapped to non-existing fields in the page-record
3210
3211 - a new field, "sectionIndex_uid" is introduced in the page-record which is detected by the function t3lib_tstemplate->linkData(). If this field is present in a pagerecord, the linkData()-function will prepend a hash-mark and the number of the field.
3212
3213 NOTE:
3214
3215 You cannot create submenus to sectionIndex-menus. That doesn't make any sense as these elements are not pages and thereby have no "childs".
3216 ]]></description>
3217 <default><![CDATA[
3218 ]]></default>
3219 </property>
3220 <property name="showAccessRestrictedPages" type="string">
3221 <description><![CDATA[integer (page id) / keyword "NONE"
3222 If set, pages in the menu will include pages with frontend user group access enabled.  However the page is of course not accessible and therefore the URL in the menu will be linked to the page with the ID of this value. On that page you could put a login form or other message.
3223 If the value is "NONE" the link will not be changed and the site will perform page-not-found handling when clicked (which can be used to capture the event and act accordingly of course).
3224
3225 Properties:
3226 .addParam = Additional parameter for the URL, which can hold two markers; ###RETURN_URL### which will be substituted with the link the page would have had if it had been accessible and ###PAGE_ID### holding the page id of the page coming from (could be used to look up which fe_groups was required for access.
3227
3228 Example:
3229 showAccessRestrictedPages = 22
3230 showAccessRestrictedPages.addParams = &return_url=###RETURN_URL###&pageId=###PAGE_ID###
3231
3232 The example will link access restricted menu items to page id 22 with the return URL in the GET var "return_url" and the page id in the GET var "pageId".]]></description>
3233 <default><![CDATA[
3234 ]]></default>
3235 </property>
3236 <property name="submenuObjSuffixes" type="string">
3237 <description><![CDATA[Defines a suffix for alternative sub-level menu objects. Useful to create special submenus depending on their parent menu element. See example below.
3238
3239 Example:
3240 This example will generate a menu where the menu objects for the second level will differ depending on the number of the first level item for which the submenu is rendered. The second level objects used are "2" (the default), "2a" and "2b" (the alternatives). Which of them is used is defined by "1.submenuObjSuffixes" which has the configuration "a |*| |*| b". This configuration means that the first menu element will use configuration "2a" and the last will use "2b" while anything in between will use "2" (no suffix applied)
3241
3242 page.200 = HMENU
3243 page.200 {
3244   1 = TMENU
3245   1.wrap = <div style="width:200px; border: 1px solid;">|</div>
3246   1.expAll = 1
3247   1.submenuObjSuffixes = a |*|  |*| b
3248   1.NO.allWrap = <b>|</b><br/>
3249
3250   2 = TMENU
3251   2.NO.allWrap = <div style="background:red;">|</div>
3252
3253   2a = TMENU
3254   2a.NO.allWrap = <div style="background:yellow;">|</div>
3255
3256   2b = TMENU
3257   2b.NO.allWrap = <div style="background:green;">|</div>
3258 }
3259
3260 The result can be seen in the image below (applied on the testsite package):
3261
3262
3263
3264 Applies to GMENU, TMENU, GMENU_LAYERS, TMENU_LAYERS and GMENU_FOLDOUT on >= 2nd level in a menu.]]></description>
3265 <default><![CDATA[
3266 ]]></default>
3267 </property>
3268 </type>
3269 <type id="GMENU">
3270 <property name="ACT" type="GMENU_itemState">
3271 <description><![CDATA[Boolean / (config)
3272 Enable/Configuration for menu items which are found in the rootLine]]></description>
3273 <default><![CDATA[0]]></default>
3274 </property>
3275 <property name="ACTRO" type="GMENU_itemState">
3276 <description><![CDATA[Boolean / (config)
3277 Enable/Configuration for menu items which are found in the rootLine]]></description>
3278 <default><![CDATA[0]]></default>
3279 </property>
3280 <property name="ACTIFSUB" type="GMENU_itemState">
3281 <description><![CDATA[Boolean / (config)
3282 Enable/Configuration for menu items which are found in the rootLine and has subpages]]></description>
3283 <default><![CDATA[0]]></default>
3284 </property>
3285 <property name="ACTIFSUBRO" type="GMENU_itemState">
3286 <description><![CDATA[Boolean / (config)
3287 Enable/Configuration for menu items which are found in the rootLine and has subpages]]></description>
3288 <default><![CDATA[0]]></default>
3289 </property>
3290 <property name="CUR" type="GMENU_itemState">
3291 <description><![CDATA[Boolean / (config)
3292 Enable/Configuration for a menu item if the item is the current page.]]></description>
3293 <default><![CDATA[0]]></default>
3294 </property>
3295 <property name="CURRO" type="GMENU_itemState">
3296 <description><![CDATA[Boolean / (config)
3297 Enable/Configuration for a menu item if the item is the current page.]]></description>
3298 <default><![CDATA[0]]></default>
3299 </property>
3300 <property name="CURIFSUB" type="GMENU_itemState">
3301 <description><![CDATA[Boolean / (config)
3302 Enable/Configuration for a menu item if the item is the current page and has subpages.]]></description>
3303 <default><![CDATA[0]]></default>
3304 </property>
3305 <property name="CURIFSUBRO" type="GMENU_itemState">
3306 <description><![CDATA[Boolean / (config)
3307 Enable/Configuration for a menu item if the item is the current page and has subpages.]]></description>
3308 <default><![CDATA[0]]></default>
3309 </property>
3310 <property name="IFSUB" type="GMENU_itemState">
3311 <description><![CDATA[Boolean / (config)
3312 Enable/Configuration for menu items which has subpages]]></description>
3313 <default><![CDATA[0]]></default>
3314 </property>
3315 <property name="IFSUBRO" type="GMENU_itemState">
3316 <description><![CDATA[Boolean / (config)
3317 Enable/Configuration for menu items which has subpages]]></description>
3318 <default><![CDATA[0]]></default>
3319 </property>
3320 <property name="NO" type="GMENU_itemState">
3321 <description><![CDATA[Boolean / (config)
3322 The default "Normal" state rendering of Item. This is required for all menus.
3323 If you specify properties for the "NO" property you do not have to set it "1". Otherwise with no properties setting "NO=1" will render the menu anyways (for TMENU this may make sense).
3324
3325 The simplest menu TYPO3 can generate is then:
3326
3327 page.20 = HMENU
3328 page.20.1 = TMENU
3329 page.20.1.NO = 1
3330
3331 That will be pure <a> tags wrapped around page titles.]]></description>
3332 <default><![CDATA[1]]></default>
3333 </property>
3334 <property name="SPC" type="GMENU_itemState">
3335 <description><![CDATA[Boolean / (config)
3336 Enable/Configuration for 'Spacer' pages.
3337 Spacers are pages of the doktype "Spacer". These are not viewable pages but "placeholders" which can be used to divide menuitems.
3338
3339 Note: Rollovers doesn't work with spacers, if you use GMENU!]]></description>
3340 <default><![CDATA[0]]></default>
3341 </property>
3342 <property name="USERDEF1" type="GMENU_itemState">
3343 <description><![CDATA[Boolean / (config)
3344 Userdefined, see .itemArrayProcFunc for details on how to use this.
3345 You can set the ITEM_STATE values USERDEF1 and USERDEF2 (+...RO) from a script/userfunction processing the menu item array. See HMENU/special=userdefined or the property .itemArrayProcFunc of the menu objects.]]></description>
3346 <default><![CDATA[
3347 ]]></default>
3348 </property>
3349 <property name="USERDEF1RO" type="GMENU_itemState">
3350 <description><![CDATA[Boolean / (config)
3351 Userdefined, see .itemArrayProcFunc for details on how to use this.
3352 You can set the ITEM_STATE values USERDEF1 and USERDEF2 (+...RO) from a script/userfunction processing the menu item array. See HMENU/special=userdefined or the property .itemArrayProcFunc of the menu objects.]]></description>
3353 <default><![CDATA[
3354 ]]></default>
3355 </property>
3356 <property name="USERDEF2" type="GMENU_itemState">
3357 <description><![CDATA[Boolean / (config)
3358 (See above)]]></description>
3359 <default><![CDATA[
3360 ]]></default>
3361 </property>
3362 <property name="USERDEF2RO" type="GMENU_itemState">
3363 <description><![CDATA[Boolean / (config)
3364 (See above)]]></description>
3365 <default><![CDATA[
3366 ]]></default>
3367 </property>
3368 <property name="USR" type="GMENU_itemState">
3369 <description><![CDATA[Boolean / (config)
3370 Enable/Configuration for menu items which are access restricted pages that a user has access to.]]></description>
3371 <default><![CDATA[0]]></default>
3372 </property>
3373 <property name="USRRO" type="GMENU_itemState">
3374 <description><![CDATA[Boolean / (config)
3375 Enable/Configuration for menu items which are access restricted pages that a user has access to.]]></description>
3376 <default><![CDATA[0]]></default>
3377 </property>
3378 <property name="addParams" type="string">
3379 <description><![CDATA[Additional parameter for the menu-links.
3380 Example:
3381 "&some_var=some%20value"
3382 Must be rawurlencoded.
3383 Applies to GMENU, TMENU, IMGMENU]]></description>
3384 <default><![CDATA[
3385 ]]></default>
3386 </property>
3387 <property name="IProcFunc" type="string">
3388 <description><![CDATA[The internal array "I" is passed to this function and expected returned as well. Subsequent to this function call the menu item is compiled by implode()'ing the array $I[parts] in the passed array. Thus you may modify this if you need to.
3389 See example on the testsite and in media/scripts/example_itemArrayProcFunc.php]]></description>
3390 <default><![CDATA[
3391 ]]></default>
3392 </property>
3393 <property name="RO" type="boolean">
3394 <description><![CDATA[RollOver configuration enabled / disabled.
3395 If this is true, RO becomes a GIFBUILDER-object defining the layout of the menuitem when the mouse rolls over it]]></description>
3396 <default><![CDATA[0]]></default>
3397 </property>
3398 <property name="[Common Item States, see above]" type="GIFBUILDER">
3399 <description><![CDATA[This is the GIFBUILDER-options for each category of menuitem that can be generated.
3400
3401 NOTE: For the GMENU series you can also define the RollOver configuration for the item states. This means that you define the GIFBUILDER object for the 'Active' state by ACT and the RollOver GIFBUILDER object for the 'Active' state by ACTRO.
3402 This pattern goes for ALL the states except the SPC state.
3403
3404 SPECIAL:
3405 The ->OptionSplit function is run on the whole GIFBUILDER-configuration before the items are generated.]]></description>
3406 <default><![CDATA[
3407 ]]></default>
3408 </property>
3409 <property name="accessKey" type="boolean">
3410 <description><![CDATA[If set access-keys are set on the menu-links]]></description>
3411 <default><![CDATA[
3412 ]]></default>
3413 </property>
3414 <property name="applyTotalH" type="string">
3415 <description><![CDATA[objNumsList (offset)
3416
3417 This adds the total height of the previously generated menuitems to the offset of the GifBuilderObj's mentioned in this list.
3418
3419 Example:
3420 This is useful it you want to create a menu with individual items but a common background image that extends to the whole area behind the menu. Then you should setup the background image in each GIFBUILDER-object and include the object-number in this list.
3421 Look at the implementation in static_template "styles.gmenu.bug"]]></description>
3422 <default><![CDATA[
3423 ]]></default>
3424 </property>
3425 <property name="applyTotalW" type="string">
3426 <description><![CDATA[objNumsList (offset)
3427 This adds the total width of the previously generated menuitems to the offset of the GifBuilderObj's mentioned in this list.]]></description>
3428 <default><![CDATA[
3429 ]]></default>