Sie befinden sich hier : 
Dokumentation / YAML für Autoparser / Extension Templates

Extension Templates

Es existieren zwei Arten von Templates in TYPO3. Einmal das Main Template (Haupttemplate) und die Extension Templates (Erweiterungs-Templates).

Gemäß den Empfehlungen des Tutorials "Modern Template Building" ist das Haupttemplate in der Rootpage untergebracht, die Erweiterungs-Templates sind ausgelagert in dem Sys-Ordner "Template Storage". Das erhöht die Übersichtlichkeit enorm, weil jeder Subpart ein eigenes Template darstellt und man sich nicht durch mehrere Seiten langen TypoScript-Code wühlen muß.

Der Sys-Ordner Storage Folder hat in unserem Fall später die Funktion, die Website-Benutzer (newloginbox) und die News-Kategorien (tt_news) unterbringen zu können.

+ext Globale Konfiguration:

  1. #############################################
  2. # +ext Globale Konfiguration                #
  3. # YAML for TYPO3, Autoparser, Version 4.5.0 #
  4. # last modified 1/27/2007                   #
  5. #############################################
  6. config {
  7.   spamProtectEmailAddresses = 2
  8.   spamProtectEmailAddresses_atSubst = (at)
  9.   disablePrefixComment = 1
  10.   extTarget = _blank
  11.   linkVars = L
  12.   sys_language_uid = 0
  13.   language = de
  14. #### set for Linux
  15. #  locale_all = de_DE
  16. #### set for Windows
  17.   locale_all = german
  18.   pageTitleFirst = 1
  19.   xhtml_cleaning = all
  20.   doctypeSwitch = {$doctypesw_cond}
  21.   htmlTag_langKey = de
  22. }
  23. #### English language, sys_language.uid = 1
  24. [globalVar = GP:L = 1]
  25. config.sys_language_uid = 1
  26. #config.sys_language_mode = content_fallback ; 0
  27. config.language = en
  28. config.locale_all = english
  29. config.htmlTag_langKey = en
  30. [global]
  31. #### French language, sys_language.uid = 2
  32. [globalVar = GP:L = 2]
  33. config.sys_language_uid = 2
  34. #config.sys_language_mode = content_fallback ; 0
  35. config.language = fr
  36. config.locale_all = fr_FR
  37. config.htmlTag_langKey = fr
  38. [global]
Datei herunterladen:uploads/tx_jphcodesnippets/extGlobaleKonfiguration.txt

+ext header:

  1. #############################################
  2. # +ext Header (temp.header )                #
  3. # YAML for TYPO3, Autoparser, Version 4.5.0 #
  4. # last modified 1/27/2007                   #
  5. #############################################
  6. #### **Search-Box begin**
  7. #### Delete the lines from #### **Search-Box begin** to #### **Search-Box end**
  8. #### If you don't want to appear the search-box in the header
  9. plugin.tx_macinasearchbox_pi1 {
  10.   pidSearchpage = 10
  11.   templateFile = fileadmin/template/searchbox/template.htm
  12. }
  13. [globalVar = GP:L = 1]
  14. #### We need a different searchbox-template for english language.
  15. plugin.tx_macinasearchbox_pi1.templateFile = fileadmin/template/searchbox/template-en.htm
  16. [global]
  17. temp.header = COA
  18. temp.header.10 < plugin.tx_macinasearchbox_pi1
  19. #### **Search-Box end**
  20. temp.header.20 = HTML
  21. temp.header.20.value = <div id="topnav">
  22. temp.header.30 = HTML
  23. temp.header.30.value = {$headerSkiplinkHtmlCode}
  24. temp.header.40 = HMENU
  25. temp.header.40 {
  26.   special = list
  27.   special.value = {$headerNavigationIncludeList}
  28.   1 = TMENU
  29.   1 {
  30.     noBlur = 1
  31.     wrap = |
  32.     NO = 1
  33.     NO.ATagTitle.field = abstract // description // subtitle
  34.     NO.linkWrap = |&nbsp;&#124;&nbsp; |*| |&nbsp;&#124;&nbsp; |*| |
  35.     NO.allWrap = |
  36.     NO.stdWrap.htmlSpecialChars = 1
  37.     CUR < .NO
  38.     CUR = 1
  39.     CUR.allWrap = <strong>|</strong>
  40.     CUR.doNotLinkIt = 1
  41.     CUR.stdWrap.htmlSpecialChars = 1
  42.   }
  43. }
  44. temp.header.50 = HTML
  45. temp.header.50.value = </div>
  46. temp.header.60 = HTML
  47. temp.header.60.value = {$headerImageHtmlCode}
