Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2010
185
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Allgemeine Einstellungen
  2.  
  3. config {
  4.   baseURL = http://localhost/projekt/index.php?id=1
  5.  
  6.   // Den Seitentitel vor dem Websitenamen nennen
  7.   pageTitleFirst = 1
  8.  
  9.   // E-Mail-Adresse für Harvester verschleiern
  10.   spamProtectEmailAddresses = ascii
  11.   spamProtectEmailAddresses_atSubst = @
  12.  
  13.   // Cache-Einstellungen
  14.   cache_period = 86400
  15.   sendCacheHeaders = 1
  16.  
  17.   // Spracheinstellungen
  18.   linkVars = L
  19.   uniqueLinkVars = 1
  20.   sys_language_uid = 0
  21.   language = de
  22.   locale_all = de_DE.utf8
  23.   htmlTag_langKey = de
  24. }  
  25.  
  26.   // UTF-8 und XHTML 1.1 Strict einschalten
  27.   metaCharset = utf-8
  28.   doctype = xhtml_strict
  29.   xmlprologue = xml_11
  30.   xhtml_cleaning = all
  31. }
  32.  
  33. // Reihenfolge von Doctype und XML-Prolog beim Internet Explorer tauschen (wegen Bug)
  34. [browser = msie]
  35.   config.doctypeSwitch = 1
  36. [else]
  37.   config.doctypeSwitch = 0
  38. [end]
  39.  
  40.  
  41.  
  42.  
  43. Seitenkonfiguration setup:
  44.  
  45. page = PAGE
  46. page.typeNum = 0
  47.  
  48.  
  49. page.includeCSS.basic = fileadmin/templates/css/basic.css
  50.  
  51. plugin.tx_automaketemplate_pi1 {
  52.   content = FILE
  53.   content.file = fileadmin/templates/index.html
  54.   elements {
  55.     BODY.all = 1
  56.     BODY.all.subpartMarker = DOCUMENT_BODY
  57.     DIV.all = 1
  58.   }
  59.   relPathPrefix = fileadmin/templates/
  60. }
  61.  
  62. page.10 = TEMPLATE
  63. page.10 {
  64.   template =< plugin.tx_automaketemplate_pi1
  65.   workOnSubpart = DOCUMENT_BODY
  66.   subparts {
  67.     main < styles.content.get
  68.     sidebar < styles.content.getRight
  69.    
  70.   }
  71. }
  72.  
  73.  
  74.  
  75. Seitenelemente setup:
  76.  
  77. lib.header = COA
  78. lib.header.10 = IMAGE
  79. lib.header.10.file = fileadmin/templates/img/trauben.gif
  80. lib.header.10.file.height = 110
  81. lib.header.10.stdWrap.typolink.parameter = 1
  82. lib.header.20 = COA
  83. lib.header.20.wrap = |
  84. lib.header.20.10 = HMENU
  85. lib.header.20.10 {
  86.   special = rootline
  87.   special.range = 0|-1
  88.  
  89.   1 = TMENU
  90.   1 {
  91.     wrap = |
  92.     NO = 1
  93.     NO.allWrap = |› |*| |› |*| |
  94.     CUR < .NO
  95.     CUR.doNotLinkIt = 1
  96.   }
  97. }
  98. lib.header.20.20 = COA
  99. lib.header.20.20 {
  100.   wrap = |
  101.   10 = IMAGE
  102.   10.file = fileadmin/templates/img/drucker.gif
  103.   10.stdWrap.typolink.wrap = |
  104.   10.stdWrap.typolink.parameter.data = TSFE:id
  105.   10.stdWrap.typolink.additionalParams = &type=98
  106.   20 = IMAGE
  107.   20.file = fileadmin/templates/img/sitemap.gif
  108.   20.stdWrap.typolink.wrap = |
  109.   20.stdWrap.typolink.parameter = 11
  110.   30 = TEXT
  111.   30.value = Sprache
  112.   30.wrap = |
  113. }
  114.  
  115. lib.footer = HTML
  116. lib.footer.value = © 2009 Weinhandel Typelsberg. Alle Rechte vorbehalten.
  117.  
  118.  
  119. Seitenelemente konstante:
  120.  
  121. kopfbild = fileadmin/templates/img/weinberg.jpg
  122.  
  123.  
  124.  
  125. Navigation setup:
  126.  
  127. lib.mainnav = HMENU
  128. lib.mainnav {
  129.   special = directory
  130.   special.value = 5
  131.   1 = TMENU
  132.   1 {
  133.     wrap = |
  134.     NO = 1
  135.     NO.wrapItemAndSub = |
  136.     CUR < .NO
  137.     CUR.wrapItemAndSub = |
  138.     CUR.doNotLinkIt = 1
  139.     ACT < .NO
  140.     ACT.wrapItemAndSub = |
  141.   }
  142.   2 < .1
  143.   2.wrap = |
  144. }
Advertisement
RAW Paste Data Copied
Advertisement