[TYPO3] levelmedia: -1
Bas van der Togt
b.vandertogt at profinit.com
Wed Jun 27 22:50:06 CEST 2007
Hello list,
I build the following TS:
lib.slideshow = TEXT
lib.slideshow.field = media
lib.slideshow.wrap (
<script type="text/javascript">
window.onload = function() {
var tempString = "|";
var tmpArray = tempString.split(",");
var imgArray = new Array();
for (var ii = 0; ii < tmpArray.length; ii++) {
imgArray[ii]=tmpArray[ii];
}
myShow = new Slideshow('slideshowAlgebra', {hu:
'/uploads/media/', images: imgArray});
}
</script>
)
page.headerData.20 < lib.slideshow
It's showing a slideshow with the pictures from the media field. It's
now only working on the page where all the pictures are added in the
pageheader. Does anybody know how to implement something like "
import.data = levelmedia: -1, slide" in my script? So it's parsing the
pictures from a level up if there are now pictures availeble.
Any help would be great!
cheers,
Bas
More information about the TYPO3-english
mailing list