Hi There
I’m just trying to add some extra functionality into an old Intranet site we use at work. I basically want users to be able to add .swf (flash files) to web pages via DCT/ .tpl relationship, which is the language used by TEAMSITE (Interwoven).
The code I’m using in my .tpl is listed below, but when I generate the html page I get the following error:
Preview And Generate Error:
XML parse error:
not well-formed (invalid token) at line 133, column 17, byte 7618 at /web/soft/iw-home/iw-perl/vendor/lib/XML/Parser.pm line 187
:/default/main/intranet/asset_servicing/WORKAREA/asset_servicing/templatedata/intra_page/html/presentation/html.tpl
.tpl code
<iw_if expr=“iwpt_dcr_value(‘dcr.Secondary Navigation.Secondary Navigation Flash Image’) ne ‘’”>
<iw_then>
<!-- Secondary Navigation Image –>
<tr valign=“top”>
<td><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" id="{iw_value name='$siteRoot'/}{iwpt_dcr_value('dcr.Secondary Navigation.Secondary Navigation Flash Image')}" ALIGN="left">
<PARAM NAME=movie VALUE="{iw_value name='$siteRoot'/}{iwpt_dcr_value('dcr.Secondary Navigation.Secondary Navigation Flash Image')}">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="{iw_value name='$siteRoot'/}{iwpt_dcr_value('dcr.Secondary Navigation.Secondary Navigation Flash Image')}" quality=high NAME="{iw_value name='$siteRoot'/}{iwpt_dcr_value('dcr.Secondary Navigation.Secondary Navigation Flash Image')}" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>
</td>
</tr>
<tr valign="top">
<td height="1"><img src="{iw_value name='$siteRoot'/}/images/global_images/clear.gif" alt="*" height="1" border="0"/></td>
</tr>
</iw_then>
</iw_if>
I was just wondering if anyone had any ideas as to what I might be doing wrong here? Line 133 is
<PARAM NAME=movie VALUE=“{iw_value name=‘$siteRoot’/}{iwpt_dcr_value(‘dcr.Secondary Navigation.Secondary Navigation Flash Image’)}”>
, so I presume the issue lies here?
Any help or pointers would be greatly appreciated.
Many thanks in advance