Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
@ndyB #1
Contribute 4 writing locked code... WHY?
Hi there learned chaps,
I've designed a site that will be content managed through Contribute 4. On
some of the pages I've got some small Flash applets which I'm feeding in
from asp variables. These flash applets are not editable regions, but when
my client goes in and adds anything in an editable region it seems to be
rewriting the flash script, and worse still it's buggering it up, even
though it should be locked code.
Here is was the code is like before it's touch with Contribute:
<script type="text/javascript">
AC_FL_RunContent(
'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','250','heigh t','72','title','Stockacre
used <%= vname %>','src','flash/used-stock-link-smaller?vehicle=<%= vehcode
%>&vname=<%= vname %>&vbody=<%= vbody %>&type=<%= sType
%>','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','flash/used-stock-link-smaller?vehicle=<%=
vehcode %>&vname=<%= vname %>&vbody=<%= vbody %>&type=<%= sType %>' ); //end
AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
width="250" height="72" title="Stockacre used <%= vname %>">
<param name="movie"
value="flash/used-stock-link-smaller?vehicle=<%= vehcode %>&vname=<%=
vname %>&vbody=<%= vbody %>&type=<%= sType %>" />
<param name="quality" value="high" />
<embed src="flash/used-stock-link-smaller?vehicle=<%= vehcode
%>&vname=<%= vname %>&vbody=<%= vbody %>&type=<%= sType %>"
quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="250" height="72"></embed>
</object>
</noscript>
And this is it after:
<script type="text/javascript">
AC_FL_RunContent(
'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','250','heigh t','72','title','Stockacre
used <MM:BeginLock unremovable type="MM_EDITTEXTONLY"
orig="%3C%25=%20vname%20%25%3E"><%= vname
%></script><MM:EndLock>','src','flash/used-stock-link-smaller?vehicle=<%=
vehcode %>&vname=<%= vname %>&vbody=<%= vbody %>&type=<%= sType
%>','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','flash/used-stock-link-smaller?vehicle=<%=
vehcode %>&vname=<%= vname %>&vbody=<%= vbody %>&type=<%= sType %>' ); //end
AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
width="250" height="72" title="Stockacre used <%= vname %>">
<param name="movie"
value="flash/used-stock-link-smaller?vehicle=<%= vehcode %>&vname=<%=
vname %>&vbody=<%= vbody %>&type=<%= sType %>" />
<param name="quality" value="high" />
<embed src="flash/used-stock-link-smaller?vehicle=<%= vehcode
%>&vname=<%= vname %>&vbody=<%= vbody %>&type=<%= sType %>"
quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="250" height="72"></embed>
</object>
</noscript>
How can I stop this from happening?
Cheers,
@ndyB
@ndyB Guest
-
Contribute Overwritting Style In Locked Region
Have template based table site using CSS. Have an editable region for user to change content with Contribute. She updated a page in the editable... -
Locked code in an Editable Region!
I'm just learning Dreamweaver (graduating from Frontpage), and have run into a problem. I've created a few documents based on a template I had... -
any code or tutorials on writing a forum?
I'd like to write a forum, now I realise there are many out there but its basically for learning more about php. The only bit I cant get my head... -
advice on writing client code
Don't worry, I just found out that a new dev company picked up the propject and aren using .net also! Lachlan -
A failure occurred writing to the resources file. Access is denied. -- RESX file is locked? -- WHY?
Hi. This is an error that comes up fairly regularly when trying to run the "Rebuild All" command in a Solution that contains more than one...



Reply With Quote