Datei herunterladen:uploads/tx_jphcodesnippets/extHeader.txt

+ext nav_main:

  1. #############################################
  2. # +ext nav_main (temp.nav_main)             #
  3. # YAML for TYPO3, Autoparser, Version 4.5.0 #
  4. # last modified 1/27/2007                   #
  5. #############################################
  6. temp.nav_main = HMENU
  7. temp.nav_main {
  8.   entryLevel = 0
  9.   excludeUidList =
  10.   1 = TMENU
  11.   1 {
  12.     noBlur = 1
  13.     wrap = <ul>|</ul>
  14.     NO = 1
  15.     NO.ATagTitle.field = abstract // description // subtitle
  16.     NO.allWrap = <li>|</li>
  17.     NO.linkWrap = <span>|</span>
  18.     NO.ATagBeforeWrap = 1
  19.     NO.stdWrap.htmlSpecialChars = 1
  20.     ACT = 1
  21.     ACT < .NO
  22.     ACT.allWrap = <li id="current">|</li>
  23.   }
  24. }
Datei herunterladen:uploads/tx_jphcodesnippets/extnav_main.txt

+ext col1_content:

  1. #############################################
  2. # +ext col1_content (temp.col1_content)     #
  3. # YAML for TYPO3, Autoparser, Version 4.5.0 #
  4. # last modified 1/27/2007                   #
  5. #############################################
  6. #### Main menu
  7. temp.col1_content = COA
  8. temp.col1_content {
  9.   10 = TEXT
  10.   10.data= leveltitle:1
  11.   10.wrap = {$mainMenuHeaderWrap}
  12.   20 = HMENU
  13.   20 {
  14.     wrap = <div class="mainMenu">|</div>
  15.     entryLevel = 1
  16.     excludeUidList =
  17.     1 = TMENU
  18.     1 {
  19.       expAll = 0
  20.       noBlur = 1
  21.       wrap = <ul>|</ul>
  22.       IProcFunc = user_IProc_dfn
  23. #### Leave NO turned on, even it is not necessary,
  24. #### because when it is copied later, it turns on CUR and IFSUB automatically
  25.       NO = 1
  26.       NO.ATagTitle.field = abstract // description // subtitle
  27.       NO.allWrap = |<span class="hidden">.</span>
  28.       NO.wrapItemAndSub = <li>|</li>
  29.       NO.stdWrap.htmlSpecialChars = 1
  30.       NO.linkWrap = {$mainMenuLinkWrap}
  31.       NO.ATagBeforeWrap = 1
  32.       CUR < .NO
  33.       CUR.allWrap = <strong>|</strong><span class="hidden">.</span>
  34.       CUR.wrapItemAndSub = <li>|</li>
  35.       CUR.doNotLinkIt = 1
  36.       CUR.stdWrap.htmlSpecialChars = 1
  37.       IFSUB < .NO
  38.       IFSUB.linkWrap = {$mainMenuIfsubLinkWrap}
  39.     }
  40.     2 < .1
  41.     3 < .1
  42.     4 < .1
  43.   }
  44.   30 < styles.content.getLeft
  45. }
  46. #### JavaScript Menu for last updated pages
  47. temp.col1_content.25 = HMENU
  48. temp.col1_content.25 {
  49.   wrap = {$mainMenuJsMenuAllWrap}
  50.   special = updated
  51.   special.value = 1
  52.   special.maxAge = 3600*24*7
  53.   limit = 10
  54.   1 = JSMENU
  55.   1 {
  56.     target = _top
  57.     firstLabelGeneral = {$mainMenuJsMenuStandardLabel}
  58.   }
  59. }
  60. #### English header for the JavaScript manu
  61. [globalVar = GP:L = {$firstForeignLanguage}]
  62. temp.col1_content.25.1.firstLabelGeneral = {$mainMenuJsMenuFirstLangLabel}
  63. [global]
  64. #### French header for the JavaScript manu
  65. [globalVar = GP:L = {$secondForeignLanguage}]
  66. temp.col1_content.25.1.firstLabelGeneral = {$mainMenuJsMenuSecondLangLabel}
  67. [global]
