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','wid th','250','height','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?vehicl e=<%=
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
%>&amp;vname=<%=
vname %>&amp;vbody=<%= vbody
%>&amp;type=<%= sType %>" />
<param name="quality" value="high" />
<embed src="flash/used-stock-link-smaller?vehicle=<%=
vehcode
%>&amp;vname=<%= vname %>&amp;vbody=<%=
vbody %>&amp;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','wid th','250','height','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?vehicl e=<%=
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
%>&amp;vname=<%=
vname %>&amp;vbody=<%= vbody
%>&amp;type=<%= sType %>" />
<param name="quality" value="high" />
<embed src="flash/used-stock-link-smaller?vehicle=<%=
vehcode
%>&amp;vname=<%= vname %>&amp;vbody=<%=
vbody %>&amp;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

I've just written a detailed list of editing tips for our internal use that, in addtion to using "Paste Text Only", describe how to avoid or re-key Microsoft Office curly quotes and apostrophes, use only Contribute's Insert | Special Characters, etc.
In addition, I created a new role in which I made the following changes:
Under Editing, under“General editing restrictions”, checked the “Prevent users from inserting images (except shared assets); under “Paragraph spacing, changed so “Enter key moves insertion point down:” “Two lines, as in web page editors (uses standard <p> tags”; under “Other editing options”, unchecked “Allow multiple consecutive spaces”
Under Styles and Fonts, under “Styles and Fonts”, unchecked “Include CSS styles in the Style menu; unchecked “Allow users to apply fonts and sizes”; and unchecked “Allow users to apply font color and background color”.
Under New Pages, unchecked “Create a blank page”
Our initial experimentation indicates this eliminates most of the extraneous and junk HTML code that Contribute otherwise introduces. Time will tell. However, it requires contributors to be pretty rigorous.

Similar Messages

  • "Attempt to open locked file for writing, Result Code = -54" when importing

    I get this error box when importing audio files into a logic session over my network.
    +Attempt to open locked file for writing+
    +Result Code = -54+
    The finder is capable of copying the files over to the local machine, at which point I can successfully import them into my local logic session, but Logic is incapable of doing the same. Strange and annoying.

    Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"?

  • Writing java code in JSP

    Hi All
    I dont know which one of the following is more effective in JSP
    writing java code like <% out.println("Hellooo "); %>
    OR
    writing like <%="hello" %>
    I shall be very much thankful to all those who spare their valuable time to clarify my doubt. I hope my question is not a stupid one.
    Thanks
    Elisha

    when both gives the same out put, why there are two for the same out put?Because it is easier to do this:
    Hello <%= userName %>
    than this:
    Hello <% out.println("userName"); %>
    Also there is a BIG difference in readability and maintainability of the JSP page. JSP pages are all about having html, and a few "fill in the blank" spots. The less <% scriptlet code %> you put on your JSP page, the better. If you want to run java code, do it in a servlet/bean.
    With the advent of JSTL, scriptlet code in JSPs should be a thing of the past.

  • HT1414 My iPhone has crashed during a sync and now I can't restore from backup as it is asking for password to load the backup yet neither the lock code for the phone or my iTunes Password are working... I have no other password to all upon and need the r

    My iPhone has crashed during a sync and now I can't restore from backup as it is asking for password to load the backup yet neither the lock code for the phone or my iTunes Password are working... I have no other password to call upon and need the restore to retrieve info onto my phone, I am a real novice to this...... please help, !!!!

    If anyone else is looking for a solution to this same problem, I was able to get it working looking through several older discussions.
    The solution was to use the password that I had on my iTunes account the very first time I set up the iPhone about a year ago.  I changed my iTunes password about 10 months ago;  but apparently, the backups continue to use the password that existed when the phone was first set up.
    A couple of troubling things with this are that 1) I didn't apply a password when I did the backup this afternoon so I don't understand why it was required when I did the restore a few hours later. and 2) it makes zero sense why iTunes would not be smart enough to use the current accout password when requiring the password to restore from a backup made with no password. 
    I thought iTunes and Apple were smarter than that.  With so many posts stating exactly the same problem, it is clear that this is bug in the software. 
    Best,
    Craig

  • Lock Code request after hard reset

    Hi,
    So I did a hard reset and I knew that I'll lose the Ovi Store. What it's completely new for me is that now each time I'm starting the phone I am requested to input the lock code. I have given 12345 but a message saying "Code fail" is shown and afterwards the phone works normally.
    1. Does anybody know why12345 is not working anymore?
    2. Does anybody know how could I remove this request at startup?
    3. Does anybody know why the phone does react if I am inputting an incorrect code only with a message "Code fail" - I would have expected a lock after multiple inputs but everything is OK.
    4. Does anybody know how can I change this code? - without flashing it at Nokia Service Center (just too far from me). I'm curious if 10000 tries would bring something alhough I am not interested in such a test.

    The default code is 12345 ! Do you have a pin lock on your sim card ? You can also request PUK code from supplier, if no good , you do need Nokia Care Point 
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • Hello friends , I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding. He started with terminal And used a text editor to compil the c program on his mac.. So please tell me how to do the same

    Hello friends , I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding. He started with terminal And used a text editor to compil the c program on his mac.. So please tell me how to do the same and is there any pre stalled text editor on mac if yes then where and if no then which text editor to install and how to install gcc...please help me out thanks in advance !!!

    I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding.
    Why? If you are developing and writing code on a Mac why would you not use the tools Apple has given you? And Xcode, once you get use to it, is a very nice development environment that will make you life a whole lot easier.
    If you insist on using an editor and the terminal I would recommend  Emacs   but it has a long learning curve so  something like TextWrangler  will work too.
    As for the compiler if you have Xcode installed install the command line tools and you will be able to compile from the terminal.
    good luck

  • Phone works even with incorrect lock code

    The phone presents me with a locked screen after boot. No matter what code I type in, it first shows a message saying 'code error' and then lets me through.
    Strange, but any idea why this works like this? I don't see any use of the lock code with this behaviour.
    My c6 is updated with the latest available firmware as of today.

    Hi ryanc6,
    We're sorry to hear about your problem.  
    Have you tried the default lock code 12345?
    Usually the lock code is requested after the update only if you have defined it earlier by locking your phone. You will be able to use the phone even if a wrong code is entered, but your phone will continue to ask for the lock code every time you start your phone. Your phone will also prevent you from performing secure operations, such as locking your phone manually or restoring factory settings, until the correct code has been entered once.
    Please check this thread for Nokia E51, it may contain some solutions you could try.
    If the problem persists, please visit your local Nokia Carepoint and let them have a look.
    Let us know if this helps,
    Puigchild
    If you find this post helpful, a click upon the white star at bottom would always be appreciated.
    If it also solves your problem, clicking ACCEPT AS SOLUTION below it will benefit other users!

  • Lock Code Finder for Nokia 6600

    I have forgot my lock code on nokia 6600. Is there any way recover lock code? does nokia support for this kind of issues ?
    I have no idea where to post this kind of questions. That why I post to your form. I really appreciated community help for this matter.

    If you have forgot your lock code, you will have to take it to a Nokia care point along with proof of ownership.
    You can find your nearest Nokia care point here: http://europe.nokia.com/support/repair-and-recycle/repair/care-points

  • Lock Code Error

    my default lock code was 12345, after few days i decided to change it. that was successful. now i have to reset my phone to the factory's default. I CAN'T. i don't know why. it alerts me "code error". i know my code but it doesn't work. although i cannot change it. i think there is a problem with firmware. i surfed the web too much to solve it. at least i got nothing.
    what can i do. is there anyone can help me.

    All you can do is visit a nokia care point with proof of purchase and they will reset the code. The procedure may wipe all of your data.
    Care points/service centres and repair info:
    UK • Europe • Asia-Pacific • USA •
    Canada • Middle East and Africa
    Elsewhere: Click here, select your country, go to the support section, then select repair.

  • To avoid writing database code in the front end

    Hello,
    I am working on a database application using 10g database as backend and dotnet as front end. I wish to execute only oracle stored procedure for all the select (to avoid hard parse and use of bind variable), DDL and DML operations; just to avoid writing database code in the front end. Can anyone please give me a little examples of :
    1.Select query's output to be return as resultset by stored procedure.
    2.DML example by stored procedure.
    3.Any DDL example by stored procedure.
    using scott.emp, so that i would just call the stored procedure, rather than giving select,DML and/or DDL commands in the front end. Even though i have read in the documentation, but a clear cut examples will help me to get into clear concept as well.
    Thanks & Regards
    Girish Sharma

    Hi...
    -->Select example
    create or replace procedure get_emp(rc out sys_refcursor)
    is
    begin
    open rc for select * from emp;
    end;
    -->DML example
    create or replace procedure do_dml_emp(pempid in number,
    pempname varchar2,
    result out number)
    is
    begin
    insert into emp(empid,empname) values(pempid,pempname) returning empid into result;
    exception
    when others then
    result:=-1;
    end;
    -->DDL example
    create or replace procedure ddl_emp(colname varchar2,
    coltype varchar2,
    result out number)
    is
    begin
    result:=-1;
    execute immediate 'alter table emp add column ' || colname || ' ' || coltype ;
    result:=1;
    end;

  • Lock Code when turn on - 5800XM

    When I had v40 I had to tenter the Lock Code when I turned the phone on (something I did rarely so no problem).
    When I updated to v50 it doesn't ask for the Lock Code now. Any one know how I can set this to happen please?
    Mark

    I tried to paste something from the extended user manual, but it looked weird on the screen, so I've tried to make it look sensible.  I hope the following does the job:
    Select Menu > Settings and Phone > Phone mgmt. > Phone and SIM card. PIN code request — When active, the code is requested
    each time the device is switched on.

  • I am trying to restore my iPhone 5 and my screen is no longer able to use and there is a lock code on the phone, how do i restore the phone without having to use the phonne?

    how do i restore my iPhone with a lock code on the phone and the screen is completely unable to use?

    Forgotten Passcode or device disabled after entering wrong passcode
    If you have Find My iPhone enabled, you can use Remote Wipe to erase the contents of your device. If you have been using iCloud to back up, you may be able to restore the most recent backup to reset the passcode after the device has been erased.
    Alternatively, place the device in recovery mode and restore it to erase the device:
    Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to shut down.
    While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    Continue holding the Home button until you see the Connect to iTunes screen.
    iTunes will alert you that it has detected a device in recovery mode. Click OK, and then restore the device.

  • How do I set up a lock code for my Nokia C2-02?

    Hi, I have a used Nokia C2-02 phone from a seller on eBay.
    I wish to protect my privacy so that other people cannot access my texts, etc.
    When I go to 'settings', 'security', and click on 'access codes', in order to set up a lock code,  the display says'change security code'.
    When I ckick on it, I get a request for my security code.
    Twice now I have keyed in'12345', which I take to be the default code.
    Each time I get an error message and the second time it said that I have only one more chance to key in the correct code.
    Perhaps the previous owner had a code, which I take to be the same as a security keyguard code.
    When I go to 'device' in 'settings', it says that the security keyguard is off.
    I can switch it on, but to activate it I again need to key in a code.
    Am I corect in thinking that either someone has alrerady set up a code or the default code is not '12345'?
    Also, What can I do to set up my own code?
    Fianally, What if I use a pin code? Will that protect my privacy?
    Do I have to get in touch with my network provider ( Tesco Mobile) in order to set it up?
    I'd appreciate any help anyone can give,
    Laurence
    Solved!
    Go to Solution.

    If I used a  pin code instead, would it protect my privacy?
    would it stop those without the code reading my texts and so on?
    PIN Code is basically for the SIM card and not the phone. Talking of privacy, your phone will be fully explorable if the SIM card is removed, so PIN scenario is pretty wasteful. Majority of the phones only ask for the PIN code when the phone is started and register the SIM to the network only wen PIN is furnished.
    If It does not work I could find that I have locked the phone, which could necessitate sending it to the Nokia Care centre.
    This is where the online free service may come in. It claims that it can find the security mastercode for any individual phone, based on the IMEI number, which you access by keying in asterisk, hash, 06, hash, or by taking the back off the phone and looking inside.
    Armed with the 10-digit mastercode you key it in and it unlocks the phone.
    That, at least, is the claim, but on another mastercode site there's a warning that the mastercode works only for older models.
    I have my mastercode, but I don't know whether to take the chance.
    Does anyone have any views on this?.
    , Cheers, Laurence
    Unfortunately, these type of Master Codes do not work. If ever they worked, the phones would become too easy to break in. As far as I can remember, I have not seen any person with a claim that one of those Master Codes worked for them. Maybe they worked for very very old 1st gen devices from Nokia, but not anymore. The security code is based on what user enters in the settings and there doesn't exist any master code to over-ride that. If it would, Nokia Care should be making use of that instead refurbishing/flashing the phones in every case that called for Keyguard Code.

  • How do i set a locking code to my macBook Pro?

    How do I set a locking code on my MacBook Pro?

    >system Preferences>Users &Groups
    Unlock the padlock
    Login options
    turn off automatic login

  • TS1292 Purchased gift cards about a year ago. Misplaced two of them. Found them yesterday, tried to use one today. Invalid. If the money is tagged to the card code why is it invalid? Now have to take photos of both sides and find receipt? Guess out $20?

    Purchased gift cards about a year ago. Misplaced two of them, but Found them yesterday. i tried to use one today. Invalid. If the money is tagged to the card code why is it invalid? Now have to take photos of both sides and find receipt? Finding the receipt might take as long as .finding the cards. If I paid hard earned money for the card from a computer company why would that card not be in their data base waiting to be activated? I guess I am out $20 to Apple for not activating immediately! My account was hacked once so I won't put a credit card in and live with gift cards. Now I am getting hit for $20, two gift cards for ten each. I now question who and how people are making money?? Is my only solution, buy card, redeem code instantly, purchase item?

    Hi Oxfordataloss,
    Thanks for posting. I'm really sorry you've had such problems with BT, it's certainly not the kind of service we would hope to provide. I'll take your comments on board and if you don't receive the final bill as expected please drop me an email with the account details and a link to this thread for reference.
    Cheers
    David
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

Maybe you are looking for

  • Input Elements & PL/SQL Parameters

    I have a FORM open/close HTML block on top...then below the block I have inputs...***THOSE INPUTS ARE NOT TO BE TARGETED TO PARAMETERS *** How can one prevent those input from being intepreted as parameter entries W/O removing the name attribute ? Th

  • How can I combine existing PDF files?

    I ordered Adobe Pro because I have a whole bunch of PDF files I would like to combine.

  • Formatting characters shown in SQL worksheet in version 2.1.1.64

    Hi, Using version 2.1.1.64 When I type SQL in the SQL worksheet is it showing formatting characters - for example all spaces display as a light grey dot and a carriage return character appears at the end of every line. The formatting characters were

  • How much is it to upgrade from the student edition

    I have the student edition of labview and am trying to turn the program I built to an executable.  I am trying to transfer the program to another computer but it needs to be an executable file. I need the software to be able to. What do I buy to upgr

  • FM for inser bseg and bkpf

    Is there is any functional module avaibale to insert bkpf and bseg table very urgent please Thanks Ramki