Ergebnis 1 bis 1 von 1

Thema: Breadcrumb deutsch / english

      
  1. #1
    crz
    crz ist offline
    Forum Newbie
    Registriert seit
    04.10.2010
    Beiträge
    27

    Breadcrumb deutsch / english

    Hallo,
    ich versuche gerade eine [globalVar = GP:L = 1] - Weiche für die englische Sprache zu bauen, leider funktioniert das nicht, es wird immer die Bedingung ausgegeben.
    Weiß jemand wie man das Problem lösen kann?


    Mein Code:

    Code:
    # For the breadcrumb cObject we use a HMENU of the type 'rootline'
    menu.breadcrumb = COA
    menu.breadcrumb {
      10 = HMENU
      10 {
        # Select HMENU type 'special.rootline'
        special = rootline
      
        # Traverse the pagetree starting at the rootpage (0) and ending at the current page (-1)
        special.range = 1|-1
      
        # Pages which are excluded from the regular menus should still be shown in the breadcrumb
        includeNotInMenu = 1
      
        # This menu has only 1 level since this is a rootline-menu
        1 = TMENU
        1 {
          #Text vor dem Breadcrumbmenü
          wrap = Sie sind hier: <a href="startseite/">Startseite</a>  &raquo;  |
    
          # Remove the ancient onfocus="blurLink(this);" from link tags
          noBlur = 1
          
          # Append spaces and >> to normal linked breadcrumb items
          NO.allWrap = | &raquo; 
          NO.stdWrap.htmlSpecialChars = 1
          NO.doNotLinkIt = 1
        }
        
      }
    }
    
    # This condition checks whether a news article will be shown in single view
    [globalVar = GP:tx_ttnews|tt_news > 0] && [globalVar = TSFE:id = {$plugin.tt_news.singlePid}]
    
    menu.breadcrumb {
      # Render the current page as the normal state (linked) because we'll append the title of the news article
      10.1 {
        CUR = 1
        CUR < .NO
      }
      
      # Append the title of the news item. Using this example, the breadcrumb can be exented with
      # any other thinkable kind of data and logic
      20 = RECORDS
      20 {  
        dontCheckPid = 1
        tables = tt_news
        source.data = GP:tx_ttnews|tt_news
        source.intval = 1
        conf.tt_news = TEXT
        conf.tt_news.field = title
        wrap = <span>|</span>
      }
    }
    # Else configure the breadcrumb for normal cases when no news article is shown
    [else]
    
    menu.breadcrumb {
      10.1 {
        # Add alternative, unlinked configuration for current page, which is always the last item in
        # the breadcrumb
        CUR = 1
        CUR.stdWrap.htmlSpecialChars = 1
        CUR.allWrap = <span>|</span>
      
        # Do not wrap a link around this item
        CUR.doNotLinkIt = 1
      }
    }
    
    [global]

    Mein Versuch:
    Code:
    [globalVar = GP:L = 1]
    # This menu has only 1 level since this is a rootline-menu
        1 = TMENU
        1 {
          #Text vor dem Breadcrumbmenü
          wrap = Sie sind hier*: <a href="startseite/">Startseite</a>  &raquo;  |
    
          # Remove the ancient onfocus="blurLink(this);" from link tags
          noBlur = 1
          
          # Append spaces and >> to normal linked breadcrumb items
          NO.allWrap = | &raquo; 
          NO.stdWrap.htmlSpecialChars = 1
          NO.doNotLinkIt = 1
        }
    [global]
    Vielen Dank!
    Geändert von crz (27.07.2012 um 12:29 Uhr)

 

 

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Facebook Kommentare

Ähnliche Themen

  1. English Copywriter (m/f)
    Von Monster Jobs im Forum TYPO3-Jobs
    Antworten: 0
    Letzter Beitrag: 03.07.2012, 16:30
  2. Localization: English und English (US)
    Von j0nnybrav0 im Forum TYPO3 4.x Fragen und Probleme
    Antworten: 0
    Letzter Beitrag: 06.06.2012, 14:00
  3. A better tag cloud wird nicht auf english angezeigt
    Von Silen7Hunter im Forum TYPO3 4.x Fragen und Probleme
    Antworten: 0
    Letzter Beitrag: 05.06.2012, 16:27
  4. [chc_Forum] wird in english angezeigt
    Von renegade im Forum chc_forum
    Antworten: 3
    Letzter Beitrag: 01.03.2006, 21:23
  5. Typo3 with Customer Database? (English)
    Von rehlers im Forum TYPO3 3.x Fragen und Probleme
    Antworten: 0
    Letzter Beitrag: 20.12.2005, 12:58

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  

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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238