Datei herunterladen:uploads/tx_jphcodesnippets/extcol1_content.txt

+ext footer:

  1. #############################################
  2. # +ext Footer (temp.footer)                 #
  3. # YAML for TYPO3, Autoparser, Version 4.5.0 #
  4. # last modified 1/27/2007                   #
  5. #############################################
  6. temp.footer = TEXT
  7. temp.footer {
  8.   value = {$footerStandardLangHtmlCode}
  9.   lang.en = {$footerFirstLangHtmlCode}
  10.   lang.fr = {$footerSecondLangHtmlCode}
  11. }
Datei herunterladen:uploads/tx_jphcodesnippets/extfooter.txt

+ext indexed_search:

  1. #############################################
  2. # +ext indexedSearch-config                 #
  3. # Configuration of indexedsearch            #
  4. # YAML for TYPO3, Autoparser, Version 4.5.0 #
  5. # last modified 1/27/2007                   #
  6. #############################################
  7. plugin.tx_indexedsearch {
  8. #### Standard-CSS-Styles löschen
  9.   _CSS_DEFAULT_STYLE >
  10. #### Anzahl der ausgegebenen Suchergebnisse auf einer Seite
  11.   _DEFAULT_PI_VARS.results = 10
  12. #### Suchworte kennzeichnen
  13.   forwardSearchWordsInResultLink = 1
  14. ##############################
  15.   blind {
  16. #### settings: 0=aktiv (sichtbar), -1 inaktiv (nicht sichtbar)
  17. #### Vergleichs-Typ (Ganzes Wort, Wortteil,etc)
  18.     type=-1
  19. #### type default option (und /oder)
  20.     defOp=0
  21. #### Bereich(e) der website
  22.     sections=0
  23. #### Suche in Medientypen (erweiterungen)
  24.     media=1
  25. #### Sortierung
  26.     order=-1
  27. #### Ansicht (Sektionshierachie / Liste)
  28.     group=-1
  29. #### Ansicht: Erweiterte Vorschau
  30.     extResume = -1
  31. #### Sprachwahlbox
  32.     lang=-1
  33. #### Aufsteigend absteigend
  34.     desc=-1
  35. #### Ergebnisse (Anzahl der Treffer pro Seite)
  36.     results=0
  37.   }
  38.   show {
  39. #### settings: 1=aktiv (sichtbar), 0 inaktiv (nicht sichtbar)
  40. #### Zeige Kurzanleitung
  41.     rules=0
  42. #### Erstellungsinformationen des Hash
  43.     parsetimes=1
  44. #### Zweite Ebene im Bereichs-dropdown anzeigen
  45.     L2sections=1
  46. #### Erste ebene im Bereichs-dropdown anzeigen
  47.     L1sections=1
  48. #### Alle "nicht im menü" oder "im menü verstecken" in Suche einbeziehen
  49.     LxALLtypes=0
  50. #### Leeren des Suchfeldes nach der Suche
  51. #### VORSICHT: Wenn eingeschaltet, funktioniert der Seitennavigator nicht mehr
  52.     clearSearchBox = 0
  53. #### Aktuelles Suchwort zu den bisherigen hinzufügen (Checkbox)
  54.     clearSearchBox.enableSubSearchCheckBox=0
  55.   }
  56.   search {
  57. #### Wird nur benötigt, wenn es mehr als eine Root-Page im Seitenbaum gibt.
  58. #### ansonsten leer lassen.
  59.     rootPidList =
  60.   }
  61. }
