<?php
include("./fckeditor/fckeditor.php") ;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>FCKeditor - Sample</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="robots" content="noindex, nofollow">
<link href="../sample.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>FCKeditor - PHP - Sample 1</h1>
This sample displays a normal HTML form with an FCKeditor with full features
enabled.
<hr>
<form action="sampleposteddata.php" method="post" target="_blank">
<?php
// Automatically calculates the editor base path based on the _samples directory.
// This is usefull only for these samples. A real application should use something like this:
$oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
//$sBasePath = $_SERVER['PHP_SELF'] ;
//$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;
$oFCKeditor = new FCKeditor('FCKeditor1') ;
//$oFCKeditor->BasePath = $sBasePath ;
$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
$oFCKeditor->Create() ;
?>
<br>
<input type="submit" value="Submit">
</form>
</body>
</html>
unfortunately I don't have time right now but just out of curiosity, why don't you just link to the php page given with the editor or use an iframe or something if you really need it on that page? Well, anyway, good luck with everything.
Re: Problem with Installation
<?php include("./fckeditor/fckeditor.php") ; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>FCKeditor - Sample</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="robots" content="noindex, nofollow"> <link href="../sample.css" rel="stylesheet" type="text/css" /> </head> <body> <h1>FCKeditor - PHP - Sample 1</h1> This sample displays a normal HTML form with an FCKeditor with full features enabled. <hr> <form action="sampleposteddata.php" method="post" target="_blank"> <?php // Automatically calculates the editor base path based on the _samples directory. // This is usefull only for these samples. A real application should use something like this: $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. //$sBasePath = $_SERVER['PHP_SELF'] ; //$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ; $oFCKeditor = new FCKeditor('FCKeditor1') ; //$oFCKeditor->BasePath = $sBasePath ; $oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; $oFCKeditor->Create() ; ?> <br> <input type="submit" value="Submit"> </form> </body> </html>Re: Problem with Installation
Re: Problem with Installation
Re: Problem with Installation
<?php include("./fckeditor/fckeditor.php") ; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Test</title> </head> <body> <form action="sampleposteddata.php" method="post" target="_blank"> <textarea name="test" cols="" rows=""></textarea> <input type="submit" value="Submit"> </form> </body> </html>Re: Problem with Installation
Re: Problem with Installation
oFCKeditor = new FCKeditor( 'test' ); oFCKeditor.Config[ "EditorAreaCSS" ] = 'test.css'; oFCKeditor.Config[ "BaseHref" ] = basepath; oFCKeditor.BasePath = contextPath+'/fckeditor-2.4.3/' ; oFCKeditor.Height = '800px' ; oFCKeditor.Width = '800px' ; window.onload = function(){ oFCKeditor.ReplaceTextarea(); };Hope this helps, good luck
Re: Problem with Installation
http://www.mydomain.com/index.php
http://www.mydomain.com/admin/
http://www.mydomain.com/admin/test.php
http://www.mydomain.com/admin/fckeditor/
Re: Problem with Installation
Re: Problem with Installation