Snippets-logo-small
  • TYPO3 Typoscript
  • TYPO3 TSConfig
  • TYPO3 Install Tool
  • TYPO3 allg
  • Git
  • Javascript - JQuery
  • Unix
  • css
  • regular expressions
  • php
  • SQL
  • Ruby on Rails
  • root template
  • mainconfig
  • Navigation
  • impressum tan3
  • conditions
  • tt_content
  • +ext indexed search
  • +ext lumogooglemap
  • +ext realurl
  • +ext sr_language_menu
  • +ext tt_news
  • +ext felogin
  • https
  • Fancybox
  • rss feed
  • scriptmerger
  • Teaserbild aus dem Feld Dateien
  • Standard Mailformular
  • Standard Suche
  • Inhaltselement(e) per Typoscript...
  • logo verlinken
  • Sitemap
  • Bilderbreiten definieren
  • RTE
  • logout button
  • Abfragen
  • meta
  • Anzahl CEs ermitteln
  • Google Tags
  • Socialbuttons (Facebook, Twitter)

root template

  • standard 

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    
    page = PAGE
    
    # css
    page.includeCSS {
      file1 = fileadmin/templates/yaml/core/slim_base.css
    
    }
    # js
    page.includeJS {
      file1 = http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js
      file1.external = 1
      file2 = fileadmin/templates/js/jquery.mousewheel.js
    
    }
    
    page.10 = TEMPLATE
    page.10 {
      template = FILE
      template.file = fileadmin/templates/maintemplate.html
      workOnSubpart = DOCUMENT_BODY
      relPathPrefix = fileadmin/template/
      
      marks {
        CONTENT < styles.content.get
        LOGO < lib.logo
      }
    }
    by stefan
  • templavoila 

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    
    page = PAGE
    
    # css
    page.includeCSS {
      file1 = fileadmin/templates/yaml/core/slim_base.css
    
    }
    # js
    page.includeJS {
      file1 = http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js
      file1.external = 1
      file2 = fileadmin/templates/js/jquery.mousewheel.js
    
    }
    
    page.10 = USER 
    page.10.userFunc = tx_templavoila_pi1->main_page 
    page.10.disableExplosivePreview = 1
    
    plugin.tx_templavoila_pi1.disableExplosivePreview = 1
    by stefan
  • yaml (ohne template) 

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    
    page = PAGE 
    
    page { 
      # hier class col1 für z.b einspaltiges layout
      bodyTagCObject.if.isFalse.numRows < styles.content.getRight
      bodyTagCObject = TEXT
      bodyTagCObject.value = <body class="col1">
     
      includeJSlibs {
        file1 = http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js
        file1.external = 1
      }
      includeCSS {
        file1 = fileadmin/templates/yaml/core/slim_base.css
        file2 = fileadmin/templates/css/screen/nav.css
        file3 = fileadmin/templates/css/screen/basemod.css
        file4 = fileadmin/templates/css/screen/content.css
      }
      
      # =============
      # = main part =
      # =============
      10 = COA
      10 {
        wrap = <div class="page_margins"><div class="page">|</div></div>
    
        # =======
        # = nav =
        # =======
        10 < lib.mainnav
                    
        # ==========
        # = header =
        # ==========
        20 = COA
        20 {
          wrap = <div id="header">|</div>
          # logo
          10 < lib.logo
          # logo end 
        }
    
        # ==========
        # = teaser =
        # ==========  
        30 = COA
        30 {
          wrap = <div id="teaser">|</div>
          10 < lib.teaser
        }
        
        # ========
        # = main =
        # ========  
        40 = COA
        40 {
          wrap = <div id="main">|</div>
          
          10 < styles.content.getRight
          10.wrap = <div id="col1"><div id="col1_content" class="clearfix">|</div></div>
          
          20 < styles.content.get
          20.wrap = <div id="col3"><div id="col3_content" class="clearfix">|</div><div id="ie_clearing"> &#160; </div></div>
            
        }
        # =================
        # = footer =
        # =================
        50 < lib.footer 
        50.wrap = <div id="footer">|</div>
      }
      
      # =================
      # = main part end =
      # =================
    }
    by stefan
This site is made by tan3