Typo3 - Wichtige TypoScript Einstellungen: Unterschied zwischen den Versionen
Aus Wikizone
| (2 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
| − | Einige wichtige Einstellungen: | + | Einige wichtige Grundeinstellungen: |
| + | Es macht Sinn diese Einstellungen in einem kleinen Template einzubinden z.B. extSettings.tmpl | ||
| + | |||
| + | |||
| + | <pre> | ||
| + | |||
| + | ### SEO ### Achtung .htaccess Datei muss im Webverzeichnis angelegt werden | ||
| + | config.simulateStaticDocuments = 1 | ||
| + | |||
| + | ### Spamschutz von Email-Adressen ### | ||
| + | config.spamProtectEmailAddresses_atSubst = (at) | ||
| + | config.spamProtectEmailAddresses = 1 | ||
| + | |||
| + | ### allgemeines Rendering ### | ||
| + | page.bodyTag = <body> | ||
| + | page.shortcutIcon = fileadmin/eiszeit/templates/favicon.ico | ||
| + | |||
| + | ### HTML-Standard ### | ||
| + | #Doctype Einstellungen und Änderungen für Valides XHTML sowie CSS | ||
| + | config.doctype = xhtml_trans | ||
| + | config.xhtml_cleaning = all | ||
| + | config.xmlprologue = none | ||
| + | config.doctypeSwitch = 1 | ||
| + | |||
| + | ### Spracheinstellungen ### | ||
| + | #Länderspezifische Einstellungen (siehe auch mnultilanguage) | ||
| + | config.language = de | ||
| + | config.htmlTag_langKey = de_DE | ||
| + | config.locale_all = de_DE | ||
| + | |||
| + | ### CSS ### | ||
| + | # Inline Styles auslagern | ||
| + | config.inlineStyle2TempFile = true | ||
| + | |||
| + | ############################## | ||
| + | ### Rendering von Inhalten ### | ||
| + | ############################## | ||
| + | |||
| + | ### Bilder ### | ||
| + | config.disableImgBorderAttr = 1 | ||
| + | |||
| + | ### POPUPS ### | ||
| + | tt_content.image.20{ | ||
| + | 1.imageLinkWrap = 1 | ||
| + | 1.imageLinkWrap { | ||
| + | enable = 1 | ||
| + | bodyTag = <BODY bgColor=white leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> | ||
| + | wrap = <A href="javascript:close();"> | </A> | ||
| + | JSwindow = 1 | ||
| + | JSwindow.newWindow = 1 | ||
| + | JSwindow.expand = 0,0 | ||
| + | } | ||
| + | } | ||
| + | |||
| + | ### Formulare ### | ||
| + | styles.content.mailform { | ||
| + | fieldWrap = <div class="mailform"> | </div> | ||
| + | labelWrap = <div class="mailformlabel"> | </div> | ||
| + | commentWrap = <div class="mailformcomment"> | </div> | ||
| + | radioWrap = <div class="mailformradio"> | </div> | ||
| + | REQ.labelWrap = <div class="mailformrequired"> | </div> | ||
| + | target = _self | ||
| + | badMess = Bitte füllen Sie noch folgendes Feld aus: | ||
| + | } | ||
| + | |||
| + | ### Suchformular ### | ||
| + | styles.content.mailform.target = _self | ||
| + | styles.content.searchform.target = _self | ||
| + | styles.content.searchresult.target = _self | ||
| + | |||
| + | ### Filelinks ### | ||
| + | tt_content.uploads.20.10.split.1.filelink{ | ||
| + | stdWrap.wrap = | | ||
| + | file.wrap = <span class="filelink"> | </span> | ||
| + | size.wrap = | | ||
| + | size.innerWrap = | | ||
| + | size.wrap = <span class="filesize"> | </span> | ||
| + | size.bytes.labels = Byte| KB| MB| GB | ||
| + | descriptionWrap = <span class="small"> | </span> | ||
| + | } | ||
| + | tt_content.uploads.20.20.wrap = <span class="small">|</span> | ||
| + | |||
| + | ### Externe Links ### | ||
| + | config.extTarget= _blank | ||
| + | |||
| + | ### sonstiges ### | ||
| + | message_page_is_being_generated= Einen Moment bitte. Die Seite wird erstellt | ||
| − | + | ||
| − | + | ||
| − | + | #[...] | |
| − | |||
| − | + | ||
| − | + | </pre> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Aktuelle Version vom 23. März 2006, 13:19 Uhr
Einige wichtige Grundeinstellungen: Es macht Sinn diese Einstellungen in einem kleinen Template einzubinden z.B. extSettings.tmpl
### SEO ### Achtung .htaccess Datei muss im Webverzeichnis angelegt werden
config.simulateStaticDocuments = 1
### Spamschutz von Email-Adressen ###
config.spamProtectEmailAddresses_atSubst = (at)
config.spamProtectEmailAddresses = 1
### allgemeines Rendering ###
page.bodyTag = <body>
page.shortcutIcon = fileadmin/eiszeit/templates/favicon.ico
### HTML-Standard ###
#Doctype Einstellungen und Änderungen für Valides XHTML sowie CSS
config.doctype = xhtml_trans
config.xhtml_cleaning = all
config.xmlprologue = none
config.doctypeSwitch = 1
### Spracheinstellungen ###
#Länderspezifische Einstellungen (siehe auch mnultilanguage)
config.language = de
config.htmlTag_langKey = de_DE
config.locale_all = de_DE
### CSS ###
# Inline Styles auslagern
config.inlineStyle2TempFile = true
##############################
### Rendering von Inhalten ###
##############################
### Bilder ###
config.disableImgBorderAttr = 1
### POPUPS ###
tt_content.image.20{
1.imageLinkWrap = 1
1.imageLinkWrap {
enable = 1
bodyTag = <BODY bgColor=white leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
wrap = <A href="javascript:close();"> | </A>
JSwindow = 1
JSwindow.newWindow = 1
JSwindow.expand = 0,0
}
}
### Formulare ###
styles.content.mailform {
fieldWrap = <div class="mailform"> | </div>
labelWrap = <div class="mailformlabel"> | </div>
commentWrap = <div class="mailformcomment"> | </div>
radioWrap = <div class="mailformradio"> | </div>
REQ.labelWrap = <div class="mailformrequired"> | </div>
target = _self
badMess = Bitte füllen Sie noch folgendes Feld aus:
}
### Suchformular ###
styles.content.mailform.target = _self
styles.content.searchform.target = _self
styles.content.searchresult.target = _self
### Filelinks ###
tt_content.uploads.20.10.split.1.filelink{
stdWrap.wrap = |
file.wrap = <span class="filelink"> | </span>
size.wrap = |
size.innerWrap = |
size.wrap = <span class="filesize"> | </span>
size.bytes.labels = Byte| KB| MB| GB
descriptionWrap = <span class="small"> | </span>
}
tt_content.uploads.20.20.wrap = <span class="small">|</span>
### Externe Links ###
config.extTarget= _blank
### sonstiges ###
message_page_is_being_generated= Einen Moment bitte. Die Seite wird erstellt
#[...]