Datei herunterladen:uploads/tx_jphcodesnippets/extindexed_search.txt

+ext tt_news_config:

  1. #############################################
  2. # +ext tt_news-config                       #
  3. # Configuration of tt_news                  #
  4. # YAML for TYPO3, Autoparser, Version 4.5.0 #
  5. # last modified 1/27/2007                   #
  6. #############################################
  7. plugin.tt_news {
  8.   _CSS_DEFAULT_STYLE >
  9.   usePagesRelations = 1
  10.   usePiBasePagebrowser = 1
  11.   archiveTitleCObject {
  12.     10.strftime = %B - %Y
  13.   }
  14.   getRelatedCObject {
  15.       10.1.20.strftime = %d.%m.%y %H:%M
  16.       10.2.20.strftime = %d.%m.%y %H:%M
  17.       10.default.20.strftime = %d.%m.%y %H:%M
  18.   }
  19.   displaySingle {
  20.     date_stdWrap.strftime= %d.%m.%Y
  21.     time_stdWrap.strftime= %H:%M
  22.     age_stdWrap.age = &nbsp;Minuten | Stunden | Tage | Jahre
  23.   }
  24.   displayLatest {
  25.     date_stdWrap.strftime= %d.%m.%y
  26.     time_stdWrap.strftime= %H:%M
  27.   }
  28.   displayList {
  29.     date_stdWrap.strftime= %A %d. %B %Y
  30.     time_stdWrap.strftime= %d.%m.%y %H:%M
  31.   }
  32. }
  33. plugin.tt_news {
  34.   catOrderBy = title
  35.   displayCatMenu {
  36.     # select root icon file
  37.     catmenuRootIconFile = EXT:tt_news/res/tt_news_cat.gif
  38.     # enable root icon
  39.     catmenuNoRootIcon = 0
  40.     # disable other icons
  41.     catmenuIconMode = -1
  42.   }
  43. }
  44. plugin.tt_news {
  45.   pageBrowser {
  46.     dontLinkActivePage = 1
  47.     maxPages = 10
  48.     showRange = 0
  49.     showPBrowserText = 1
  50.     showResultCount = 0
  51.     showFirstLast = 0
  52.   }
  53. }
  54. plugin.tt_news.displayLatest.subheader_stdWrap.crop = 100 | ... | 1
Datei herunterladen:uploads/tx_jphcodesnippets/extttnews_config.txt

+ext metatags_config:

  1. #############################################
  2. # +ext metatags-config                      #
  3. # Insert your own data here.                #
  4. # YAML for TYPO3, Autoparser, Version 4.5.0 #
  5. # last modified 1/27/2007                   #
  6. #############################################
  7. plugin.meta.flags.useSecondaryDescKey = 0
  8. plugin.meta.flags.alwaysGlobalDescription = 1
  9. plugin.meta.flags.alwaysGlobalKeywords = 1
  10. plugin.meta.global.author = Mein name
  11. plugin.meta.global.email =
  12. plugin.meta.global.copyright = mein Copyright
  13. plugin.meta.global.keywords = meine Keywords
  14. plugin.meta.global.description = meine Beschreibung
  15. plugin.meta.global.revisit = 7 days
  16. plugin.meta.global.robots = index,follow
  17. plugin.meta.global.language = de
  18. #### Change language, keywords and description for english language
  19. [globalVar = GP:L = {$firstForeignLanguage}]
  20. plugin.meta.global.language = en
  21. plugin.meta.global.keywords = my keywords
  22. plugin.meta.global.description = my description
  23. [global]
  24. #### Change language, keywords and description for french language
  25. [globalVar = GP:L = {$secondForeignLanguage}]
  26. plugin.meta.global.language = fr
  27. plugin.meta.global.keywords = my keywords (french)
  28. plugin.meta.global.description = my description (french)
  29. [global]
  30. page.headerData.999 < plugin.meta
