TypoScript Templatedefinition

Aus Info-Theke
Zur Navigation springen Zur Suche springen


Dies ist das Haupttemplate der Emas-Seite, Siehe Typo3.

Konstanten[Bearbeiten]

plugin.tx_srlanguagemenu_pi1.defaultLanguageISOCode = DE
styles.content.loginform.pid = 46

Konfiguration[Bearbeiten]

# Umstellung auf XHTML:

config.doctype = xhtml_trans
# HTML bereinigen
config.xhtml_cleaning = all
config.htmlTag_langKey = de
config.disablePrefixComment = 0

config.metaCharset = utf-8
config.language = de
config.locale_all = de_DE
config.sys_language_uid = 0

[browser = msie]
config.doctypeSwitch = 1
[END]

# Ende Umstellung auf XHTML
config {
  linkVars = L
  sys_language_uid = 0
  language = de
  locale_all = de_DE.utf-8
  htmlTag_langKey = DE
  index_enable = 1
  cache_period = 10
}

# Schutz Anzeige EMail-Adressen:
config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = @<span class="nichtzusehen">Ich-will-keinen-SPAM</span>

# Default PAGE object:
page = PAGE
page.typeNum = 0
page.stylesheet = fileadmin/styles/emas.css
page.meta.DESCRIPTION = EMAS - Wir machen Wasser zugänglich und trinkbar.

page.10 = TEMPLATE
page.10 {
  template = FILE
  template.file = fileadmin/templates/emas_design.html
  workOnSubpart = DOKUMENT
  subparts.INHALT < styles.content.get

  marks {
    MENU_OBEN < lib.menu_oben
    MENU_HAUPT < lib.menu_haupt
    MENU_RECHTS < lib.menu_rechts
    MENU_AKTUELL < lib.menu_aktuell
    LANGUAGE < lib.language

  }

}
## SPRACHWAHL

config (
  sys_language_mode = strict; 0
  config.sys_language_overlay = hideNonTranslated
  sys_language_uid = 0
  linkVars = L
  language = de
  locale_all = de_DE.UTF-8
)

page.config (
  language = de
  locale_all = de_DE.UTF-8
)

#

# English language, sys_language.uid = 3

[globalVar = GP:L = 3]
  config.sys_language_uid = 3
  page.config.language = en
  page.config.locale_all = en_EN.UTF-8
[global]

# Spanish language, sys_language.uid = 3

[globalVar = GP:L = 2]
  config.sys_language_uid = 2
  page.config.language = es
  page.config.locale_all = es_ES.UTF-8
[global]