Typo3-Template
Aus LagoWiki
(Unterschied zwischen Versionen)
K (→Fürs Filesystem) |
K (→Setup) |
||
Zeile 28: | Zeile 28: | ||
config.language = de<br> | config.language = de<br> | ||
### Stylesheet und favicon | ### Stylesheet und favicon | ||
- | page.stylesheet = fileadmin/{$PROJEKTNAME} | + | page.stylesheet = fileadmin/{$PROJEKTNAME}/styles.css |
page.shortcutIcon = fileadmin/{$PROJEKTNAME}/favicon.ico<br> | page.shortcutIcon = fileadmin/{$PROJEKTNAME}/favicon.ico<br> | ||
###templavoila setup | ###templavoila setup |
Version vom 13:59, 25. Mär. 2008
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
### Stylesheet und favicon page.stylesheet = fileadmin/{$PROJEKTNAME}/styles.css page.shortcutIcon = fileadmin/{$PROJEKTNAME}/favicon.ico
###templavoila setup page = PAGE page.typeNum = 0 page.10 = USER page.10.userFunc = tx_templavoila_pi1->main_page
### 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}
##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 \>© 2008<br \> <br \> }
### Datum lib.datum = TEXT lib.datum.data = date:U lib.datum.strftime = %e. %B %Y
Für Templavoila
- Graphisches Menü aufgeteilt in zwei getrennte Blöcke
- lib.menue_1 = Erste Menüebene
- lib.menue_2 = Zweite Menüebene
- 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/PROJEKTNAME/favicon.ico
- Stylesheet: fileadmin/PROJEKTNAME/styles.css
- Schrifftfile: fileadmin/templates/PROJEKTNAME/SCHRIFTFILE