Issue Bug Closed

#26483stdWrap for excludeUidList (HMENU) does not work

most wanted 04/29/11, 10:42 updated 10/24/17, 20:18

Description

shouldn’t stdWrap work for excludeUidList in HMENU in TYPO3 4.5 now?

http://wiki.typo3.org/TYPO3_4.5#TypoScript_.2F_Frontend

Implemented stdWrap in all properties of all cObjects to enhance flexibility

i tried these 2 typoscript snippets, but they did not work in TYPO3 4.5:

temp.navigation = HMENU
temp.navigation {
  ### i used TEXT here only to keep the example simple!
  excludeUidList.stdWrap.cObject = TEXT
  excludeUidList.stdWrap.cObject.value = 10
  1 = TMENU
  1 {
    wrap = <ul>|</ul>
    NO = 1
    NO {
      wrapItemAndSub = <li>|</li>
    }
  }
}
temp.navigation = HMENU
temp.navigation {
  ### do not list the current page in the menu:
  excludeUidList.stdWrap.data = page:uid
  1 = TMENU
  1 {
    wrap = <ul>|</ul>
    NO = 1
    NO {
      wrapItemAndSub = <li>|</li>
    }
  }
}

Reviews 2