Typo3 - Wichtige TypoScript Einstellungen: Unterschied zwischen den Versionen
Aus Wikizone
| Zeile 1: | Zeile 1: | ||
Einige wichtige Einstellungen: | Einige wichtige Einstellungen: | ||
| + | Es macht Sinn diese Einstellungen in einem kleinen Template einzubinden z.B. extSettings.tmpl | ||
<pre> | <pre> | ||
| + | |||
### SEO ### Achtung .htaccess Datei muss im Webverzeichnis angelegt werden | ### SEO ### Achtung .htaccess Datei muss im Webverzeichnis angelegt werden | ||
config.simulateStaticDocuments = 1 | config.simulateStaticDocuments = 1 | ||
| − | ### HTML ### | + | ### 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 | #Doctype Einstellungen und Änderungen für Valides XHTML sowie CSS | ||
config.doctype = xhtml_trans | config.doctype = xhtml_trans | ||
| Zeile 23: | Zeile 33: | ||
config.inlineStyle2TempFile = true | config.inlineStyle2TempFile = true | ||
| − | + | ############################## | |
### Rendering von Inhalten ### | ### Rendering von Inhalten ### | ||
| + | ############################## | ||
| − | ### | + | ### POPUPS ### |
| − | |||
| − | |||
| − | |||
| − | # | ||
tt_content.image.20{ | tt_content.image.20{ | ||
1.imageLinkWrap = 1 | 1.imageLinkWrap = 1 | ||
| Zeile 43: | Zeile 50: | ||
} | } | ||
| + | ### 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 ### | ### sonstiges ### | ||
| Zeile 51: | Zeile 88: | ||
#[...] | #[...] | ||
| − | + | ||
| − | |||
</pre> | </pre> | ||
Version vom 10. März 2006, 13:17 Uhr
Einige wichtige Einstellungen: 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 ###
##############################
### 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
#[...]