質問 > フロント機能 > CKEditor_3.6 組み込み |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
have |
投稿日時: 2011/6/15 9:59
対応状況: −−−
|
一人前 ![]() ![]() 登録日: 2010/11/4 居住地: 東京都 投稿: 83 |
Re: CKEditor_3.6 組み込み 引用:
教えて頂いて、有難うございます。 CKEditorをtanaca様教えてくれた通りにアップロードしましたがまだ駄目ですよ。 1./data/Smarty/templates/admin/design/main_edit.tpl <div> <script type="text/javascript" src="<!--{$TPL_URLPATH}-->js/ckeditor/ckeditor.js"></script> <textarea id="tpl_data" class="top" name="tpl_data" rows=<!--{$text_row}--> style="width: 98%;" class="ckeditor"><!--{$arrForm.tpl_data.value|h|smarty:nodefaults}--></textarea> <input type="hidden" name="html_area_row" value="<!--{$text_row}-->" /><br /> <a id="resize-btn" class="btn-normal" href="java script:;" onclick="ChangeSize('#resize-btn','#tpl_data', 50, 13); return false;"><span>拡大</span></a> </div> ---------------------------------------------- 2./data/Smarty/templates/default/admin/products <tr> <td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-メインコメント<span class="red">(タグ許可)*</span></td> <td bgcolor="#ffffff" width="557" class="fs10n"> <span class="red12"><!--{$arrErr.main_comment}--></span> <script type="text/javascript" src="<!--{$TPL_URLPATH}-->js/ckeditor/ckeditor.js"></script> <textarea id="main_comment" name="main_comment" value="<!--{$arrForm.main_comment|escape}-->" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{if $arrErr.main_comment != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" cols="60" rows="8" class="area60 ckeditor"><!--{$arrForm.main_comment|escape}--></textarea><br /><span class="red"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span> <script type="text/javascript"> // This is a check for the CKEditor class. If not defined, the paths must be checked. if ( typeof CKEDITOR == 'undefined' ) { document.write( '<strong><span style="color: #ff0000">Error</span>: CKEditor not found</strong>.' + 'This sample assumes that CKEditor (not included with CKFinder) is installed in' + 'the "/ckeditor/" path. If you have it installed in a different place, just edit' + 'this file, changing the wrong paths in the <head> (line 5) and the "BasePath"' + 'value (line 32).' ) ; } else { var editor = CKEDITOR.replace( 'main_comment', { skin : 'office2003' }); CKFinder.setupCKEditor( editor, '<!--{$ckfinderPath|regex_replace:"/\/+/":"/"}-->' ) ; } </script> </td> </tr> どこに違いますか? PS:www.ドメイン/user_data/packages/default/js/ckeditor/ このようにアップロードしました。 ---------------------------------------------- EC-CUBE] 2.11.1 [レンタルサーバ] さくらスタンダード [OS] FreeBSD 7.1-RELEASE-p15 i386 [PHP] PHP5.2.17 [データベース]MySql 5.1 [WEBサーバ] Apache/1.3.42 (Unix) mod_ssl/2.8.31 OpenSSL/0.9.8e |
フラット表示 | 前のトピック | 次のトピック |
![](images/pixel.gif)