Index: t3editor/tsref/tsref.xml =================================================================== --- t3editor/tsref/tsref.xml (revision 7203) +++ t3editor/tsref/tsref.xml (working copy) @@ -406,6 +406,21 @@ + + + + .... to the tag !! Use this feature in templates supplying other content-types than HTML. That could be an image or a WAP-page!]]> @@ -473,6 +488,11 @@ + + + + @@ -689,6 +709,13 @@ 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.]]> + + + + tag, set this to 1. If the value is 2 then the tag is not printed at all. 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> @@ -737,6 +764,17 @@ is set in localconf.php.]]></description> <default><![CDATA[typo3/sysext/cms/tslib/pagegen.php]]></default> </property> + <property name="pageRendererTemplateFile" type="string"> + <description><![CDATA[ + Sets the template for page renderer class (t3lib_PageRenderer). + +Example: + +pageRendererTemplateFile = fileadmin/test_pagerender.html + ]]></description> + <default><![CDATA[ +]]></default> + </property> <property name="pageTitleFirst" type="boolean"> <description><![CDATA[If set (and the page title is printed) then the page-title will be printed BEFORE the template title.]]></description> <default><![CDATA[ @@ -1235,10 +1273,11 @@ <default><![CDATA[ ]]></default> </property> - <property name="table" type="string"> - <description><![CDATA[The table, the content should come from. + <property name="table" type="stdWrap"> + <description><![CDATA[TableName/stdWrap + The table, the content should come from. In standard-configurations this will be "tt_content" -NOTE: Only tables allowed are "pages" or tables prefixed with one of these: "tt_", "tx_", "ttx_", "fe_", "user_"]]></description> +NOTE: Only tables allowed are "pages" or tables prefixed with one of these: "tt_", "tx_", "ttx_", "fe_", "user_" or "static_"]]></description> <default><![CDATA[ ]]></default> </property> @@ -1448,10 +1487,16 @@ <property name="altText" type="stdWrap"> <description><![CDATA[For <img> output only! -If no titltext is specified, it will use the alttext insteadIf no alttext is specified, it will use an empty alttext]]></description> +If no alttext is specified, it will use an empty alttext]]></description> <default><![CDATA[ ]]></default> </property> + <property name="emptyTitleHandling" type="string"> + <description><![CDATA[Value can be "keepEmpty" to preserve an empty title attribute, or "useAlt" to use the alt attribute instead. +]]></description> + <default><![CDATA[useAlt +]]></default> + </property> <property name="file" type="string"> <description><![CDATA[resource 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. @@ -1910,27 +1955,27 @@ </type> <type id="GifBuilderObj"> <property name="if" type="if"> - <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> + <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> </property> </type> <type id="GIFBUILDER"> <property name="1" type="GifBuilderObj"> - <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> + <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> <default><![CDATA[ ]]></default> </property> <property name="2" type="GifBuilderObj"> - <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> + <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> <default><![CDATA[ ]]></default> </property> <property name="3" type="GifBuilderObj"> - <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> + <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> <default><![CDATA[ ]]></default> </property> <property name="4" type="GifBuilderObj"> - <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> + <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> <default><![CDATA[ ]]></default> </property> @@ -2047,6 +2092,13 @@ <default><![CDATA[ ]]></default> </property> + <property name="opacity" type="int"> + <description><![CDATA[pos-int (1-100) + Dimensions of a filled box. +Opacity (i.e. inverse of transparency, e.g. 100% opacity = 0% transparency)]]></description> + <default><![CDATA[100 +]]></default> + </property> </type> <type id="CROP" extends="GifBuilderObj"> <property name="align" type="string"> @@ -2277,6 +2329,17 @@ Note: This option is not available if .niceText is enabled]]></description> <default><![CDATA[1]]></default> </property> + <property name="breakWidth" type="int"> + <description><![CDATA[Defines the maximum width for an object, overlapping elements will force an automatic line break. + ]]></description> + <default><![CDATA[ + ]]></default> + </property> + <property name="breakSpace" type="float"> + <description><![CDATA[Defines a value that is multiplied by the line height of the current element. + ]]></description> + <default><![CDATA[1.0]]></default> + </property> <property name="doNotStripHTML" type="boolean"> <description><![CDATA[If set, HTML-tags in the string inserted are NOT removed. Any other way HTML-code is removed by default!]]></description> <default><![CDATA[0]]></default> @@ -2535,8 +2598,8 @@ <default><![CDATA[ ]]></default> </property> - <property name="alwaysActivePIDlist" type="intList"> - <description><![CDATA[List of Integers + <property name="alwaysActivePIDlist" type="stdWrap"> + <description><![CDATA[List of Integers /stdWrap 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> <default><![CDATA[ ]]></default> @@ -2709,6 +2772,11 @@ <default><![CDATA[ ]]></default> </property> + <property name="reverseOrder" type="boolean"> + <description><![CDATA[If set to true, the order of the rootline menu elements will be reversed. + ]]></description> + <default><![CDATA[false]]></default> + </property> <property name="targets" type="string"> <description><![CDATA[.targets.[0-x] targets @@ -3391,6 +3459,11 @@ <default><![CDATA[ ]]></default> </property> + <property name="wrapItemAndSub" type="stdWrap">Wrap/stdWrap + <description><![CDATA[Wraps the whole item and any submenu concatenated to it.]]></description> + <default><![CDATA[ +]]></default> + </property> </type> <type id="GMENU_itemState" extends="GIFBUILDER"> <property name="ATagParams" type="string"> @@ -4417,7 +4490,7 @@ <default><![CDATA[ ]]></default> </property> - <property name="expAll" type="boolean"> + <property name="expAll" type="stdWrap">boolean/stdWrap <description><![CDATA[If this is true, the menu will always show the menu on the level underneath the menuitem. This corresponds to a situation where a user has clicked a menuitem and the menu folds out the next level. This can enable that to happen on all items as default.]]></description> <default><![CDATA[ ]]></default> @@ -4915,7 +4988,7 @@ </type> <type id="IMAGE"> <property name="altText" type="stdWrap"> - <description><![CDATA[If no titltext is specified, it will use the alttext insteadIf no alttext is specified, it will use an empty alttext + <description><![CDATA[If no alttext is specified, it will use an empty alttext ("alttext" is the old spelling of this attribute. It will be used only if "altText" does not specify a value or properties)]]></description> <default><![CDATA[ @@ -4925,6 +4998,12 @@ <description><![CDATA[Value of the "border" attribute of the image tag.]]></description> <default><![CDATA[0]]></default> </property> + <property name="emptyTitleHandling" type="string"> + <description><![CDATA[Value can be "keepEmpty" to preserve an empty title attribute, or "useAlt" to use the alt attribute instead. +]]></description> + <default><![CDATA[useAlt +]]></default> + </property> <property name="file" type="imgResource"> <description><![CDATA[ ]]></description> @@ -5058,7 +5137,7 @@ <property name="altText" type="stdWrap"> <description><![CDATA[Default altText/titleText if no alternatives are provided by the ->IMAGE cObjects -If no titltext is specified, it will use the alttext insteadIf no alttext is specified, it will use an empty alttext]]></description> +If no alttext is specified, it will use an empty alttext]]></description> <default><![CDATA[ ]]></default> </property> @@ -5117,6 +5196,12 @@ <default><![CDATA[ ]]></default> </property> + <property name="emptyTitleHandling" type="string"> + <description><![CDATA[Value can be "keepEmpty" to preserve an empty title attribute, or "useAlt" to use the alt attribute instead. +]]></description> + <default><![CDATA[useAlt +]]></default> + </property> <property name="equalH" type="stdWrap"> <description><![CDATA[If this value is greater than zero, it will secure that images in a row has the same height. The width will be calculated. If the total width of the images raise above the "maxW"-value of the table the height for each image will be scaled down equally so that the images still have the same height but is within the limits of the totalWidth. @@ -5956,11 +6041,53 @@ <default><![CDATA[ ]]></default> </property> + <property name="cssInline" type="CARRAY"> + <description><![CDATA[Use cObjects for creating inline CSS + +Example: + +cssInline { + 10 = TEXT + 10.value = h1 {margin:15px;} + + 20 = TEXT + 20.value = h1 span {color: blue;} +} + ]]></description> + <default><![CDATA[ +]]></default> + </property> <property name="config" type="CONFIG"> <description><![CDATA[configuration for the page. Any entries override the same entries in the toplevel-object "config".]]></description> <default><![CDATA[ ]]></default> </property> + <property name="extOnReady" type="CARRAY"> + <description><![CDATA[ExtJS specific, adds inline javascript, wrapped in Ext.onReady. + +Example: + +page.extOnReady { + + 10 = TEXT + + 10.value = Ext.Msg.alert("Typoscript Message","Hello World!"); + +} + +will produce following source: + +Ext.onReady(function() {Ext.Msg.alert("Typoscript Message","Hello World!"); }); +]]></description> + <default><![CDATA[ +]]></default> + </property> + <property name="footerData" type="CARRAY"> + <description><![CDATA[Same as headerData above, except that this block gets included at the bottom of the page (just before the closing body tag). + ]]></description> + <default><![CDATA[ +]]></default> + </property> <property name="frameSet" type="FRAMESET"> <description><![CDATA[if any properties is set to this property, the page is made into a frameset.]]></description> <default><![CDATA[ @@ -5999,30 +6126,57 @@ The file definition must be a valid "resource" datatype, otherwise nothing is inserted. Each file has optional properties: + .media - setting the media attribute of the <style> tag. + .title - setting the title of the <style> tag. + .alternate - If set (boolean) then the rel-attribute will be "alternate stylesheet" + .import - If set (boolean) then the @import way of including a stylesheet is used instead of <link> +.allWrap - wraps the complete tag, useful for conditional comments. + +.external - If set, there is no file existence check. Useful for inclusion of external files. + Example: + includeCSS { file1 = fileadmin/mystylesheet1.css + file2 = stylesheet_uploaded_to_template*.css file2.title = High contrast file2.media = print -}]]></description> + + ie6Style = fileadmin/css/style3.css + ie6Style.allWrap = <!--[if lte IE 7]>|<![endif]--> + + cooliris = http://www.cooliris.com/shared/resources/css/global.css + cooliris.external = 1 +} +]]></description> <default><![CDATA[ ]]></default> </property> <property name="includeJS" type="array"> <description><![CDATA[Inserts one or more (Java)Scripts in <script> tags. -The file definition must be a valid "resource" datatype, otherwise nothing is inserted. +The file definition must be a valid "resource" datatype, otherwise nothing is inserted. This means that remote files cannot be referenced (i.e. using "http://..."), except by using the ".external" property. Each file has optional properties: -.style - setting the MIME type of the script (default: text/javascript) +.type - setting the MIME type of the script (default: text/javascript) + +.compressed - boolean flag. This will be used by external compressors to see if the file is already compressed. + +.forceOnTop - boolean flag. If set, this file will be added on top of all other files + +.allWrap - wraps the complete tag, useful for conditional comments. + +.external - If set, there is no file existence check. Useful for inclusion of external files. + Example: + includeJS { file1 = fileadmin/helloworld.js file1.type = application/x-javascript @@ -6030,7 +6184,40 @@ }]]></description> <default><![CDATA[ ]]></default> + </property> + <property name="includeJSlibs" type="array"> + <description><![CDATA[Adds JS library files to head of page. + +The file definition must be a valid "resource" datatype, otherwise nothing is inserted. This means that remote files cannot be referenced (i.e. using "http://..."), except by using the ".external" property. + +Each file has optional properties: + +.allWrap - wraps the complete tag, useful for conditional comments. + +.external - If set, there is no file existence check. Useful for inclusion of external files. + +Example: + +includeJSlibs.twitter = http://twitter.com/javascripts/blogger.js + +includeJSlibs.twitter.external = 1 +]]></description> + <default><![CDATA[ +]]></default> </property> + <property name="includeJSFooter" type="array"> + <description><![CDATA[resource + Same as includeJS above, except that this block gets included at the bottom of the page (just before the closing body tag). +]]></description> + <default><![CDATA[ +]]></default> + </property> + <property name="includeJSFooterlibs" type="array"> + <description><![CDATA[ Same as includeJSlibs above, except that this block gets included at the bottom of the page (just before the closing body tag). +]]></description> + <default><![CDATA[ +]]></default> + </property> <property name="includeLibs" type="array"> <description><![CDATA[With this you may include php-files. This does the same as "includeLibrary" in ->CONFIG but this can include more than one file. These files are included after the file of includeLibrary. @@ -6046,6 +6233,42 @@ <default><![CDATA[ ]]></default> </property> + <property name="inlineLanguageLabel" type="array"> + <description><![CDATA[array of strings + ExtJS specific, adds language labels to the page. + +Example: + +inlineLanguageLabel { + label1 = 123 + label2 = 456 +} + +will produce following source: + +TYPO3.lang = {"label1":"123","label2":"456"}; +]]></description> + <default><![CDATA[ +]]></default> + </property> + <property name="inlineSettings" type="array"> + <description><![CDATA[array of strings +ExtJS specific, adds settings to the page. + +Example: + +page.inlineSettings { + setting1 = Hello + setting2 = GoOnTop +} + +will produce following source: + +TYPO3.settings = {"TS":{"setting1":"Hello","setting2":"GoOnTop"}}; +]]></description> + <default><![CDATA[ +]]></default> + </property> <property name="insertClassesFromRTE" type="boolean"> <description><![CDATA[If set, the classes for the Rich Text Editor configured in Page TSconfig is inserted in as the first thing in the Style-section right after the setting of the stylesheet. @@ -6055,6 +6278,73 @@ <default><![CDATA[ ]]></default> </property> + <property name="javascriptLibs" type="array"> + <description><![CDATA[array of Strings + This allows to include the JavaScript libraries that are shipped with the TYPO3 Core. + +javascriptLibs { + + # include prototype + Prototype = 1 + + # include Scriptaculous + Scriptaculous = 1 + + # adds modules dragdrop and controls to Scriptaculous + Scriptaculous.modules = dragdrop,controls + + # include ExtCore + ExtCore = 1 + + # include ExtCore debug file (uncompressed) + ExtCore.debug = 1 + + # includes ExtJS + ExtJs = 1 + + # include ext-all.css + ExtJs.css = 1 + + # include default theme + ExtJs.theme = 1 + + # load specific adapter (jquery|prototype|yui) + ExtJs.adapter = ... + + # initialize QuickTips + ExtJs.quickTips = 1 + + # includes ExtJS debug file (uncompressed) + ExtJs.debug = 1 +} +]]></description> + <default><![CDATA[ +]]></default> + </property> + <property name="jsInline" type="CARRAY"> + <description><![CDATA[Use cObjects for creating inline JavaScript + +Example: + +page.jsInline { +10 = TEXT +10.dataWrap = var pageId = {TSFE:id}; +} + +Note: + +with config.removeDefaultJS = external, the inlineJS is moved to external file. +with config.minifyJS = 1, the jsInline will be minified as well. +]]></description> + <default><![CDATA[ +]]></default> + </property> + <property name="jsFooterInline" type="CARRAY"> + <description><![CDATA[Same jsInline above, except that the JavaScript gets inserted at the bottom of the page (just before the closing body tag). +]]></description> + <default><![CDATA[ +]]></default> + </property> <property name="meta" type="META"> <description><![CDATA[ ]]></description> @@ -6284,10 +6574,16 @@ <property name="altText" type="stdWrap"> <description><![CDATA[For icons (image made with "iconCObject" must have their own properties) -If no titltext is specified, it will use the alttext insteadIf no alttext is specified, it will use an empty alttext]]></description> +If no alttext is specified, it will use an empty alttext]]></description> <default><![CDATA[ ]]></default> </property> + <property name="emptyTitleHandling" type="string"> + <description><![CDATA[Value can be "keepEmpty" to preserve an empty title attribute, or "useAlt" to use the alt attribute instead. +]]></description> + <default><![CDATA[useAlt +]]></default> + </property> <property name="file" type="stdWrap"> <description><![CDATA[stdWrap of the label (by default the label is the filename) after having been wrapped with A-tag!]]></description> <default><![CDATA[ @@ -6478,6 +6774,11 @@ <description><![CDATA[The image is linked ONLY if this is true!!]]></description> <default><![CDATA[0]]></default> </property> + <property name="file" type="stdWrap"> + <description><![CDATA[Override the path of the image which is displayed]]></description> + <default><![CDATA[ + ]]></default> + </property> <property name="height" type="int"> <description><![CDATA[Range: 1-1000 If you add "m" to either the width or height, the image will be held in proportions and width/height works as max-dimensions]]></description> @@ -6489,6 +6790,12 @@ <default><![CDATA[ ]]></default> </property> + <property name="stdWrap" type="stdWrap"> + <description><![CDATA[->stdWrap + Enable stdWrap for the image.]]></description> + <default><![CDATA[ +]]></default> + </property> <property name="target" type="string"> <description><![CDATA[NOTE: Only if ".JSwindow" is set]]></description> <default><![CDATA[ @@ -6586,6 +6893,20 @@ <default><![CDATA[ ]]></default> </property> + <property name="stripProfile" type="boolean"> + <description><![CDATA[If set, IM-command will use a stripProfile-command which shrinks the generated thumbnails. See Install Tool for options and details. + +If im_useStripProfileByDefault is set in the install tool, you can deactivate it by setting stripProfile=0. + +Example: + +10 = IMAGE +10.file = fileadmin/images/image1.jpg +10.file.stripProfile = 1 + ]]></description> + <default><![CDATA[ +]]></default> + </property> <property name="width" type="stdWrap"> <description><![CDATA[If both the width and the heigth are set and one of the numbers is appended by an "m", the proportions will be preserved and thus width/height are treated as maximum dimensions for the image. The image will be scaled to fit into width/height rectangle. @@ -7102,6 +7423,13 @@ <default><![CDATA[ ]]></default> </property> + <property name="cropHTML" type="string"> + <description><![CDATA[Crops the content to a certain length. In contrast to stdWrap.crop it respects HTML tags. It does not crop inside tags and closes open tags. Entities (like ">") are counted as one char. See stdWrap.crop below for a syntax description and examples. + +Note that stdWrap.crop should not be used if stdWrap.cropHTML is already used.]]></description> + <default><![CDATA[ +]]></default> + </property> <property name="csConv" type="string"> <description><![CDATA[Convert the charset of the string from the charset given as value to the current rendering charset of the frontend (renderCharset).]]></description> <default><![CDATA[ @@ -7209,7 +7537,7 @@ <default><![CDATA[ ]]></default> </property> - <property name="filelink" type="string"> + <property name="filelink" type="filelink"> <description><![CDATA[Used to make lists of links to files.]]></description> <default><![CDATA[ ]]></default> @@ -7477,8 +7805,9 @@ <default><![CDATA[ ]]></default> </property> - <property name="space" type="string"> - <description><![CDATA[[spaceBefore] | [spaceAfter] + <property name="space" type="stdWrap"> + <description><![CDATA[[space /stdWrap + spaceBefore] | [spaceAfter] Additional property: .useDiv = 1 @@ -7769,6 +8098,11 @@ <description><![CDATA[target used for external links]]></description> <default><![CDATA[_top]]></default> </property> + <property name="fileTarget" type="string"> + <description><![CDATA[Default file link target. Used by typolink if no fileTarget is set. ]]></description> + <default><![CDATA[ + ]]></default> + </property> <property name="no_cache" type="stdWrap"> <description><![CDATA[Adds a "&no_cache=1"-parameter to the link]]></description> <default><![CDATA[