Datei herunterladen:uploads/tx_jphcodesnippets/extmetatags_config.txt

+ext newloginbox_config:

  1. #############################################
  2. # +ext newloginbox-config                   #
  3. # Configuration of newloginbox              #
  4. # YAML for TYPO3, Autoparser, Version 4.5.0 #
  5. # last modified 1/27/2007                   #
  6. #############################################
  7. plugin.tx_newloginbox_pi1._CSS_DEFAULT_STYLE >
  8. plugin.tx_newloginbox_pi3._CSS_DEFAULT_STYLE >
Datei herunterladen:uploads/tx_jphcodesnippets/extnewloginbox_config.txt

+ext toolbar:

  1. #############################################
  2. # +ext Toolbar (temp.teaser)                #
  3. # YAML for TYPO3, Autoparser, Version 4.5.0 #
  4. # last modified 1/27/2007                   #
  5. #############################################
  6. temp.teaser = COA
  7. #### Rootline Text Prefix
  8. temp.teaser.10 = COA
  9. temp.teaser.10.wrap = <div class="block1">|</div>
  10. temp.teaser.10.1 = TEXT
  11. temp.teaser.10.1 {
  12.   value = {$toolbarStandardLangClickPathPrefix}
  13.   lang.en = {$toolbarFirstLangClickPathPrefix}
  14.   lang.fr = {$toolbarSecondLangClickPathPrefix}
  15. }
  16. #### Rootline Menu
  17. temp.teaser.10.2 = HMENU
  18. temp.teaser.10.2 {
  19.   special = rootline
  20.   special.range = 1|-1
  21.   1 = TMENU
  22.   1 {
  23.     allWrap = |
  24.     noBlur = 1
  25.     NO.linkWrap = {$rootlineLinkWrap}
  26.     NO.doNotLinkIt = 0 |*| 0 |*| 1
  27.     NO.ATagTitle.field = abstract // description // subtitle
  28.     NO.stdWrap.htmlSpecialChars = 1
  29.   }
  30. }
  31. #### Language Menu
  32. temp.teaser.30 = USER
  33. temp.teaser.30.userFunc = user_languageMenu
  34. #### Fontsize Selector
  35. temp.teaser.40 = HTML
  36. temp.teaser.40.value = {$fontsizeHtmlCode}
  37. #### Date and time (must not be not cached)
  38. temp.teaser.50 = COA_INT
  39. temp.teaser.50.1 = TEXT
  40. temp.teaser.50.1 {
  41.   data = {$toolbarDateFormatStandardLang}
  42.   wrap = {$toolbarDateWrapStandardLang}
  43. }
  44. [globalVar = GP:L = {$firstForeignLanguage}]
  45. temp.teaser.50.1.data = {$toolbarDateFormatFirstLang}
  46. [global]
Datei herunterladen:uploads/tx_jphcodesnippets/exttoolbar.txt

