<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>ホームページ作成の栞</title>
	<link>http://xn--yck7ccu3lc.gwalk.net</link>
	<description>ホームページ作成・PHP・Linux・正規表現などコンピュータ関連のTips</description>
	<pubDate>Fri, 08 May 2009 16:02:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>ja</language>
			<item>
		<title>EC cube でfckeditoerを使う。</title>
		<link>http://xn--yck7ccu3lc.gwalk.net/2009/05/ec-cube-%e3%81%a7fckeditoer%e3%82%92%e4%bd%bf%e3%81%86%e3%80%82/</link>
		<comments>http://xn--yck7ccu3lc.gwalk.net/2009/05/ec-cube-%e3%81%a7fckeditoer%e3%82%92%e4%bd%bf%e3%81%86%e3%80%82/#comments</comments>
		<pubDate>Fri, 08 May 2009 16:02:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[EC cube]]></category>

		<guid isPermaLink="false">http://xn--yck7ccu3lc.gwalk.net/2009/05/ec-cube-%e3%81%a7fckeditoer%e3%82%92%e4%bd%bf%e3%81%86%e3%80%82/</guid>
		<description><![CDATA[ http://wiki.ec-orange2.jp/index.php?%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA%EF%BC%9A%E5%BF%9C%E7%94%A8%2F%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BF%E3%81%AE%E3%83%AA%E3%83%83%E3%83%81%E5%8C%96
を参照させて頂きました。（補足付き）
fckconfig.jsの編集
解凍して作成されたfckeditor/fckconfig.jsを編集します。
//FCKConfig.ProtectedSource.Add( /&#60;\?[\s\S]*?\?&#62;/g ) ;	// PHP style server side code↓FCKConfig.ProtectedSource.Add( /&#60;\?[\s\S]*?\?&#62;/g ) ;	// PHP style server side codevar _FileBrowserLanguage	= 'php' ;	←'php'を設定var _QuickUploadLanguage	= 'php' ;	←'php'を設定
fckeditor.jsの編集
FCKeditorのパスを設定します。
ショップのドキュメントルート+/user_data/fckeditor/
としておきます。
FCKeditor.BasePath = '/shop/user_data/fckeditor/' ;
アップローダー設定
config.phpの編集
ファイルアップロードのサーバーサイドのスクリプト設定を行います。
/html/user_data/fckeditor/editor/filemanager/connectors/php/config.php
を編集します。
$Config['Enabled'] = true ; ←trueにする↓アップロードしたファイルの保存先(ドキュメントルートからのパス)$Config['UserFilesPath'] = '(ここはURLにします。)/shop/upload/save_image/&#8217; ;↓アップロードしたファイルの(絶対パス)$Config[&#8217;UserFilesAbsolutePath&#8217;] = &#8216;/var/www/eccubes/html/upload/save_image/&#8217; ;

↓アップロード出来るファイルを画像ファイルのみに変更

$Config[&#8217;AllowedExtensions&#8217;][&#8217;File&#8217;]	= array(&#8217;gif&#8217;, &#8216;jpeg&#8217;, &#8216;jpg&#8217;, &#8216;png&#8217;) ;
※FCKeditorのファイルアップロード機能はユーザー認証を必要としません。第三者が勝手にファイルをアップロードする事が可能なので、利用する際は注意してください。
テンプレートの編集
htmlの&#60;head&#62;内で必要な時だけ呼び出すために
data/Smarty/templates/default/admin/main_frame.tpl
の&#60;head&#62;～&#60;/head&#62;に以下を追加します。
&#60;!--{$tpl_head_option&#124;smarty:nodefaults}--&#62;
pageクラスの編集
FCKeditorを使用するページのクラスを編集します

LC_Page_Admin_Design_Bloc.php　192行目付近
以下のように変更してください。
&#160;
default:
$this-&#62;tpl_javascript .= &#8220;    function fckeditorCreate(){var oFCKeditor = new FCKeditor( &#8216;bloc_html&#8217; ) ;oFCKeditor.Height=&#8217;420&#8242;;

oFCKeditor.ReplaceTextarea() [...]]]></description>
		<wfw:commentRss>http://xn--yck7ccu3lc.gwalk.net/2009/05/ec-cube-%e3%81%a7fckeditoer%e3%82%92%e4%bd%bf%e3%81%86%e3%80%82/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BBcodeのsiteurlのtarget=&#8221;_blank&#8221;解除</title>
		<link>http://xn--yck7ccu3lc.gwalk.net/2008/05/bbcode%e3%81%aesiteurl%e3%81%aetarget_blank%e8%a7%a3%e9%99%a4/</link>
		<comments>http://xn--yck7ccu3lc.gwalk.net/2008/05/bbcode%e3%81%aesiteurl%e3%81%aetarget_blank%e8%a7%a3%e9%99%a4/#comments</comments>
		<pubDate>Wed, 28 May 2008 15:38:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[xoops]]></category>

		<guid isPermaLink="false">http://xn--yck7ccu3lc.gwalk.net/2008/05/bbcode%e3%81%aesiteurl%e3%81%aetarget_blank%e8%a7%a3%e9%99%a4/</guid>
		<description><![CDATA[BBcodeのsiteurlのtarget指定を変更する
xoopsを使用していると様々な用途でBBcodeを使用する機会が出てくることでしょう。
さて、最もよく使用するものと言えば、

[img]
[url]
[sit [...]]]></description>
		<wfw:commentRss>http://xn--yck7ccu3lc.gwalk.net/2008/05/bbcode%e3%81%aesiteurl%e3%81%aetarget_blank%e8%a7%a3%e9%99%a4/feed/</wfw:commentRss>
		</item>
		<item>
		<title>the_author_aim</title>
		<link>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_aim/</link>
		<comments>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_aim/#comments</comments>
		<pubDate>Tue, 20 May 2008 18:16:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[投稿者タグ]]></category>

		<guid isPermaLink="false">http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_aim/</guid>
		<description><![CDATA[Wordpress投稿者ICQナンバー表示タグ&#124;the_author_aim
ディスプレイに著者のAOLメッセンジャーIDを出力します。
書式
&#60;?php the_author_aim(); ?&#62;
引数
無し [...]]]></description>
		<wfw:commentRss>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_aim/feed/</wfw:commentRss>
		</item>
		<item>
		<title>the_author_icq</title>
		<link>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_icq/</link>
		<comments>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_icq/#comments</comments>
		<pubDate>Tue, 20 May 2008 08:23:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[投稿者タグ]]></category>

		<guid isPermaLink="false">http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_icq/</guid>
		<description><![CDATA[Wordpress投稿者ICQナンバー表示タグ&#124;the_author_icq
ディスプレイに投稿者のICQナンバーを出力します。
書式
&#60;?php the_author_icq(); ?&#62;
引数
無し
サンプ [...]]]></description>
		<wfw:commentRss>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_icq/feed/</wfw:commentRss>
		</item>
		<item>
		<title>the_author_url</title>
		<link>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_url/</link>
		<comments>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_url/#comments</comments>
		<pubDate>Tue, 20 May 2008 03:05:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[投稿者タグ]]></category>

		<guid isPermaLink="false">http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_url/</guid>
		<description><![CDATA[Wordpress投稿者URL表示タグ&#124;the_author_url
ディスプレイに著者のURLを出力します。
書式
&#60;?php the_author_url(); ?&#62;
引数
無し
サンプル
管理画面の「プ [...]]]></description>
		<wfw:commentRss>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_url/feed/</wfw:commentRss>
		</item>
		<item>
		<title>the_author_email</title>
		<link>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_email/</link>
		<comments>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_email/#comments</comments>
		<pubDate>Tue, 13 May 2008 03:50:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[投稿者タグ]]></category>

		<guid isPermaLink="false">http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_email/</guid>
		<description><![CDATA[Wordpress投稿者メールアドレス表示タグ&#124;the_author_email
ディスプレイに著者のメールアドレスを出力します。
書式
&#60;?php the_author_email(); ?&#62;
引数
無し
 [...]]]></description>
		<wfw:commentRss>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_email/feed/</wfw:commentRss>
		</item>
		<item>
		<title>the_author_ID</title>
		<link>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_id/</link>
		<comments>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_id/#comments</comments>
		<pubDate>Sun, 11 May 2008 17:31:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[投稿者タグ]]></category>

		<guid isPermaLink="false">http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_id/</guid>
		<description><![CDATA[Wordpress投稿者別エントリー表示タグ&#124;the_author_ID
投稿者別のエントリーを表示させるため、リンクタグに投稿者のIDを含めて使用します。
書式
&#60;?php the_author_ID(); ?&#038; [...]]]></description>
		<wfw:commentRss>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_id/feed/</wfw:commentRss>
		</item>
		<item>
		<title>the_author_nickname</title>
		<link>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_nickname/</link>
		<comments>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_nickname/#comments</comments>
		<pubDate>Sat, 10 May 2008 15:52:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[投稿者タグ]]></category>

		<guid isPermaLink="false">http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_nickname/</guid>
		<description><![CDATA[Wordpress投稿者名表示タグ&#124;the_author_nickname
エントリー投稿者のニックネームを出力します。
書式

&#60;?php the_author_nickname(); ?&#62;
引数
無し
サ [...]]]></description>
		<wfw:commentRss>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_nickname/feed/</wfw:commentRss>
		</item>
		<item>
		<title>the_author_lastname</title>
		<link>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_lastname/</link>
		<comments>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_lastname/#comments</comments>
		<pubDate>Sat, 10 May 2008 15:52:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[投稿者タグ]]></category>

		<guid isPermaLink="false">http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_lastname/</guid>
		<description><![CDATA[Wordpress投稿者名表示タグ&#124;the_author_lastname
エントリー投稿者のラストネームを出力します。
書式

&#60;?php the_author_lastname(); ?&#62;
引数
無し
サ [...]]]></description>
		<wfw:commentRss>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_lastname/feed/</wfw:commentRss>
		</item>
		<item>
		<title>the_author_firstname</title>
		<link>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_firstname/</link>
		<comments>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_firstname/#comments</comments>
		<pubDate>Sat, 10 May 2008 15:15:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[投稿者タグ]]></category>

		<guid isPermaLink="false">http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_firstname/</guid>
		<description><![CDATA[Wordpress投稿者名表示タグ&#124;the_author_firstname
エントリー投稿者のファーストネームを出力します。
書式

&#60;?php the_author_firstname(); ?&#62;
引数
 [...]]]></description>
		<wfw:commentRss>http://xn--yck7ccu3lc.gwalk.net/2008/05/the_author_firstname/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

