I made some changes to the fck_link.html and changed it to fck_link.cfm, so it would read my queries and output. Basically I was making a pull down to use custom page links within the CMS and would automatically fill in the url line in the pop up dialog box. How can I accomplish this in CKEditor 3.x.
<body scroll="no" style="OVERFLOW: hidden"> <div id="divInfo" style="DISPLAY: none"> <span fckLang="DlgLnkType">Link Type</span> <select id="cmbLinkType" onChange="SetLinkType(this.value);"> <option value="url" fckLang="DlgLnkTypeURL" selected="selected">URL</option> <option value="anchor" fckLang="DlgLnkTypeAnchor">Anchor in this page</option> <option value="email" fckLang="DlgLnkTypeEMail">E-Mail</option> </select><span fckLang="DlgLnkProto">Protocol</span> <select id="cmbLinkProtocol"> <option value="http://" selected="selected">http://</option> <option value="https://">https://</option> <!--- <option value="ftp://">ftp://</option> <option value="news://">news://</option> <option value="" fckLang="DlgLnkProtoOther"><other></option> ---> </select> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin var subpage = ""; function InitSaveVariables(form) { subpage = form.subpage.value; } function ShipToBillPerson(form) { if (form.copy.checked) { InitSaveVariables(form); form.txtUrl.value = form.subpage.value; } } // End --> </script> <cfquery name="webdir" datasource="TSC"> SELECT schoolid, web_directory FROM schools WHERE schoolid = <cfqueryparam value="#SESSION.schoolid#" cfsqltype="cf_sql_clob" maxlength="50"> </cfquery> <cfquery name="list" datasource="TSC"> SELECT * FROM web_schools where web_schools.page_type != 1 AND web_schools.schoolid = #session.schoolid# ORDER BY name </cfquery> <form method="post" action="" name="billform">Sub Page: <select name="subpage" id="subpage"> <option selected="selected"> </option> <cfoutput query="list"> <option value="smart.tsc.k12.in.us/webpages/schools/#webdir.web_directory#/index.cfm?pagetype=0&newsid=#list.sup_id#">#list.name#</option></cfoutput> </select> Use Page? <input type="checkbox" name="copy" onclick="javascript:ShipToBillPerson(this.form);" value="checkbox" /> <div id="divLinkTypeUrl"> <table cellspacing="0" cellpadding="0" width="100%" border="0" dir="ltr"> <tr> <td nowrap="nowrap"> </td> <td nowrap="nowrap"> </td> </tr> <tr> <td nowrap="nowrap" width="100%"> <span fckLang="DlgLnkURL">URL</span> <input id="txtUrl" style="WIDTH: 100%" type="text" onKeyUp="OnUrlChange();" onChange="OnUrlChange();" /> </form>