Brian Fuller
|
| Posted: 02/17/2003, 7:56 AM |
|
Has anyone any experience of the ACE Tool from www.yusasp.com
Advanced Content Editor is an extremely powerful Web-based WYSIWYG Content Authoring & Editing tool that allows you to create online HTML editing application for real time web content publishing.
|
|
|
 |
TeknoFile
|
| Posted: 02/17/2003, 7:38 PM |
|
Hi Brian,
I've bought the ACE package from yusasp.com, and have incorporated it into a number of projects without difficulty. I've used it in an ASP application with no fuss at all, and have also used it with PHP, which was a bit more work. I'm busy porting the application to ASP.NET at the moment, and I must say that it's been a huge help to have such good code, as it's making the process way easier than I thought it would be.
|
|
|
 |
George James
|
| Posted: 02/17/2003, 8:30 PM |
|
I also use this editor and have also incorporated it into many projects.
To TeknoFile,
I was also working on a port to ASP.NET, but I had to put into hold because of other commitments. I bundled the script in a Web User Control, which I placed in the page header. Then I create anther user control used to create the instances (to support more then one instance on a page).
I would appreciate in getting a hold of your copy if you’re willing.
ghjames@nudigital.com
|
|
|
 |
Marcus
|
| Posted: 02/17/2003, 8:58 PM |
|
To TeknoFile,
could you share a project (CC with ASP) showing implemantation of ACE ?
I have the new ACE_3.3.
Thanks,
Marcus
rex_marcus@yahoo.com
|
|
|
 |
Brian Fuller
|
| Posted: 02/17/2003, 11:18 PM |
|
Thanks for responding, TeknoFile and George
I'm just using ASP and I would be most grateful for any tips or help you could pass on about linking with ACE. It would save me a lot of "work" and others who have also purchased or are considering using ACE.
Cheers
Brian Fuller
|
|
|
 |
jbressan
|
| Posted: 02/18/2003, 4:04 AM |
|
this is an example of "ace" in asp proyect.
<html>
<head>
.
.
.
<!-- STEP 1: include js files -->
<script language="JavaScript" src="yusasp_ace.js"></script>
<script language="JavaScript" src="yusasp_color.js"></script>
<script>
//STEP 5: prepare submit FORM function
function SubmitForm()
{
//STEP 6: Before getting the edited content, the display mode of the editor
//must not in HTML view.
if(obj1.displayMode == "HTML")
{
alert("Please uncheck HTML view")
return ;
}
if(obj2.displayMode == "HTML")
{
alert("Please uncheck HTML view")
return ;
}
//STEP 7: Here we move the edited content into a form field.
bn_m_Articulos.Resumen.value = obj1.getContentBody()
bn_m_Articulos.Articulo.value = obj2.getContentBody()
//STEP 8: Form submit.
bn_m_Articulos.submit()
}
</script>
.
.
</head>
<body>
.
.
.
<tr>
<td class="ClearDataTD" colspan="2"><strong>Resumen</strong><br>
<input type="hidden" value="{Resumen}" name="Resumen" ID=Resumen>
<!-- STEP 2: Attach Editor -->
<script>
var obj1 = new ACEditor("obj1")
obj1.width = "100%" //set editor dimension
obj1.height = 300
obj1.useStyle = false //here is how to enable/disable toolbar buttons
obj1.useAsset = true
obj1.usePageProperties = false
obj1.useImage = true
obj1.ImagePageURL = "default_image.asp" //specify Image library management page
obj1.RUN() //run & show the editor
obj1.putContent(bn_m_Articulos.Resumen.value)
</script>
</td>
</tr>
<tr>
<td class="ClearDataTD" colspan="2"><strong>Articulo</strong><br>
<input type="hidden" value="{Articulo}" name="Articulo" ID=Articulo>
<!-- STEP 2: Attach Editor -->
<script>
var obj2 = new ACEditor("obj2")
obj2.width = "100%" //set editor dimension
obj2.height = 400
obj2.useStyle = false //here is how to enable/disable toolbar buttons
obj2.useAsset = true
obj2.usePageProperties = false
obj2.useImage = true
obj2.ImagePageURL = "default_image.asp" //specify Image library management page
obj2.RUN() //run & show the editor
obj2.putContent(bn_m_Articulos.Articulo.value)
</script>
</td>
</tr>
.
.
.
<tr>
<td colspan="2" align="right" nowrap class="ClearFooterTD">
<!-- BEGIN Button Insert --><input name="Insert" type="submit" value="Agregar" class="ClearButton" onclick="SubmitForm()"><!-- END Button Insert -->
<!-- BEGIN Button Update --><input name="Update" type="submit" value="Actualizar" class="ClearButton" onclick="SubmitForm()"><!-- END Button Update -->
<!-- BEGIN Button Delete --><input name="Delete" type="submit" value="Borrar" class="ClearButton" onclick="SubmitForm()"><!-- END Button Delete --> </td>
</tr>
</table>
</form>
.
.
.
</body>
</html>
|
|
|
 |
Brian Fuller
|
| Posted: 02/18/2003, 11:08 AM |
|
Thank you jbressan for publishing your code.
It's a shame it is not an extension for ACE 
I'm very grateful
Brian
|
|
|
 |
frocco
|
| Posted: 06/09/2003, 1:51 PM |
|
Hello,
I'm still having trouble understanding how to use this editor in CCS.
Can someone send me an example?
How do I get the contents from the editor into the database field before insert?
I'm using ASP & Templates and PHP & Templates
Thanks
Frank Rocco
farocco@hotmail.com
|
|
|
 |
BillGates
|
| Posted: 06/10/2003, 11:04 AM |
|
I need more money so please buy stuff like this when there are equally good free alternatives.
|
|
|
 |