+ext Constants

  1. #############################################
  2. # +ext Constants                            #
  3. # YAML for TYPO3, Autoparser, Version 4.5.0 #
  4. # last modified 1/27/2007                   #
  5. #############################################
  6. ######################################################
  7. # DO NOT EDIT ANYTHING HERE,                         #
  8. # unless you are absolutely sure what you are doing. #
  9. ######################################################
  10. ## TSConstantsEditor Config
  11. TSConstantEditor.yaml {
  12.   header = YAML for TYPO3 (Use with TYPO3 Versions 4.x.x ONLY)
  13.   description = Public version 4.5.0
  14.   bulletlist = <b>To edit an option,</b> first mark the corresponding check-box, click "Update", then change the value.//<b>To return to a default value,</b> uncheck the corresponding check-box, then click "Update".//All values are stored below the marker #Editable Constants# in the "Constants"-Section of your main template. You can also delete them there to return to the default value(s).//IMPORTANT: If you see all the checkboxes marked, DO NOT EDIT ANYTHING! Change to the root-page of your web and try again.//<b>The links in the footer must not be removed unless you bought a license.</b>
  15.   image = yaml-t3*.gif
  16.   1 = standardLanguage, firstForeignLanguage, secondForeignLanguage
  17.   2 = headerImageHtmlCode
  18.   3 = mainMenuLinkWrap, mainMenuHeaderWrap, mainMenuIfsubLinkWrap
  19.   4 = mainMenuJsMenuStandardLabel, mainMenuJsMenuFirstLangLabel, mainMenuJsMenuSecondLangLabel, mainMenuJsMenuAllWrap
  20.   5 = headerNavigationIncludeList
  21.   8 = footerStandardLangHtmlCode, footerFirstLangHtmlCode, footerSecondLangHtmlCode
  22.   9 = toolbarDateFormatStandardLang, toolbarDateFormatFirstLang, toolbarDateFormatSecondLang, toolbarDateWrapStandardLang
  23.   10 = fontsizeHtmlCode
  24.   12 = toolbarStandardLangClickPathPrefix, toolbarFirstLangClickPathPrefix, toolbarSecondLangClickPathPrefix, rootlineLinkWrap
  25. }
  26. ###MOD_TS:EDITABLE_CONSTANTS###
  27. # cat=yaml/language/a; type=string; label=Default language:The UID of the default language (usually ALWAYS 0):
  28. standardLanguage = 0
  29.  
  30. # cat=yaml/language/b; type=string; label=First foreign language:The UID of your first foreign language (if any):
  31. firstForeignLanguage = 1
  32.  
  33. # cat=yaml/language/c; type=string; label=Second foreign language:The UID of your second foreign language (if any):
  34. secondForeignLanguage = 2
  35.  
  36. # cat=yaml/file/a; type=options [layout_2col_left_vlines.html, layout_2col_left_vlinesUDM.html, layout_2col_right_vlines.html, layout_3col_abb.html, layout_3col_fixed.html, layout_3col_vlines_v1.html, mnu_shinybuttons.html]; label=Web:Standard template, this is used, if there is nothing chosen with template selector.
  37. pageStandardTemplate = layout_2col_left_vlines.html
  38.  
  39. # cat=yaml/file/b; type=string; label=Header:HTML-Code for the header-image to be displayed:
  40. headerImageHtmlCode = <img src="fileadmin/img/yaml_title.gif" alt="YAML - Ready for TYPO3" title="YAML - Ready for TYPO3" />
  41.  
  42. # cat=yaml/file/c; type=wrap; label=Mainmenu:The wrap around each single link:
  43. mainMenuLinkWrap = <img src="fileadmin/img/node.gif" width="9" height="9" border="0" alt="" />|
  44.  
  45. # cat=yaml/file/d; type=wrap; label=Mainmenu:The wrap around the headline of the mainmenu:
  46. mainMenuHeaderWrap = <h3>|</h3>
  47.  
  48. # cat=yaml/file/e; type=wrap; label=Mainmenu:The wrap around a single Link in the mainmenu, if subpages are present:
  49. mainMenuIfsubLinkWrap = <img src="fileadmin/img/node.gif" width="9" height="9" border="0" alt="" />|
  50.  
  51. # cat=yaml/typo/a; type=string; label=JavaScript-Menu:Headline of the JavaScript-Menu on the root-page (standard language):
  52. mainMenuJsMenuStandardLabel = Aktualisierte Seiten (7 Tage) :
  53.  
  54. # cat=yaml/typo/b; type=string; label=JavaScript-Menu:Headline of the JavaScript-Menu on the root-page (first foreign language):
  55. mainMenuJsMenuFirstLangLabel = Updated pages (7 days) :
  56.  
  57. # cat=yaml/typo/c; type=string; label=JavaScript-Menu:Headline of the JavaScript-Menu on the root-page (second foreign language):
  58. mainMenuJsMenuSecondLangLabel = -- NOT USED YET -- :
  59.  
  60. # cat=yaml/typo/d; type=wrap; label=JavaScript-Menu:The wrap around the Dropdown-Box of the JavaScript-Menu:
  61. mainMenuJsMenuAllWrap = <div style="margin-top:1em;">|</div>
  62.  
  63. # cat=yaml/typo/e; type=string; label=Toolbar:This Text appears before the rootline (standard language):
  64. toolbarStandardLangClickPathPrefix = Sie sind hier:&nbsp;
  65.  
  66. # cat=yaml/typo/f; type=string; label=Toolbar:This Text appears before the rootline (first foreign language):
  67. toolbarFirstLangClickPathPrefix = You are here:&nbsp;
  68.  
  69. # cat=yaml/typo/g; type=string; label=Toolbar:This Text appears before the rootline (second foreign language):
  70. toolbarSecondLangClickPathPrefix = -- NOT USED YET --
  71.  
  72. # cat=yaml/typo/h; type=string; label=Fontsize:HTML-Code for the fontsize-adjustment tools (magnifying glasses):
  73. fontsizeHtmlCode = <div class="selectFontSize"><script type="text/javascript">if (efa_fontSize) document.write(efa_fontSize.allLinks);</script></div>
  74.  
  75. # cat=yaml/typo/i; type=string; label=Toolbar:Date- and time-format of the standard-language:
  76. toolbarDateFormatStandardLang = date : j.n.Y : G:i : O
  77.  
  78. # cat=yaml/typo/j; type=string; label=Toolbar:Date- and time-format of the first foreign language:
  79. toolbarDateFormatFirstLang = date : n/j/Y : g:i a : O
  80.  
  81. # cat=yaml/typo/k; type=string; label=Toolbar:Date- and time-format of the second foreign language:
  82. toolbarDateFormatSecondLang = -- NOT USED YET --
  83.  
  84. # cat=yaml/typo/l; type=wrap; label=Toolbar:Wrap around date and time (standard-language):
  85. toolbarDateWrapStandardLang = <div class="aktDatum">|</div>
  86.  
  87. # cat=yaml/links/a; type=string; label=Skiplink navigation:HTML-Code for the Skiplink-Navigation (used by YAML). If you don't know what it is, leave this setting alone:
  88. headerSkiplinkHtmlCode = <a class="skip" href="#navigation" title="Direkt zur Navigation springen">Zur Navigation springen</a><a class="skip" href="#content" title="Direkt zum Content springen">Zum Content springen</a>
  89.  
  90. # cat=yaml/links/b; type=string; label=Footer:HTML-Code for the footer (standard language)
  91. footerStandardLangHtmlCode = Dieses Layout basiert auf <a href="http://www.yaml.de/" target="_blank">YAML</a> &copy; von <a href="http://www.highresolution.info" target="_blank">Dirk Jesse</a> | TYPO3 Template &copy; von <a href="http://www.t3net.de/" target="_blank">t3net.de</a><br />
  92.  
  93. # cat=yaml/links/c; type=string; label=Footer:HTML-Code for the footer (first foreign language)
  94. footerFirstLangHtmlCode = This layout is based on <a href="http://www.yaml.de/" target="_blank">YAML</a> &copy; by <a href="http://www.highresolution.info" target="_blank">Dirk Jesse</a> | TYPO3 Template &copy; by <a href="http://www.t3net.de/" target="_blank">t3net.de</a><br />
  95.  
  96. # cat=yaml/links/d; type=string; label=Footer:HTML-Code for the footer (second foreign language)
  97. footerSecondLangHtmlCode = -- NOT USED YET --
  98.  
  99. # cat=yaml/links/e; type=wrap; label=Rootline-menu:Wrap around each single rootline-element:
  100. rootlineLinkWrap = |&nbsp;&gt;&nbsp; |*| |&nbsp;&gt;&nbsp; |*| |
  101.  
  102. # cat=yaml/links/f; type=wrap; label=Web:Wrap for "Link-To-Top" (small Icon):
  103. pageLinkToTop = |<p class="csc-linkToTop"><a href="#"><img src="fileadmin/img/top.gif" width="11" height="15" border="0" alt="Nach oben" title="Nach oben" /></a></p>
  104.  
  105. # cat=yaml/other/a; type=string; label=Header:Which pages must appear in the Header-Navigation (UIDs)? (see screenshot)
  106. headerNavigationIncludeList = 11,10,9
  107.  
  108. # cat=yaml/other/b; type=string; label=Web:HTML-Code, beeing written in the <head>Tag of the page (standard language):
  109. pageHeaderData = <script type="text/javascript" src="fileadmin/scripts/cookies.js"></script><script type="text/javascript" src="fileadmin/scripts/efa_fontsize.js"></script>
  110.  
  111. # cat=yaml/other/c; type=string; label=Web:HTML-Code, beeing written in the <head>Tag of the page (first foreign language):
  112. pageHeaderDataFirstLang = <script type="text/javascript" src="fileadmin/scripts/cookies.js"></script><script type="text/javascript" src="fileadmin/scripts/efa_fontsize-en.js"></script>
  113.  
  114. # cat=yaml/other/d; type=string; label=Web:HTML-Code, beeing written in the <head>Tag of the page (second foreign language):
  115. pageHeaderDataSecondLang = -- NOT USED YET --
  116.  
  117. # cat=yaml/other/e; type=string; label=Web:HTML-Code, beeing written in the <body>Tag of the page:
  118. pageBodyData = <script type="text/javascript">if (efa_fontSize) efa_fontSize.efaInit();</script>
  119.  
