Hello,
My first post to the list in maybe 3 years. Back in 2003-4 my partner and I built a midsize educational framework Class::DBI and Template-Toolkit (v 2.11 then, 2.19 now) project for the U.S. Dept. of Education. It worked fine for 4 years until the host folded up shop. I got it back live today on a new host and now that all the modules were in place it seems to work just fine except for one problem. Some templates need to embed Flash animations and the URLs are now url-encoded like %2Fcourses%2Fwetlands%2Fm%2Fi0101.swf. I have looked at the ported DB records and the values are not encoded eg /courses/wetlands/m/i0101.swf In this code the page object is a CDBI sub-class and the path_to_flash is a mySQL value. The template code looks like this: [% PROCESS courses/wetlands/header.html %] [% path = page.path_to_flash _ "?page_id=" _ page.id _ "&rm=first_question" %] <CENTER> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca b#version=6,0,0,0" WIDTH="650" HEIGHT="450" id="flash_intro" ALIGN=""> <PARAM NAME=movie VALUE="[% path | uri %]"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="[% path | uri %]" quality=high bgcolor=#FFFFFF WIDTH="650" HEIGHT="450" NAME="flash_intro" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT> </CENTER> </td> </tr> [% PROCESS courses/wetlands/footer.html %] And is outputting this: <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca b#version=6,0,0,0" WIDTH="650" HEIGHT="450" id="flash_intro" ALIGN=""> <PARAM NAME=movie VALUE="%2Fcourses%2Fwetlands%2Fm%2Fi0101.swf%3Fpage_id%3D2%26rm%3Dfirst_ques tion"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="%2Fcourses%2Fwetlands%2Fm%2Fi0101.swf%3Fpage_id%3D2%26rm%3Dfirst_questi on" quality=high bgcolor=#FFFFFF WIDTH="650" HEIGHT="450" NAME="flash_intro" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT> Could this be a TT version issue? Any advice where to look? David Martin
