Ron
Posts: 26
|
| Posted: 08/06/2004, 10:21 AM |
|
Has anyone had good results integrating any WYSIWYG editors with CCS in a IIS/ASP environment? Some seem UNIX/JSP specific. I tried CuteEditor and can't get it to work with CCS. Here are some products I've found. No of any others?
http://cutesoft.net/asp/ http://www.fckeditor.net/ http://www.interactivetools.com/products/htmlarea/ http://www.interspire.com/devedit/ http://www.wysiwygpro.com/?AffID=Anothersledhead&bn=2 http://xstandard.com/?program=google1
|
 |
 |
dhodgdon
Posts: 80
|
| Posted: 08/06/2004, 11:14 AM |
|
CCS comes with an MS FrontPage plug-in. You have the best of both worlds though I have found some odd things occasionally. Personally, I am doing more and more HTML in CCS and less and less in FrontPage. CCS allows for direct manipulation of many of the most common HTML properties.
_________________
Regards,
David Hodgdon
|
 |
 |
bobaol
Posts: 8
|
| Posted: 08/06/2004, 11:44 AM |
|
I would recommend HTMLarea. It's got a wide user base and lot's of example code.
Good Luck,
Bob
http://www.interactivetools.com/products/htmlarea/
|
 |
 |
desman
Posts: 11
|
| Posted: 03/23/2005, 4:51 PM |
|
I recommend cutesoft .NET version. I have it working, easy to install.
Good luck with your search.
Desman
_________________
ASP.NET man |
 |
 |
Diesel
Posts: 43
|
| Posted: 03/23/2005, 10:28 PM |
|
I would strongly recommend FCK Editor, I have it integrated into my apps and it works perfectly, I even added some features to it using Codecharge Studio!!
You can find the download site at: www.fckeditor.net
A well explained tutorial is available at dataobjx.net
|
 |
 |
csydow
Posts: 22
|
| Posted: 03/24/2005, 4:38 AM |
|
I use InnovaStudio WYSIWYG Editor in my CodeCharge Studio apps...very easy to integrate (just a few lines of code)...only costs $69.95. www.innovastudio.com
|
 |
 |
mark2
|
| Posted: 03/25/2005, 10:20 PM |
|
csydow,
How did you get it working, can you share with us.
Thanks
|
|
|
 |
csydow
Posts: 22
|
| Posted: 03/26/2005, 2:28 AM |
|
For InnovaStudio's latest (2.0) WYSIWYG editor:
1. Put (InnovaStudio) editor directory in root of your project directory (name it editor)
2. In head section of html page (cms is my form name, content is my textarea field name):
<script language="JavaScript" src="editor/scripts/editor.js"></script>
<script>
function submitForm()
{
//Transfer the edited content to the Hidden Form field.
document.forms["cms"].content.value = oEdit1.getHTMLBody();
//cms.submit()
}
</script>
3. Immediately following the textarea code (make this textarea a hidden field) (before closing td or tr - in this case, immediately following my "content" textarea code):
<script>
var oEdit1 = new InnovaEditor("oEdit1");
oEdit1.scriptPath="editor/scripts/";
oEdit1.width="600";
oEdit1.height="300";
oEdit1.btnStyles=true;
oEdit1.cmdAssetManager=true;
oEdit1.cmdAssetManager="modalDialogShow('editor/assetmanager/assetmanager.asp',640,465);";
oEdit1.btnUndo=true;
oEdit1.btnRedo=true;
oEdit1.btnFlash=true;
oEdit1.btnMedia=true;
oEdit1.RENDER(document.forms["cms"].content.value);
</script>
4. To call the javascript in the head, add this code into submit and/or add button:
onclick="submitForm();
5. As you can see in step 3, when oEdit1 is rendered, it loads any data inside cms.content. Step 4, clicking submit or add, calls the javascript in the head...which transfers the data inside oEdit1 to the hidden field (which gets posted to the database).
6. If you plan to use this also in Mozilla or Netscape, it's possible by entering this code into before load of page:
'Check user's Browser
if InStr(Request.ServerVariables("HTTP_USER_AGENT"),"MSIE") then
Response.Write "<script language=JavaScript src='editor/scripts/editor.js'></script>"
else
Response.Write "<script language=JavaScript src='editor/scripts/moz/editor.js'></script>"
end if
7. Other options available - read InnovaStudio guides...
|
 |
 |
