Typo3-Template
Aus LagoWiki
(Unterschied zwischen Versionen)
(→Setup) |
|||
(Der Versionsvergleich bezieht 2 dazwischen liegende Versionen mit ein.) | |||
Zeile 27: | Zeile 27: | ||
config.sys_language_uid = 0 | config.sys_language_uid = 0 | ||
config.language = de<br> | config.language = de<br> | ||
+ | ### Meta-Tags und Keywords aktivieren | ||
+ | page.meta.keywords.field = keywords | ||
+ | page.meta.description.field = description<br> | ||
### Stylesheet und favicon | ### Stylesheet und favicon | ||
page.stylesheet = fileadmin/templates/{$PROJEKTNAME}/styles.css | page.stylesheet = fileadmin/templates/{$PROJEKTNAME}/styles.css | ||
Zeile 89: | Zeile 92: | ||
###navigation (Text-Menü) | ###navigation (Text-Menü) | ||
lib.menue_1_t = HMENU | lib.menue_1_t = HMENU | ||
- | lib.menue_1_t | + | lib.menue_1_t.entryLevel = {$NAVI_entrylevel} |
- | + | lib.menue_1_t.1 = TMENU | |
- | + | lib.menue_1_t.1.wrap = <ul class=&l1&>|</ul> | |
- | + | lib.menue_1_t.1.NO = 1 | |
- | + | lib.menue_1_t.1.NO.linkWrap = <li class=&l1&>|</li> | |
- | + | lib.menue_1_t.1.NO.ATagParams = class=&l1& | |
- | + | lib.menue_1_t.1.CUR = 1 | |
- | + | lib.menue_1_t.1.CUR.linkWrap = <li id=&actmenu& class=&l1&>|</li> | |
- | + | lib.menue_1_t.1.CUR.ATagParams = id=&actmenu& class=&l1&<br> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
##Logo auf allen Seiten | ##Logo auf allen Seiten | ||
lib.logo = COA | lib.logo = COA | ||
Zeile 162: | Zeile 159: | ||
* Google-Analytics-File: fileadmin/templates/{$PROJEKTNAME}/google.htm | * Google-Analytics-File: fileadmin/templates/{$PROJEKTNAME}/google.htm | ||
- | [[Kategorie:Typo3| ]][[Kategorie: | + | [[Kategorie:Typo3| ]][[Kategorie:TypoScript| ]] |
Aktuelle Version
Inhaltsverzeichnis |
Grundkonfiguration
Constants
PROJEKTNAME = projektname SCHRIFTFILE = schriftfile.ttf FOOTER_PID = footer-Page-ID
NAVI_entrylevel = 0 NAVI_entrylevel_2 = 1
styles.content.imgtext.maxWInText = 1024 styles.content.imgtext.maxW = 1024
styles.content.imgtext.captionSplit = 1
PAGE_TARGET = _self
content.RTE_compliant = 1
Setup
### Adminpannel einblenden config.admPanel = 1
###Dokumententyp configuration für css config.doctype = <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
###Simulation für Statische Dokumente (name.html) config.simulateStaticDocuments = 1 config.simulateStaticDocuments_noTypeIfNoTitle = 1
###Emailadressen für Spamroboter verschlüsseln config.spamProtectEmailAddresses = -4 config.spamProtectEmailAddresses_atSubst = (at)
##Sprachauswahl config.linkVars = L config.sys_language_uid = 0 config.language = de
### Meta-Tags und Keywords aktivieren page.meta.keywords.field = keywords page.meta.description.field = description
### Stylesheet und favicon page.stylesheet = fileadmin/templates/{$PROJEKTNAME}/styles.css page.shortcutIcon = fileadmin/templates/{$PROJEKTNAME}/favicon.ico
###templavoila setup page = PAGE page.typeNum = 0 page.10 = USER page.10.userFunc = tx_templavoila_pi1->main_page ### Google-Analytics-Setup page.20 = FILE page.20.file = fileadmin/templates/{$PROJEKTNAME}/google.htm
### Breadcrumb Naivigation lib.breadcrumb = COA lib.breadcrumb { 10 = HMENU 10 { special = rootline special.range = 2 | -1 wrap = <div id="breadcrumb">|</div> 1 = TMENU 1.noBlur = 1 1.NO.linkWrap = :: | 1.CUR = 1 1.CUR { linkWrap = :: | doNotLinkIt = 1 } } }
###navigation (graphisches Menü) lib.menue_1 = HMENU lib.menue_1 { entryLevel = {$NAVI_entrylevel} 1 = GMENU 1{ NO{ XY = 105,14 10 = TEXT 10.text.field= title 10.offset = 0,11 10.fontColor = #000000 10.fontFile = fileadmin/templates/{$PROJEKTNAME}/{$SCHRIFTFILE} 10.niceText = 1 10.fontSize = 11 backColor = #FFFFFF wrap = |
} RO < .NO RO = 1 RO.10.fontColor = #5A5A5A RO.10.offset = 1,12 CUR < .NO CUR = 1 CUR.10.fontColor = #409538 } } ###zweite Menüebene lib.menue_2 < .lib.menue_1 lib.menue_2.entryLevel = {$NAVI_entrylevel_2}
###navigation (Text-Menü) lib.menue_1_t = HMENU lib.menue_1_t.entryLevel = {$NAVI_entrylevel} lib.menue_1_t.1 = TMENU lib.menue_1_t.1.wrap = <ul class=&l1&>|</ul> lib.menue_1_t.1.NO = 1 lib.menue_1_t.1.NO.linkWrap = <li class=&l1&>|</li> lib.menue_1_t.1.NO.ATagParams = class=&l1& lib.menue_1_t.1.CUR = 1 lib.menue_1_t.1.CUR.linkWrap = <li id=&actmenu& class=&l1&>|</li> lib.menue_1_t.1.CUR.ATagParams = id=&actmenu& class=&l1&
##Logo auf allen Seiten lib.logo = COA lib.logo { 10 = IMAGE 10.file.import { cObject = TEXT cObject.value = cObject.override { required = 1 data = levelmedia: -1, "slide" wrap = uploads/media/ | listNum = 0 } } }
### Footer lib.footer = HMENU lib.footer { special = directory special.value = {$FOOTER_PID} 1 = TMENU 1.NO = 1 1.NO.linkWrap = | | |*| | | |*| wrap = <br \> | <br \>© {$PROJEKTNAME} 2008<br \> <br \> }
### Datum lib.datum = TEXT lib.datum.data = date:U lib.datum.strftime = %e. %B %Y
### RTE-Konfiguration ### p-Tags in der Tabelle beim RTE entfernen lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.removeTags = p
### p calss="bodytext" entfernen lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class >
Für Templavoila
- Graphisches Menü aufgeteilt in zwei getrennte Blöcke
- lib.menue_1 = Erste Menüebene
- lib.menue_2 = Zweite Menüebene
- Textmenü mit divs
- lib.menue_1_t
- ul
- NO: li: class="l1"
- CUR: li: id="actmenue"
- lib.menue_1_t
- Graphisches Menü in einem Block
- lib.menue_all (ToDo)
- lib.logo = Hier wird das Logo der Seiteneigenschaften rekursiv eingebunden
- lib.breadcrumb = Breadcrumb-Naviagion
- lib.footer = Footer (PID wird mittels FOOTER_PID definiert)
- lib.datum = Aktuelles Datum (europäisch)
Fürs Filesystem
- Favicon: fileadmin/templastes/PROJEKTNAME/favicon.ico
- Stylesheet: fileadmin/templates/PROJEKTNAME/styles.css
- Schrifftfile: fileadmin/templates/PROJEKTNAME/SCHRIFTFILE
- Google-Analytics-File: fileadmin/templates/{$PROJEKTNAME}/google.htm