2010-11-30 18 views
1

私はfckeditorとzend frameworkの統合を行っています。Zend framework fckeditor integration

カスタムビューヘルパーを使用しています。

とその呼び出し元のFCKeditorのクラスは今

私の問題は、それがFCKeditorのを表示するためにはiframeを使用して(FCKeditorのクラス)であるということです。ここでZendフレームの作業URLは機能しません。

eckeditorクラスによって構築された

インラインフレームのリンクは次のとおりです。

/mysite/public/js/fckeditor/editor/fckeditor.html?InstanceName=page_text_details 

どのように私はこれを削除することができ、私を助けてください

Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (js)' in /var/www/html/...... 

をfckeditor.htmlするため、IFRAMEのリンクにエラーの下に与えています。

も、私はある

に私のhtaccessファイルをURLの書き換えにhtaccesを使用している:私はあなたのhtaccessファイル内でRewriteBaseルールを追加する必要が

RewriteEngine On 

RewriteCond %{REQUEST_FILENAME} -s [OR] 
RewriteCond %{REQUEST_FILENAME} -l [OR] 
RewriteCond %{REQUEST_FILENAME} -d 
RewriteRule ^.*$ - [NC,L] 

RewriteRule !\.(htm|html|txt|swf|js|ico|gif|jpg|png|css|php|xml|pdf|cab)$ index.php [NC,L] 
+0

可能な複製:http://stackoverflow.com/questions/4311049/how-to-add-custom-form-element-fckeditor-in-zend-framework – JellyBelly

答えて

0

思う:

RewriteBase /mysite/public 

あなたが可能パブリックフォルダの下に「js」フォルダ(およびそのfckeditor依存関係)が存在することを確認したい

+0

無効なコントローラエラーを出すようになりました –