Mark2
|
| Posted: 03/26/2005, 3:17 AM |
|
Thanks for that :)
|
|
|
 |
Mikeyman4
|
| Posted: 05/12/2005, 6:40 PM |
|
Hi I tried the code above with Innovastudio editor, but I can't get it to write changes to the database. Can anyone help? Thanks.
|
|
|
 |
Rene S
|
| Posted: 05/13/2005, 8:08 AM |
|
Hi,
If the editor does not have to be to fancy, you can go with Bill Noble's solution. You get a nice extra tab in your ccs toolbox, and of you go.
|
|
|
 |
csydow
Posts: 22
|
| Posted: 05/13/2005, 2:33 PM |
|
Mikeyman4 - if you send me your CCS project, I'll take a look see why it's not working.
|
 |
 |
mikeyman4
|
| Posted: 05/15/2005, 11:57 AM |
|
csydow - thanks for helping. I'm not sure how to send it to you since I can't do an attachment here, but I will post my HTML code. Please let me know if there is a different way for me to do this. Basically, I used your code form above and tried to put it in mine.
<html>
<head>
<title>About</title>
<!-- mike start -->
<script language="JavaScript" src="editor/scripts/editor.js"></script>
<script>
function submitForm()
{
//Transfer the edited content to the Hidden Form field.
document.forms["{HTMLFormName}"].{AboutContent_Name}.value = oEdit1.getHTMLBody();
//{HTMLFormName}.submit()
}
</script>
<!-- mike end -->
</head>
<body>
<!-- BEGIN Record About -->
<form method="post" action="{Action}" name="{HTMLFormName}">
Add/Edit About
<table>
<!-- BEGIN Error -->
<tr>
<td colspan="2">{Error}</td>
</tr>
<!-- END Error -->
<tr>
<td>Content </td>
<td><textarea name="{AboutContent_Name}" cols="50" rows="3" style="display:none">{AboutContent}</textarea>
<!-- mike start -->
<script>
var oEdit1 = new InnovaEditor("{AboutContent_Name}");
oEdit1.scriptPath="editor/scripts/";
oEdit1.width="600";
oEdit1.height="300";
oEdit1.btnStyles=true;
oEdit1.cmdAssetManager=true;
oEdit1.cmdAssetManager="modalDialogShow('editor/assetmanager/assetmanager.asp',640,465);";
oEdit1.btnUndo=true;
oEdit1.btnRedo=true;
oEdit1.btnFlash=true;
oEdit1.btnMedia=true;
oEdit1.RENDER(document.forms["{HTMLFormName}"].{AboutContent_Name}.value);
</script>
<!-- mike end -->
</td>
</tr>
<tr>
<td colspan="2" align="right">
<!-- BEGIN Button Button_Insert --><input name="{Button_Name}" type="submit" value="Add" onclick="submitForm()"><!-- END Button Button_Insert -->
<!-- BEGIN Button Button_Update --><input name="{Button_Name}" type="submit" value="Submit" onclick="submitForm()"><!-- END Button Button_Update -->
<!-- BEGIN Button Button_Delete --><input name="{Button_Name}" type="submit" value="Delete"><!-- END Button Button_Delete -->
</td>
</tr></table>
</form>
<!-- END Record About --></body>
</html>
I appreciate any help you can give me. If you want to email me directly, it'smikeyman4@optonline.net. Thanks again! Mike
|
|
|
 |
Oper
Posts: 1195
|
| Posted: 05/15/2005, 1:15 PM |
|
We use fckeditor work like a charm and you only need to add 1 Line of Code, really great
http://www.globaldevelop.com
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
jm
|
| Posted: 05/17/2005, 4:34 AM |
|
Hi Oper
Can you tells as were the code and were you add it
Thank you
|
|
|
 |