Read without ads and support Scribd by becoming a Scribd Premium Reader.
 
TSref 
Extension Key:
doc_core_tsref 
Copyright 2000-2005, Kasper Skårhøj, <kasperYYYY@typo3.com>This document is published under the Open Content Licenseavailable from http://www.opencontent.org/opl.shtmlThe content of this document is related to TYPO3- a GNU/GPL CMS/Framework available from www.typo3.comRevised for TYPO3 3.8
TSref - 1
 
Table of Contents
TSref.............................................................1
Introduction....................................................................3
Warning......................................................................3General information....................................................3
Data types....................................................4
Introduction....................................................................4Datatype reference.........................................................4
Data types: Object types............................................8
Objects and properties...............................9
Introduction....................................................................9
Reference to objects:.................................................9Calculating values (+calc):.........................................9"... / stdWrap":............................................................9optionSplit:..................................................................9
Conditions..................................................12
Condition reference: ...................................................12
browser.....................................................................12version......................................................................12system......................................................................13device.......................................................................13useragent .................................................................14language...................................................................15IP..............................................................................15hostname..................................................................15hour..........................................................................15minute.......................................................................16dayofweek................................................................16dayofmonth...............................................................16month........................................................................16usergroup.................................................................16loginUser..................................................................17treeLevel...................................................................17PIDinRootline............................................................17PIDupinRootline........................................................17globalVars:................................................................17globalString:..............................................................18userFunc:..................................................................19
Functions:..................................................20
stdWrap:...................................................................20imgResource:...........................................................26imageLinkWrap:.......................................................27numRows:.................................................................28select:.......................................................................28split:..........................................................................29if:...............................................................................30typolink:....................................................................31textStyle....................................................................33encapsLines.............................................................34tableStyle..................................................................36addParams...............................................................36filelink........................................................................37parseFunc:................................................................39makelinks:................................................................41tags:..........................................................................42HTMLparser:.............................................................42HTMLparser_tags:....................................................43
Constants...................................................45
What are constants?....................................................45
Inserting constants...................................................45
Setup:.........................................................47
Toplevel objects:.......................................................47The “plugin” TLO:.....................................................47"CONFIG":................................................................48"CONSTANTS":........................................................58"PAGE":....................................................................58"FE_DATA":..............................................................61"FE_TABLE":............................................................61"FRAMESET":...........................................................62"FRAME":..................................................................62"META":....................................................................62"CARRAY":...............................................................63
Content Objects (cObject)........................64
PHP-information: .....................................................64HTML:.......................................................................65TEXT:........................................................................65COBJ_ARRAY (COA, COA_INT):............................66FILE:.........................................................................67IMAGE:.....................................................................67IMG_RESOURCE:....................................................67CLEARGIF:...............................................................68CONTENT:...............................................................68RECORDS:...............................................................70HMENU:....................................................................71CTABLE:...................................................................77OTABLE: ..................................................................78COLUMNS:...............................................................78HRULER:..................................................................78IMGTEXT:.................................................................79CASE:.......................................................................82LOAD_REGISTER:...................................................83RESTORE_REGISTER:...........................................83FORM:......................................................................83SEARCHRESULT:....................................................88USER and USER_INT:.............................................90PHP_SCRIPT:..........................................................91PHP_SCRIPT_INT:..................................................91PHP_SCRIPT_EXT:.................................................91TEMPLATE:..............................................................92MULTIMEDIA:...........................................................94EDITPANEL:.............................................................94
GIFBUILDER..............................................96
GIFBUILDER:...........................................................96Objectnames in this section:....................................97NON-GifBuilderObj: ...............................................102
MENU Objects..........................................104
Common properties:...............................................104Common item states for TMENU, GMENU andIMGMENU series:...................................................106[menuObj].sectionIndex..........................................106GMENU:.................................................................107GMENU_LAYERS / TMENU_LAYERS:.................108GMENU_FOLDOUT:..............................................111TMENU:..................................................................113TMENUITEM:..........................................................114IMGMENU:.............................................................115IMGMENUITEM:.....................................................116JSMENU:................................................................116JSMENUITEM:.......................................................117
media/scripts/ Plugins...........................118
media/scripts/ in general........................................118About 'example templates'.....................................118fe_adminLib.inc......................................................119tipafriendLib.inc......................................................127plaintextLib.inc........................................................128
Standard Templates................................131
static_template.......................................................131Media......................................................................131
PHP include scripts.................................132
Introduction................................................................132
Including your script...............................................132
Casestory:................................................134
Storing user-data or session-data..........................135Using the built in "shopping basket".......................136
TSref - 2
 
index.php.................................................137
Introduction.............................................................137Submitting data to index.php..................................137Search:...................................................................137Emailforms:.............................................................138Database-submit....................................................138
Tips...........................................................139
Preparing pages for Direct Mail sending................139Preparing pages for indexing.................................139
Introduction
Warning
This document is a
reference
- it does not intend to guide you step by step into TYPO3 or TypoScript. So you should knowwhat you are looking for when coming to this document and then let tutorials do the explanatory work for you.
General information
Case sensitivity:
All names and references in TypoScript are
case sensitive!
This is very important to notice. That means that:
myObject =
HTML
myObject.
 Value
= <BLINK> HTML - code </BLINK>
is not the same as
myObject =
html
myObject.
 value
= <BLINK> HTML - code </BLINK>
The latter case will not be recognized as the content-object "HTML".
In this manual the case of objects is therefore important
TSref - 3
Search History:
Searching...
Result 00 of 00
00 results for result for
  • p.
  • More From This User

    Notes
    Load more