Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ****************************************************************** WORKING
- */
- # temp.slideshow
- #############################################
- temp.slideshow = COA
- temp.slideshow {
- 1 = COA
- 1{
- stdWrap.required = 1
- stdWrap.outerWrap.cObject = TEXT
- stdWrap.outerWrap.cObject.value = <img src="{$constant.baseurl}/| " />
- 2 = IMG_RESOURCE
- 2{
- file{
- import.data = levelmedia:-1, slide
- import.listNum = 0
- treatIdAsReference = 1
- width = 900
- height = 300
- }
- }
- }
- 2 < .1
- 2.2.file.import.listNum = 1
- 3 < .1
- 3.2.file.import.listNum = 2
- 4 < .1
- 4.2.file.import.listNum = 3
- 5 < .1
- 5.2.file.import.listNum = 4
- }
- #------------------- exception frontpage
- temp.slideshowFront = COA
- temp.slideshowFront {
- 1 = COA
- 1{
- stdWrap.required = 1
- stdWrap.outerWrap.cObject = TEXT
- stdWrap.outerWrap.cObject.value = <img src="{$constant.baseurl}/| " />
- 2 = IMG_RESOURCE
- 2{
- file{
- import.data = levelmedia:-1, slide
- import.listNum = 0
- treatIdAsReference = 1
- width = 900
- height = 450
- }
- }
- }
- 2 < .1
- 2.2.file.import.listNum = 1
- 3 < .1
- 3.2.file.import.listNum = 2
- 4 < .1
- 4.2.file.import.listNum = 3
- 5 < .1
- 5.2.file.import.listNum = 4
- }
- /* other code */
- #------------------------ slideshowMarks
- [globalVar = TSFE:id=1]
- temp.mainTemplate.marks.SLIDER < temp.slideshowFront
- [else]
- temp.mainTemplate.marks.SLIDER < temp.slideshow
- [end]
- /*
- **************************************************** NOT WORKING
- */
- temp.slideshow = COA
- temp.slideshow {
- 1 = COA
- 1{
- stdWrap.required = 1
- stdWrap.outerWrap.cObject = TEXT
- stdWrap.outerWrap.cObject.value = <img src="{$constant.baseurl}/| " />
- 2 = IMG_RESOURCE
- 2{
- file{
- import.data = levelmedia:-1, slide
- import.listNum = 0
- treatIdAsReference = 1
- width = 900
- height = 300
- }
- }
- }
- 2 < .1
- 2.2.file.import.listNum = 1
- 3 < .1
- 3.2.file.import.listNum = 2
- 4 < .1
- 4.2.file.import.listNum = 3
- 5 < .1
- 5.2.file.import.listNum = 4
- }
- [globalVar = TSFE:id=1]
- temp.slideshow.1.2.file.height = 450
- [else]
- temp.slideshow.1.2.file.height = 300
- [end]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement