Advertisement
b0r7

typoscript - globalvar for file property

Feb 11th, 2014
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. # temp.slideshow
  2. #############################################
  3. temp.slideshow = COA
  4. temp.slideshow {
  5. 1 = COA
  6. 1{
  7. stdWrap.required = 1
  8. stdWrap.outerWrap.cObject = TEXT
  9. stdWrap.outerWrap.cObject.value = <img src="{$constant.baseurl}/| " />
  10. 2 = IMG_RESOURCE
  11. 2{
  12. file{
  13. import.data = levelmedia:-1, slide
  14. import.listNum = 0
  15. treatIdAsReference = 1
  16. width = 900
  17. height = 300
  18. #width.field = imagewidth
  19. #height.field = imageheight
  20. }
  21. }
  22. }
  23. 2 < .1
  24. 2.2.file.import.listNum = 1
  25. 3 < .1
  26. 3.2.file.import.listNum = 2
  27. 4 < .1
  28. 4.2.file.import.listNum = 3
  29. 5 < .1
  30. 5.2.file.import.listNum = 4
  31. }
  32. #------------------- exception frontpage
  33. [globalVar = TSFE:id = 1]
  34. temp.slideshow.1.2.file{
  35. width = 900
  36. height = 450
  37. }
  38. [global]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement