Posted By

ascarion on 12/02/08


Tagged

menu


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

sebakotiv
rob-ot


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


 / Published in: TYPO3
 

  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 = <option value=" | ">
  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  

You need to login to post a comment.