25-01-2008, 13:01
|
|
|
חבר מתאריך: 01.12.07
הודעות: 112
|
|
בעיה בFCKEDITOR בPHP
שלום!
התחלתילשים עורך אחר אבל היו בעיו אז עזבתי. בקיצור - כמה שאלות על FCKEDITOR:
1. איך משנים לRTL?
2. איך מורידים חלק מאפשרויות הסרגל כמו: מקור וכו'..
3. ניסיתי לשנות את הסקין לאופיס2003 אבל לא הולך לי. זה הקוד שפועל לי:
קוד PHP:
<?php include("fckeditor/fckeditor.php") ; ?> <form action="fckeditor/_samples/php/sampleposteddata.php" method="post"> <?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->BasePath = '/fckeditor/' ; $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>
ושניסיתי לשנות לאופיס 2003 הוא לא מראה טוב בכלל.
משהו יכול לתת י קוד שישנה את הסקין ל2003?
תודה רבה,
יובל.
|