I have been looking for a good html editor for creating a CMS. I have to say that this one looks the best for features. I have installed it but have one simple question - how do I get it to save the text that is added? I have an existing form for a News Manager program that saves the inputted data to an MS Access database. The code I am using for this now, using FCKeditor is:
<form ACTION="<%=MM_editAction%>" METHOD="POST" name="frmAddNews" id="frmAddNews">
<table width="80%" border="0">
<tr>
<td class="bodyText-bold"><div align="right">Headline:</div></td>
<td><input name="news-headline" type="text" id="news-headline" /></td>
</tr>
<tr>
<td class="bodyText-bold"><div align="right">Full News: </div></td>
<td><%
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "/FCKeditor/"
oFCKeditor.Create "FCKeditor1"
%></td>
</tr>
<tr>
<td class="bodyText-bold"><div align="right">Make News 'Live' ??: </div></td>
<td><select name="news_live" id="news_live">
<option>y</option>
<option>n</option>
</select></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="Submit" /></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
<input type="hidden" name="MM_insert" value="frmAddNews">
</form>
This adds:
a) A news headline for display on the Home Page;
b) A Full Story for display on the News body page;
Prior to using FCKeditor I used:
<textarea name="newsbody" cols="60" rows="10" id="newsbody"></textarea>
to add the full news story.
Now when I click 'Submit' it inputs the headline but nothing for 'newsbody'. Where does the data inputted from the editor go and how do I get it into the database so that it can be displayed on the page?
<form ACTION="<%=MM_editAction%>" METHOD="POST" name="frmAddNews" id="frmAddNews">
<table width="80%" border="0">
<tr>
<td class="bodyText-bold"><div align="right">Headline:</div></td>
<td><input name="news-headline" type="text" id="news-headline" /></td>
</tr>
<tr>
<td class="bodyText-bold"><div align="right">Full News: </div></td>
<td><%
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "/FCKeditor/"
oFCKeditor.Create "FCKeditor1"
%></td>
</tr>
<tr>
<td class="bodyText-bold"><div align="right">Make News 'Live' ??: </div></td>
<td><select name="news_live" id="news_live">
<option>y</option>
<option>n</option>
</select></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="Submit" /></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
<input type="hidden" name="MM_insert" value="frmAddNews">
</form>
This adds:
a) A news headline for display on the Home Page;
b) A Full Story for display on the News body page;
Prior to using FCKeditor I used:
<textarea name="newsbody" cols="60" rows="10" id="newsbody"></textarea>
to add the full news story.
Now when I click 'Submit' it inputs the headline but nothing for 'newsbody'. Where does the data inputted from the editor go and how do I get it into the database so that it can be displayed on the page?
RE: Total Noobie - please help me get started
You're creating a control called "FCKeditor1" then looking for the results in "newsbody".

Change
oFCKeditor.Create "FCKeditor1"
to
oFCKeditor.Create "newsbody"
Good luck with your CMS. I'm doing the same and switching from htmlArea to FCKeditor. So far so good...
RE: Total Noobie - please help me get started