Ever asked;
Ok So many users have a neat App called Dreamweaver(any version).
I have seen that not many know of or have achieved the method of integrating this classic FCKeditor into their pages.
Enough rambling, let's start;
Firstly you need to have a page that has the ability to update a database (ASP, PHP, Whatever you use, etc...)
So we start off with a very basic page that has this;
Now your job is to make these form values update your table in (ASP, PHP, Whatever you use, etc...)
Once that part is done, it's time to add the FCKeditor.
This is just a basic guideline - it works believe me! (or don't)
Below your Dreamweaver Insert / Update queries add this;
// Please note the spelling of FCKeditor
In BETWEEN the <head tags> (normally above </head>)add this;
Now with these ADDitions you should now have a workin copy of FCKeditor in Dreamweaver (ASP, PHP, Whatever you use, etc...)
Cheers
"How to integrate FCKeditor with Dreaweaver?"
Below I will attempt to show you how.
Ok So many users have a neat App called Dreamweaver(any version).
I have seen that not many know of or have achieved the method of integrating this classic FCKeditor into their pages.
Enough rambling, let's start;
Firstly you need to have a page that has the ability to update a database (ASP, PHP, Whatever you use, etc...)
So we start off with a very basic page that has this;
<h2>FCKeditor with Dreaweaver</h2> <p> </p> <form id="frmeditor" method="post" action=""> <p><input type="text" name="heading" id="heading" /></p> <p><textarea name="data" id="data" cols="45" rows="5"></textarea></p> <p><input type="submit" value="Submit" /></p> </form> <p> </p>
Now your job is to make these form values update your table in (ASP, PHP, Whatever you use, etc...)
Once that part is done, it's time to add the FCKeditor.
This is just a basic guideline - it works believe me! (or don't)
Below your Dreamweaver Insert / Update queries add this;
<?php include_once("../FCKeditor/fckeditor.php") ; ?>
// Please note the spelling of FCKeditor
In BETWEEN the <head tags> (normally above </head>)add this;
<script type="text/javascript" src="../FCKeditor/fckeditor.js"></script> <script type="text/javascript"> window.onload = function() { var oFCKeditor = new FCKeditor( 'data' ) ; //The textarea name oFCKeditor.BasePath = "../FCKeditor/" ; oFCKeditor.Height = "400" ; oFCKeditor.Width = "100%" ; oFCKeditor.ToolbarSet = 'Default' ; //The toolbar you want to use oFCKeditor.ReplaceTextarea() ; } </script>
Now with these ADDitions you should now have a workin copy of FCKeditor in Dreamweaver (ASP, PHP, Whatever you use, etc...)
Cheers
Re: How to integrate FCKeditor with Dreaweaver? Here's how!
In order to have FCKeditor work with certain not up to date or clued up hosts;
You need to have these setup:
There may be a patch for safe_mode to stay enabled and FCKeditor run along side it - really not sure.
Cheers, damnit finally, I can get off my arse and do some developing.
Re: How to integrate FCKeditor with Dreaweaver? Here's how!