The first page has a link that points to the second page passing a variable in the URL.
The second page has to display a flash object (zoomify) that needs a variable to be set (the path of the image to be displayed).
In the content of the first page I wrote:
Code: Select all
{cms_selflink page="player" text="Zoom Image" urlparam="&zoomifyImagePath=my_img_folder"}
The second page (the "player") is empty and has a separate template in which I put the code (in the content div):
Code: Select all
{object src='player.swf' height='600' width='100%' param='FlashVars::zoomifyImagePath=my_img_folder&zoomifyX=0&zoomifyY=0&zoomifyZoom=15&zoomifyToolbar=1&zoomifyNavWin=1&zoomifyNavWidth=75&zoomifyNavHeight=75&zoomifySlider=1'}
In a word, I don't know how to get a variable and set it in an object tag.
I have read the smarty documentation about variables but I didn't find any solution.
Any help would be apreciated.
Thank you