Login / Status
Go to:
typo3.com Home
TYPO3 Association Home
typo3.org Home
Certification
FLOW3
Bugtracker
Forge (Development Platform)
News
Buzz (TYPO3 Blogs)
Wiki
Mailing lists
TYPO3 Snippets
Search:
About
News
Community
Teams
Development
Extensions
Documentation
Download
Donate
Contact
Home
.
Documentation
. Document Library
Documentation
Document Library
Tutorials
Installation
Core Documentation
Extension Manuals
Wiki
API
Videos
Other resources
Mailing Lists
Sponsors
TSref
Copyright © by
Kasper Skaarhoj
<
kasperYYYY@
no spam please
typo3.com
>
Published under the Open Content License available from
http://www.opencontent.org/opl.shtml
Table Of Contents
1.
TSref
1.1.
Introduction
Warning
General information
2.
Data types
2.1.
Introduction
2.2.
Datatype reference
Data types: Object types
3.
Objects and properties
3.1.
Introduction
Reference to objects:
Calculating values (+calc):
"... /stdWrap":
optionSplit:
4.
Conditions
4.1.
Condition reference:
General notes:
browser
version
system
device
useragent
language
IP
hostname
hour
minute
dayofweek
dayofmonth
month
usergroup
loginUser
treeLevel
PIDinRootline
PIDupinRootline
compatVersion
globalVars:
globalString:
userFunc:
5.
Functions:
5.1.
stdWrap:
5.2.
imgResource:
Example:
5.3.
imageLinkWrap:
Example:
5.4.
numRows:
5.5.
select:
5.6.
split:
Example:
5.7.
if:
Explanation:
5.8.
typolink:
Using link handlers
5.9.
textStyle
5.10.
encapsLines
Example:
Example:
5.11.
tableStyle
Example:
5.12.
addParams
Example:
5.13.
filelink
Example:
5.14.
parseFunc:
Example:
5.15.
makelinks:
5.16.
tags:
Example:
5.17.
HTMLparser:
5.18.
HTMLparser_tags:
6.
Constants
6.1.
What are constants?
Example:
Inserting constants
7.
Setup:
7.1.
Toplevel objects:
7.2.
The “plugin” TLO:
7.3.
"CONFIG":
7.4.
"CONSTANTS":
7.5.
"PAGE":
7.6.
"FE_DATA":
7.7.
"FE_TABLE":
7.8.
"FRAMESET":
7.9.
"FRAME":
Example of a simple frameset with a topframe and content-frame:
7.10.
"META":
7.11.
"CARRAY":
8.
Content Objects (cObject)
8.1.
PHP-information:
IMPORTANT NOTE :
NOTE:
8.2.
HTML:
Example:
Example:
8.3.
TEXT:
Example:
Example:
8.4.
COBJ_ARRAY (COA, COA_INT):
Example:
8.5.
FILE:
Example:
8.6.
IMAGE:
Example:
8.7.
IMG_RESOURCE:
8.8.
CLEARGIF:
Example:
8.9.
CONTENT:
Example (of the CONTENT-obj):
Example (of record-renderObj's):
8.10.
RECORDS:
Example:
8.11.
HMENU:
Example:
The .special property
8.12.
CTABLE:
Example:
8.13.
OTABLE:
Example:
8.14.
COLUMNS:
8.15.
HRULER:
8.16.
IMGTEXT:
Example:
8.17.
CASE:
Example:
8.18.
LOAD_REGISTER:
Example:
8.19.
RESTORE_REGISTER:
8.20.
FORM:
Preselected item with type "select" and "radio":
Property override:
Correct return-email:
Special evaluation
8.21.
SEARCHRESULT:
Example:
Search syntax
Queries to the examples:
8.22.
USER and USER_INT:
8.23.
PHP_SCRIPT:
8.24.
PHP_SCRIPT_INT:
8.25.
PHP_SCRIPT_EXT:
8.26.
TEMPLATE:
Example:
8.27.
MULTIMEDIA:
QuickTime (mov) example:
8.28.
EDITPANEL:
9.
GIFBUILDER
9.1.
GIFBUILDER:
NOTE (+calc):
The “_GIFBUILDER” Top Level Object
9.2.
Objectnames in this section:
TEXT:
SHADOW:
EMBOSS:
OUTLINE:
BOX:
IMAGE:
EFFECT:
WORKAREA:
CROP:
SCALE:
ADJUST:
9.3.
NON-GifBuilderObj:
IMGMAP:
10.
MENU Objects
10.1.
Common properties:
10.2.
Common item states for TMENU, GMENU and IMGMENU series:
10.3.
[menuObj].sectionIndex
10.4.
GMENU:
Additional properties for Menu item states:
10.5.
GMENU_LAYERS / TMENU_LAYERS:
Example:
10.6.
GMENU_FOLDOUT:
Example:
10.7.
TMENU:
10.8.
TMENUITEM:
10.9.
IMGMENU:
10.10.
IMGMENUITEM:
10.11.
JSMENU:
10.12.
JSMENUITEM:
Example:
11.
media/scripts/ Plugins
11.1.
media/scripts/ in general
11.2.
About 'example templates'
11.3.
fe_adminLib.inc
Files:
Description
Static template
Incoming GET or POST vars:
fe_adminLib.inc properties
Main subparts
'infomail' Email subparts
'infomail' Email markers
FORM conventions
Common markers
Evaluation of the form fields
Passing default values to a form
List of eval-codes
Uploading files
11.4.
tipafriendLib.inc
Files:
Description
Example:
Static template
tipafriendLib.inc properties
11.5.
plaintextLib.inc
Files:
Description
Example:
Static template
plaintextLib.inc properties
12.
Standard Templates
12.1.
static_template
12.2.
Media
13.
PHP include scripts
13.1.
Introduction
Including your script
14.
Casestory:
14.1.
Storing user-data or session-data
$GLOBALS["TSFE"]->fe_user->getKey(type, key)
$GLOBALS["TSFE"]->fe_user->setKey(type, key, data)
14.2.
Using the built in "shopping basket"
Example:
Example:
Clearing the "basket":
15.
index.php
15.1.
Introduction
15.2.
Submitting data to index.php
Login/Logout:
15.3.
Search:
15.4.
Emailforms:
15.5.
Database-submit
This document is related to version 4.1.0 of the extension doc_core_tsref.