Hello. First of all I would like to thank the fckeditor community and/or team for its conception. Seem to me its of great help for blogging.
I have a problem maybe someone can help. Im trying to insert the fckeditor in the super simple blog scrip, and since Im just a begginer im having some trouble. Heres the code of the posting page:
<?php header('Content-Type: text/html; charset=utf-8'); include("../settings.php"); include_once("http://www.lineagris.com/blog/cms/fckeditor/fckeditor.php") ; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title><?echo $pageTitle ?></title> </head> <!-- super simple PHP blog written by Todd Resudek for TR1design.net. todd@tr1design.net source available at http://www.supersimple.org copyright 2006 --> <style type="text/css" media="all">@import "../blogStyles.css";</style> <body><div align="center"> <form enctype="multipart/form-data" action="<?='../'.$blogPageName; ?>" method="post" name="add"> <input type="hidden" name="MAX_FILE_SIZE" value="5000000"> <!--sets the max file size that this form will handle. php.ini file has more control than this.--> <div id="title"> <p><b>Título: </b><br /><input type="text" name="title" style="width:340px;" /><br /> </div> <div id="content"> <p><b>Texto:</b> <? if($imagesPerEntry > 1){echo "<br /><em>Coloque un \"[#]\" en el lugar donde desea la imágen</em>";} ?> <br /><textarea name="comment" style="width:500px;height:400px"></textarea> <br /> </div> <div id="image"> <?php #create the file uploads for($i=0; $i < $imagesPerEntry; $i++){ $j = $i + 1; echo "<p>Añadir imágen: [$j]<br /><input type=\"file\" name=\"upload$i\" /></p>"; } ?> </div> <div><p>Usuario: <input type="text" name="username" style="width:100px;"/> Contraseña: <input type="password" name="password" style="width:100px;"/> <p><input type="submit" name="submit" value="Enviar" /></p></div> </form><!-- End of Form --> </div> </div> </body> </html>
Re: FCKeditor in Super Simple Blog Script
Someone please a little help. Just a couple of minutes