Typo3-Template
Aus LagoWiki
(Unterschied zwischen Versionen)
(Die Seite wurde neu angelegt: == Grundkonfiguration == === Constants === PROJEKTNAME = <i>projektname</i> SCHRIFTFILE = <i>schriftfile.ttf</i> FOOTER_PID = <i>footer-Page-ID</i><br> NAVI_entryle...) |
|||
Zeile 23: | Zeile 23: | ||
config.spamProtectEmailAddresses = -4 | config.spamProtectEmailAddresses = -4 | ||
config.spamProtectEmailAddresses_atSubst = (at)<br> | config.spamProtectEmailAddresses_atSubst = (at)<br> | ||
+ | ##Sprachauswahl | ||
+ | config.linkVars = L | ||
+ | config.sys_language_uid = 0 | ||
+ | config.language = de<br> | ||
+ | ### Stylesheet und favicon | ||
+ | page.stylesheet = fileadmin/{$PROJEKTNAME}/templates/styles.css | ||
+ | page.shortcutIcon = fileadmin/{$PROJEKTNAME}/favicon.ico<br> | ||
###templavoila setup | ###templavoila setup | ||
page = PAGE | page = PAGE | ||
page.typeNum = 0 | page.typeNum = 0 | ||
page.10 = USER | page.10 = USER | ||
- | page.10.userFunc = tx_templavoila_pi1->main_page | + | page.10.userFunc = tx_templavoila_pi1->main_page<br> |
- | + | ||
### Breadcrumb Naivigation | ### Breadcrumb Naivigation | ||
lib.breadcrumb = COA | lib.breadcrumb = COA | ||
Zeile 119: | Zeile 125: | ||
* lib.footer = Footer (PID wird mittels FOOTER_PID definiert) | * lib.footer = Footer (PID wird mittels FOOTER_PID definiert) | ||
* lib.datum = Aktuelles Datum (europäisch) | * lib.datum = Aktuelles Datum (europäisch) | ||
+ | |||
+ | ==== Fürs Filesystem ==== | ||
+ | * Favicon: fileadmin/PROJEKTNAME/favicon.ico | ||
+ | * Stylesheet: fileadmin/PROJEKTNAME/templates/styles.css | ||
+ | * Schrifftfile: fileadmin/templates/PROJEKTNAME/SCHRIFTFILE | ||
+ | |||
+ | |||
+ | [[Kategorie:Typo3| ]] |
Version vom 20:41, 21. 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}/templates/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.xxxxx 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/templates/styles.css
- Schrifftfile: fileadmin/templates/PROJEKTNAME/SCHRIFTFILE