DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Typical Typo3 4.0 Initial Typoscript Setup
// description of your code here
typical initial typoscript setup for new Typo3 4.0 pages using TemplaVoilá
# ===================================================== # LANGUAGES # ----------------------------------------------------- # Standardsprache Deutsch config.linkVars = L config.sys_language_uid = 0 config.sys_language_mode = content_fallback ; 1,0 config.language = de config.locale_all = de_DE # Englisch [globalVar = GP:L = 1] config.sys_language_uid = 1 config.language = en config.locale_all = en_EN [global] # ===================================================== # CONFIG # ----------------------------------------------------- config.doctype = xhtml_strict config.htmlTag_langKey = de config.xhtml_cleaning = cached config.simulateStatisDocuments = 0 config.tx_realurl_enable = 1 config.baseURL= http:// config.spamProtectEmailAddresses = 1 config.no_cache = 1 config.debug = 1 config.uniqueLinkVars = 1 [browser = msie] config.doctypeSwitch = 1 [end] #config.removeDefaultJS = external #config.removeDefaultJS = 1 #config.inlineStyle2TempFile = 1 #config.prefixLocalAnchors = all config.ATagParams = "" #onFocus="blurLink(this)"; config.noScaleUp = 1 # Default Language -> German #config.sys_language_uid = 0 #config.language = de #config.locale_all = de_DE.UTF-8 lib.stdheader.5.date = d.m.Y # ===================================================== # PAGE # ----------------------------------------------------- ### Default PAGE object: ### page = PAGE page.typeNum = 0 page.shortcutIcon = fileadmin/templates/favicon.ico page.includeLibs.image = fileadmin/templates/s/image.php page.includeLibs.mMenu = fileadmin/templates/s/mmenu.php # header page.headerData.10 = HTML page.headerData.10.value = <link rel="stylesheet" href="fileadmin/templates/c/screen.css" type="text/css" media="screen" /> page.headerData.15 = HTML page.headerData.15.value.char = 10 page.headerData.20 = HTML page.headerData.20.value = <!--[if IE 6]> page.headerData.25 = HTML page.headerData.25.value.char = 10 page.headerData.30 = HTML page.headerData.30.value = <link rel="stylesheet" href="fileadmin/templates/c/ie6.css" type="text/css"> page.headerData.35 = HTML page.headerData.35.value.char = 10 page.headerData.40 = HTML page.headerData.40.value = <![endif]--> # template + content page.10 = USER page.10.userFunc = tx_templavoila_pi1->main_page





