Hello All,
I am going nuts. I think I am missing something. I have looked at the documentation and scanned support area for a hint of what I may be doing wrong.
I have place the code below within my ASP page and the the button for the browser will not display and the skin is not recognized. Any help would be appreciated.
I am also getting an error from the browser:
"Error: uncaught exception: [CKEDITOR.editor] The instance "pagescontent" already exists."
When I look at the source from the browser, I see the code has been changed to:
Thanks
I am going nuts. I think I am missing something. I have looked at the documentation and scanned support area for a hint of what I may be doing wrong.
I have place the code below within my ASP page and the the button for the browser will not display and the skin is not recognized. Any help would be appreciated.
I am also getting an error from the browser:
"Error: uncaught exception: [CKEDITOR.editor] The instance "pagescontent" already exists."
<%
dim initialValue, editor
initialValue = PagesContent
set editor = New CKEditor
editor.basePath = "ckeditor/"
editor.editor "pagescontent", initialValue
%>
<script type="text/javascript">//<![CDATA[
CKEDITOR.replace( 'pagescontent',
{
filebrowserBrowseUrl : 'listphotos.asp',
filebrowserImageBrowseUrl : 'listphotos.asp',
skin : 'office2003'
});
//]]></script>
When I look at the source from the browser, I see the code has been changed to:
<textarea name="pagescontent" rows="8" cols="60"></textarea>
<script type="text/javascript" src="ckeditor/ckeditor.js?t=A5AB4B6"></script>
<script type="text/javascript">//<![CDATA[
CKEDITOR.replace('pagescontent', null);
//]]></script>
<script type="text/javascript">//<![CDATA[
CKEDITOR.replace( 'pagescontent',
{
filebrowserBrowseUrl : 'listphotos.asp',
filebrowserImageBrowseUrl : 'listphotos.asp',
skin : 'office2003'
});
//]]></script>
Thanks

Re: Customer File Browser Problems
I used the code that was generated from the browser source and pasted into the source page and now everything works fine. Looks like there is something wrong with ASP version example.
<textarea name="pagescontent" rows="8" cols="60"></textarea> <script type="text/javascript" src="ckeditor/ckeditor.js?t=A5AB4B6"></script> <script type="text/javascript">//<![CDATA[ CKEDITOR.replace( 'pagescontent', { filebrowserBrowseUrl : 'listphotos.asp', filebrowserImageBrowseUrl : 'listphotos.asp', skin : 'office2003' }); //]]></script>There was also a line of code below, that I removed after the <TEAXTAREA> declaration.
<script type="text/javascript">//<![CDATA[ CKEDITOR.replace('pagescontent', null); //]]></script>For some reason it was giving me the excepion error within the browser. Also, I am using FF 3.6.8