tt_content.menu as dropdown (menu of these pages / menu of subpages)


/ Published in: TYPO3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. tt_content.menu.20.1 >
  2. tt_content.menu.20.1 = HMENU
  3. tt_content.menu.20.1 {
  4. special = directory
  5. prepend = TEXT
  6. prepend.dataWrap = <select size="1" onchange="if (this.value != '') window.location = this.value;">
  7. prepend.value = <option value="">Bitte wählen Sie:</option>
  8. prepend.lang.en = <option value="">Please choose:</option>
  9. append = TEXT
  10. append.value = </select>
  11. }
  12. 1 = TMENU
  13. 1.NO = 1
  14. 1.NO {
  15. stdWrap.crop = 50 | ... | 1
  16. doNotLinkIt = 1
  17. before {
  18. typolink.parameter.field = uid
  19. typolink.returnLast = url
  20. wrap = <!!=|>
  21. }
  22. after = </option>
  23. }
  24. }
  25. tt_content.menu.20.0 < tt_content.menu.20.1
  26. tt_content.menu.20.0.special.value.field = pages
  27. tt_content.menu.20.0.special = list

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.