Typo3-Template

Aus LagoWiki

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K (Für Templavoila)
Aktuelle Version (22:07, 9. Mär. 2009) (bearbeiten) (rückgängig)
 
(Der Versionsvergleich bezieht 15 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/{$PROJEKTNAME}/templates/styles.css
+
page.stylesheet = fileadmin/templates/{$PROJEKTNAME}/styles.css
-
page.shortcutIcon = fileadmin/{$PROJEKTNAME}/favicon.ico<br>
+
page.shortcutIcon = fileadmin/templates/{$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<br>
+
page.10.userFunc = tx_templavoila_pi1->main_page
 +
### Google-Analytics-Setup
 +
page.20 = FILE
 +
page.20.file = fileadmin/templates/{$PROJEKTNAME}/google.htm<br>
### Breadcrumb Naivigation
### Breadcrumb Naivigation
lib.breadcrumb = COA
lib.breadcrumb = COA
Zeile 84: Zeile 90:
lib.menue_2 < .lib.menue_1
lib.menue_2 < .lib.menue_1
lib.menue_2.entryLevel = {$NAVI_entrylevel_2}<br>
lib.menue_2.entryLevel = {$NAVI_entrylevel_2}<br>
 +
###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 = &lt;ul class=&amp;l1&amp;>|&lt;/ul>
 +
lib.menue_1_t.1.NO = 1
 +
lib.menue_1_t.1.NO.linkWrap = &lt;li class=&amp;l1&amp;>|&lt;/li>
 +
lib.menue_1_t.1.NO.ATagParams = class=&amp;l1&amp;
 +
lib.menue_1_t.1.CUR = 1
 +
lib.menue_1_t.1.CUR.linkWrap = &lt;li id=&amp;actmenu&amp; class=&amp;l1&amp;>|</li>
 +
lib.menue_1_t.1.CUR.ATagParams = id=&amp;actmenu&amp; class=&amp;l1&amp;<br>
##Logo auf allen Seiten
##Logo auf allen Seiten
lib.logo = COA
lib.logo = COA
Zeile 99: Zeile 116:
}
}
}
}
-
}<br>
+
<br>
### Footer
### Footer
lib.footer = HMENU
lib.footer = HMENU
-
lib,footer {
+
lib.footer {
special = directory
special = directory
special.value = {$FOOTER_PID}
special.value = {$FOOTER_PID}
Zeile 108: Zeile 125:
1.NO = 1
1.NO = 1
1.NO.linkWrap = &amp;nbsp;|&amp;nbsp;&#124; |*| &amp;nbsp;|&amp;nbsp;&amp;#124; |*| &amp;nbsp;
1.NO.linkWrap = &amp;nbsp;|&amp;nbsp;&#124; |*| &amp;nbsp;|&amp;nbsp;&amp;#124; |*| &amp;nbsp;
-
wrap = &lt;br \> | &lt;br \>&copy; 2008&lt;br \> &lt;br \>
+
wrap = &lt;br \> | &lt;br \>&copy; {$PROJEKTNAME} 2008&lt;br \> &lt;br \>
}<br>
}<br>
### Datum
### Datum
lib.datum = TEXT
lib.datum = TEXT
lib.datum.data = date:U
lib.datum.data = date:U
-
lib.datum.strftime = %e. %B %Y
+
lib.datum.strftime = %e. %B %Y <br>
 +
### RTE-Konfiguration
 +
### p-Tags in der Tabelle beim RTE entfernen
 +
lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.removeTags = p<br>
 +
### p calss="bodytext" entfernen
 +
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class >
==== Für Templavoila ====
==== Für Templavoila ====
Zeile 119: Zeile 141:
** lib.menue_1 = Erste Menüebene
** lib.menue_1 = Erste Menüebene
** lib.menue_2 = Zweite Menüebene
** lib.menue_2 = Zweite Menüebene
 +
* Textmenü mit divs
 +
** lib.menue_1_t
 +
*** ul
 +
*** NO: li: class="l1"
 +
*** CUR: li: id="actmenue"
* Graphisches Menü in einem Block
* Graphisches Menü in einem Block
** lib.menue_all ('''ToDo''')
** lib.menue_all ('''ToDo''')
Zeile 127: Zeile 154:
==== Fürs Filesystem ====
==== Fürs Filesystem ====
-
* Favicon: fileadmin/PROJEKTNAME/favicon.ico
+
* Favicon: fileadmin/templastes/PROJEKTNAME/favicon.ico
-
* Stylesheet: fileadmin/PROJEKTNAME/templates/styles.css
+
* Stylesheet: fileadmin/templates/PROJEKTNAME/styles.css
* Schrifftfile: fileadmin/templates/PROJEKTNAME/SCHRIFTFILE
* Schrifftfile: fileadmin/templates/PROJEKTNAME/SCHRIFTFILE
 +
* Google-Analytics-File: fileadmin/templates/{$PROJEKTNAME}/google.htm
-
 
+
[[Kategorie:Typo3| ]][[Kategorie:TypoScript| ]]
-
[[Kategorie:Typo3| ]]
+

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 = ::&nbsp;|&nbsp; 1.CUR = 1 1.CUR { linkWrap = ::&nbsp;|&nbsp; 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 = &nbsp;|&nbsp;| |*| &nbsp;|&nbsp;&#124; |*| &nbsp; 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"
  • 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
Persönliche Werkzeuge
Lagopixel