Eros
|
Posted: 09/16/2003, 1:00 PM |
|
Does someone did a try to FCKEditor at http://www.fredck.com/fckeditor/
I'm trying to integrate using CCS2.1 and ASP but no success.
Thanks a lot
Eros
|
|
|
Admin - CodeChargers
|
Posted: 09/16/2003, 1:53 PM |
|
Have you tried the one that Bill Noble created?
Intergrates seamlessly with CCS... I've generated ASP and PHP websites with it without any problems.
Read more at CodeChargers - http://www.codechargers.com/forum/showthread.php?s=&threadid=479
Regards
Admin - CodeChargers http://www.CodeChargers.com
|
|
|
RonB
|
Posted: 09/16/2003, 2:49 PM |
|
Nice editor though.
Ron
|
|
|
Eros
|
Posted: 09/16/2003, 2:52 PM |
|
Yes, is really very good. Also consider that you can place many editors in the same page. It also support file upload.
I've integrated it very easily using JScript version but the problem is how to pass filed data to editor and than pass back edited text to fields.
Any help?
In the heade page:>>>>>>>>
--------------------------
<SCRIPT language="javascript" src="../fckeditor/fckeditor.js"></SCRIPT>
In the page:>>>>>>>>
--------------------------
<SCRIPT language="javascript">
<!--
var oFCKeditor ;
oFCKeditor = new FCKeditor('EditorDefault') ;
oFCKeditor.Width = '100%' ;
oFCKeditor.Height = 400 ;
oFCKeditor.Value = 'This is some <B>sample text</B>.' ;
oFCKeditor.Create() ;
//-->
</SCRIPT>
|
|
|
Mehmet Ozdemir
|
Posted: 09/16/2003, 5:46 PM |
|
I converted to FCK from HTMLArea about 2 months ago and haven't looked back. The easiest way i have found is to:
define a hidden textbox, set it to type memo
use and iframe for FCKEditor see below, so where my hidden field is "DetailedDescription"
<iframe src="/FCKeditor/fckeditor.html?FieldName=DetailedDescription&Toolbar=Livesite&Upload=false&Browse=false" width="100%" height="400" frameborder="no" scrolling="no"></iframe><input type="hidden" name="{DetailedDescription_Name}" value="{DetailedDescription}">
AND THATS IT !
This way all FCKEditor stuff lives in the FCKEditor direcorty meaning I don't have to re-intergrate it into every project and I only need 1 tag <iframe> to use it in my CCS Pages.
|
|
|
Eros
|
Posted: 09/17/2003, 12:23 AM |
|
Mehmet,
thanks for you tip but I'm getting error on toolbar.
A messagebox appear saying: "Toolbar set 'LiveSite' dosn't exists" and no toolbar is shown.
Also when FORM is submitted, edited text has been duplicated every time.
Any help?
Thanks again.
Eros
|
|
|
Eros
|
Posted: 09/17/2003, 12:27 AM |
|
OK I solved the duplication problem.
Doubled declared field. My fault.
Still getting toolbar error message.
|
|
|
Eros
|
Posted: 09/17/2003, 12:47 AM |
|
OK I solved ToolBasSet error message.
I was passing wrong ToolBarSet name.
Now a last problem.
I'm editing a memo field.
If I set a hidden input field, memo data is not collected: field is empty.
If I use a textarea all is working fine.
How to make a textarea hidden?
Again thanks for any help.
Eros
|
|
|
Mehmet Ozdemir
|
Posted: 09/17/2003, 4:19 PM |
|
Toolbar=Livesite
Livesite is a CUSTOM toolbar I created, just leave it out and it will use the default toolbar.
As for your second problem: this is the key. FieldName=DetailedDescription this means that your hidden textbox MUST be named DetailedDescription.
|
|
|
Eric Greene
|
Posted: 09/17/2003, 5:08 PM |
|
That works fine Mehmet and I like it <g>
But how can I get your IFrame to appear on the 'record form' where I want it to appear, to the right of the caption for the "FieldName=DetailedDescription"
At the moment your Iframe displays below the record form
Eric
|
|
|
Eros
|
Posted: 09/17/2003, 10:34 PM |
|
Mehmet,
thanks, editor is working fine.
The problem is that I'm not able to create a TextBOX "hidden".
I'm only able to create a "hidden" TextBOX and because DB field is a memo field the "hidden" TextBOX does not contain any text.
Maybe I'm making some mistake somewhere else ... I have to double check it again.
Thanks
|
|
|
DaveRexel
|
Posted: 09/23/2003, 1:11 PM |
|
::
Hello Eros,
>I'm trying to integrate using CCS2.1 and ASP but no success.
Please look at the second section of this tutorial, the hidden field problem was resolved there :
http://www.rexdesign.com/ccs/kb.php?language_id=1&categ...=59&event_id=83
(free registration required)
Hope this helps
Dave
|
|
|
Rene Rene
|
Posted: 12/11/2003, 9:17 AM |
|
Hello Mehmet,
I am using CSS 2.2.4... (newest) XPpro, ASP, Access, IIS 5.1
I've managed to implement FCKEditor using your instructions (iframe etc).
My problems right now are:
After implementing FCKEditor in design mode, I cannot edit anything more on the page. Looks "freezed". don't get any properties of other fields etc.
After I upload the page, I can insert new articles using FCKEditor (very very nice), but I cannot edit existing pages? The existing text does not show in FCKEditor.
Could you please help me with this?
I'm a semi novice, so if you could eleborate...
Thanks alot,
Rene
|
|
|