Datei herunterladen:uploads/tx_jphcodesnippets/extconstants.txt

+ext pageComments-config

  1. #############################################
  2. # +ext pageComments-config                  #
  3. # Configuration of sk_pagecomments          #
  4. # YAML for TYPO3, Autoparser, Version 4.5.0 #
  5. # last modified 1/27/2007                   #
  6. #############################################
  7. plugin.tx_skpagecomments_pi1 {
  8. #### Set to 1 if you want emails beeing sent, if a new page-comment is sent.
  9. #### If you enable this, make sure your server can send out emails!
  10.   emailNewMessage = 0
  11. #### Set your own Email-Address here
  12.   emailAddress = me@email.com
  13. #### Set the from-Address here
  14.   emailFrom = from@email.com
  15.   useFreecap = 0
  16.   useSectionFormLink = 1
  17.   minCharsComment = 20
  18.   _CSS_DEFAULT_STYLE >
  19.   templateFile = fileadmin/template/pagecomments/template.html
  20. }
Datei herunterladen:uploads/tx_jphcodesnippets/extpageComments.txt

Zusammenfassung

Insgesamt sind also zwölf Erweiterungs-Templates installiert. Alle Informationen, zur Erzeugung des Headers, zur Menü-Generierung, zum Einsetzen des Textes in die entsprechenden Spalten, zur Erzeugung des Seiten-Fusses, zur Konfiguration der Index-Suche und zur Einstellung der anderen Extensions erforderlich sind, sind darin enthalten.

Design 1
Bookmark this page