---
title: "NO.stdWrap.crop = 21 | ..."
url: "https://www.typo3.net/d/65425-nostdwrapcrop-21"
source: "typo3.net"
tags: ["TYPO3","Menüs","Frage"]
created: "2007-07-18"
last_reply: "2007-07-18"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# NO.stdWrap.crop = 21 | ...

TYPO3 › Menüs · 0 Antworten · gestartet 2007-07-18

## Eröffnungsbeitrag

**nobbie** · 2007-07-18 · [Beitrag #1](https://www.typo3.net/d/65425-nostdwrapcrop-21/1)

Hallo,
auf   <http://www.hausundgrund-oehringen.de/> kürze ich mit dem Befehl **"NO.stdWrap.crop = 21 | ..."** den Menueintrag im **20=HMENU**.
Jetzt versuchte ich mit demselben Befehl bei dem darunter aufgeführten  **"JavaScript Menu for last updated pages"** ebenfalls die langen Seitentitelnamen zu kürzen, aber ohne Erfolg. Wer hat eine Lösung?

```typoscript
#
temp.col1_content = COA
temp.col1_content {
  10 = TEXT
  10.data= leveltitle:1
  10.ifEmpty.cObject = TEXT
  10.ifEmpty.cObject.value = {$mainMenuHeadingIfEmpty}
  10.wrap = {$mainMenuHeaderWrap}
  20 = HMENU
  20 {
    wrap = <div class="mainMenu">|</div>
    entryLevel = 1
    excludeUidList = {$mainMenuExcludeList}
    1 = TMENU
    1 {
      expAll = 0
      noBlur = 1
      wrap = <ul>|</ul>
      IProcFunc = user_IProc_dfn
      NO = 1
      NO.ATagTitle.field = abstract // description // subtitle
      NO.allWrap = |<span class="hidden">.</span>
      NO.wrapItemAndSub = <li>|</li>
      NO.stdWrap.htmlSpecialChars = 1
      NO.stdWrap.crop = 21 | ...
      NO.linkWrap = {$mainMenuLinkWrap}
      NO.ATagBeforeWrap = 1
      CUR < .NO
      CUR = 1
      CUR.allWrap = <strong>|</strong><span class="hidden">.</span>
      CUR.wrapItemAndSub = <li>|</li>
      CUR.doNotLinkIt = 1
      CUR.stdWrap.htmlSpecialChars = 1
      IFSUB = 1
      IFSUB < .NO
      IFSUB.linkWrap = {$mainMenuIfsubLinkWrap}
    }
    2 < .1
    3 < .1
    4 < .1
  }
  30 < styles.content.getLeft
}
[globalVar = TSFE:id = 218]
#### JavaScript Menu for last updated pages
temp.col1_content.25 = HMENU
temp.col1_content.25 {
  wrap = {$mainMenuJsMenuAllWrap}
  special = updated
  special.value = 191
  special.maxAge = 3600*24*7
  limit = 10
  1 = JSMENU
  1 {
    target = _top
    firstLabelGeneral = {$mainMenuJsMenuStandardLabel}
  }
}
[global]
```

nobbie

---

Quelle: „NO.stdWrap.crop = 21 | ...“, typo3.net, https://www.typo3.net/d/65425-nostdwrapcrop-21
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
