We just bought the upgrade for the Ektron editor.

Maybe I'm behind the times but I've still got "cfsetting
enableoutputonly=yes/no" on just about every page. We're running on CF5.

Unfortunately this breaks the new Ektron editor 3.0 which does not have
proper cfoutputting in the cfa_htmleditor.cfm file.

The javascript beginning on line 81 should be surrounded by CFOUTPUTs
instead of just cfoutputting the URL string.

The javascript beginning on line 99 should be CFOUTPUTted as well.

Broken code from cfa_htmleditor.cfm beginning with line 81:

<script language="JavaScript1.2">
        function InsertHyperlink(name) {
                PopUpWindow(eWebEditPro.parameters.path +
'hyperlinkpopup.cfm?editorName=' + escape(name)+
'&<cfoutput>#URLSTRING#</cfoutput>', 'HyperlinkList', 500, 300, 1);
        }
        function initTransferMethod(sEditor){
                var Transfer = eWebEditPro.parameters.path +
"imagepopup.cfm?<cfoutput>#URLSTRING#</cfoutput>";
        
eWebEditPro[sEditor].MediaFile().setProperty("TransferMethod", Transfer);
        }
</script>

<CF_eWebEditPro3 
        Name="#Attributes.webform#"
        config="#Attributes.config#" 
        Width="#Attributes.nWidth#" 
        Height="#attributes.height#" 
        Value="#Attributes.HTML#" 
        Path="/allaire/spectra/ewebeditpro/"
        >
<script language="JavaScript1.2">
        eWebEditPro.onready =
"initTransferMethod(eWebEditPro.event.srcName)";
</script>               


This works:

<cfoutput>
<script language="JavaScript1.2">
        function InsertHyperlink(name) {
                PopUpWindow(eWebEditPro.parameters.path +
'hyperlinkpopup.cfm?editorName=' + escape(name)+ '&#URLSTRING#',
'HyperlinkList', 500, 300, 1);
        }
        function initTransferMethod(sEditor){
                var Transfer = eWebEditPro.parameters.path +
"imagepopup.cfm?#URLSTRING#";
        
eWebEditPro[sEditor].MediaFile().setProperty("TransferMethod", Transfer);
        }
</script>
</cfoutput>     

<CF_eWebEditPro3 
        Name="#Attributes.webform#"
        config="#Attributes.config#" 
        Width="#Attributes.nWidth#" 
        Height="#attributes.height#" 
        Value="#Attributes.HTML#" 
        Path="/allaire/spectra/ewebeditpro/"
        >

<cfoutput>
<script language="JavaScript1.2">
        eWebEditPro.onready =
"initTransferMethod(eWebEditPro.event.srcName)";
</script>               
</cfoutput>     


______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                        
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to