<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HOTSYSTEMS - BLOG - &#187; MODｘ</title>
	<atom:link href="http://www.hotsystems.jp/blog/archives/category/mod%ef%bd%98/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hotsystems.jp/blog</link>
	<description>簡単で使いやすいシステム開発でみんなを笑顔に！</description>
	<lastBuildDate>Sat, 22 Oct 2011 16:26:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WordPress スパムコメント</title>
		<link>http://www.hotsystems.jp/blog/archives/160</link>
		<comments>http://www.hotsystems.jp/blog/archives/160#comments</comments>
		<pubDate>Thu, 18 Oct 2007 16:49:49 +0000</pubDate>
		<dc:creator>hot</dc:creator>
				<category><![CDATA[MODｘ]]></category>

		<guid isPermaLink="false">http://www.hotsystems.jp/blog/archives/160</guid>
		<description><![CDATA[む?、寝ていたらメールで起こされた。見てみると、またまたこのサイトに訳のわからんコメントが沢山入っている。ブログに誰かが書き込んでくれた時に携帯メールにお知らせする機能を使っているのだがここのところやたらスパムコメントらしきものが多い。寝れないじゃないか！！ってことでモソモソ起き出してスパム対策をすることにしてみた。
調べてみるとちゃんとWordPress用のプラグインがありますよ！
wordpress-hashcash
これでひとまず様子見です。ああ?はよ寝よっと。
]]></description>
		<wfw:commentRss>http://www.hotsystems.jp/blog/archives/160/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MODx AjaxSearch</title>
		<link>http://www.hotsystems.jp/blog/archives/150</link>
		<comments>http://www.hotsystems.jp/blog/archives/150#comments</comments>
		<pubDate>Wed, 26 Sep 2007 14:53:18 +0000</pubDate>
		<dc:creator>hot</dc:creator>
				<category><![CDATA[MODｘ]]></category>

		<guid isPermaLink="false">http://www.hotsystems.jp/blog/archives/150</guid>
		<description><![CDATA[本日はMODxのAjaxSeachの覚書
AjaxSeachは検索結果一覧へ移動せず、その場で検索結果を表示する！！のが売りのようですがあえて検索結果一覧へ飛ばしたい！！ってことで調べてみた。
まずは検索結果一覧ページを作成して一覧表示させるところに以下のように記述
[!AjaxSearch? &#038;ajaxSearch=0!]
例えばresult.html (10)になるとする
次に検索窓を設置するところに以下のように記述
[!AjaxSearch? &#038;ajaxSearch=0&#038;AS_landing=`10`!]
AS_landing=`10`が検索一覧を表示させるドキュメントを指定するところ。
スタイルは以下のものなどが設定できるので検索窓、検索結果一覧の表示を色々いじれる。
#ajaxSearch_form {}
#ajaxSearch_input {}
#ajaxSearch_submit{}
#ajaxSearch_resultListContainer{}
.ajaxSearch_resultLink{}
.ajaxSearch_extract p{}
ただし、&#60;form&#62;のidにajaxSearch_formが付くはずなのだが何故か出力すると付いていない。何でじゃかわからんのでとりあえずお得意の力ずくでなんとか切り抜ける。
assets/snippets/AjaxSearch/includes/templates.inc.php
を書き換えて無理やりidをつけてしまいました。
最近、力ずくで書き換えてしまうのが多く、あまり良くない傾向なので今度ちゃんと調べて修正しないといけませんね。
]]></description>
		<wfw:commentRss>http://www.hotsystems.jp/blog/archives/150/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MODx FCKEditor EditorAreaCSSのバグ？</title>
		<link>http://www.hotsystems.jp/blog/archives/149</link>
		<comments>http://www.hotsystems.jp/blog/archives/149#comments</comments>
		<pubDate>Tue, 25 Sep 2007 14:59:07 +0000</pubDate>
		<dc:creator>hot</dc:creator>
				<category><![CDATA[MODｘ]]></category>

		<guid isPermaLink="false">http://www.hotsystems.jp/blog/archives/149</guid>
		<description><![CDATA[ここ数日、クライアント様のサイトでMODxを使って構築を依頼されているのでMODｘと格闘しております。さてさて前回も書いたFckEditorの設定。
FckEditorは視覚的にデザインをいじれるのだけれども、普通サイト作っていくとき外枠をテンプレートとして中身をごちゃごちゃいじっていくものだと思う。それでFckEditorで中身に画像とかCSSを使ったりする時に当然CSSとかBaseのURLとかを読み込んでないのでCSSの内容がエディタに反映されない。なーと思っていたのだが、ファイルを眺めていたらfckconfig.jsにちゃんと設定するところがあった。
FCKConfig.BaseHref = &#8216;http://www.hogehoge.com&#8217; ; // これで画像とかのパスがきちんと合って表示された
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + &#8216;css/fck_editorarea.css&#8217; ;
　　　↓
FCKConfig.EditorAreaCSS = &#8216;http://www.hogehoge.com/style.css&#8217; ; // 自分のCSSへのパス
これできちんとCSSが反映されると思いきやどうも上手く動きません。style.cssを読み込んでくれていない模様。。。設定するところ違うのかな？まーあまり時間もなくソース追っかけている場合ではないので力ずくで読み込ましてしまった。
fckeditor.functions.phpの97行目あたり
$editor_css_path = !empty($editor_css_path) ? $editor_css_path : $base_url.&#8221;assets/plugins/&#8221;.$pluginfolder.&#8221;/editor/css/fck_editorarea.css&#8221;;
　↓
$editor_css_path = &#8220;http://www.hogehoge.com/style.css&#8221;;
これでちゃんとエディターの中でCSSを反映する事ができた。ってことはやっぱりバグなのか？まーとりあえずは読み込めたし今度時間があるときにでもソースを追っかけてみよう。
]]></description>
		<wfw:commentRss>http://www.hotsystems.jp/blog/archives/149/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MODx FCKEditor カスタマイズ</title>
		<link>http://www.hotsystems.jp/blog/archives/147</link>
		<comments>http://www.hotsystems.jp/blog/archives/147#comments</comments>
		<pubDate>Fri, 21 Sep 2007 14:24:51 +0000</pubDate>
		<dc:creator>hot</dc:creator>
				<category><![CDATA[MODｘ]]></category>

		<guid isPermaLink="false">http://www.hotsystems.jp/blog/archives/147</guid>
		<description><![CDATA[前回、MODxのエディタでFCKEditorを入れたことを書いたがこれを少しカスタマイズしてみた。FCKEditorのツールにテンプレートと言うのがあるがこれをカスタマイズするといつも使う雛形をあらかじめ登録しておく事ができる。
テンプレートを設定しているファイルは以下にあるのでこれに登録すればOKだ
assets/plugins/fckeditor243/fcktemplates.xml

ダイアログの中のイメージは
assets/plugins/fckeditor243/editor/dialog/fck_template/images/
に入れればいいらしい。
またダイアログの「現在のエディタの内容と置き換えをします」にチェックが入っていると編集中の内容を全て消して新たに選んだテンプレートを入れるようになる。これがデフォルトでチェックされていて気分が悪いので以下のように修正
assets/plugins/fckeditor243/fckconfig.js
修正箇所
FCKConfig.TemplateReplaceAll = true;
　　　　　　　　　↓
FCKConfig.TemplateReplaceAll = false;
色々カスタマイズが出来るしいい感じだ。ただ、ソースに切り替えた時に改行が入ってなかったり、選んだ箇所がハイライトになってなかったりといった所があるので今後のバージョンアップに期待したい。
]]></description>
		<wfw:commentRss>http://www.hotsystems.jp/blog/archives/147/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MODx FCKEditor</title>
		<link>http://www.hotsystems.jp/blog/archives/145</link>
		<comments>http://www.hotsystems.jp/blog/archives/145#comments</comments>
		<pubDate>Fri, 14 Sep 2007 14:59:57 +0000</pubDate>
		<dc:creator>hot</dc:creator>
				<category><![CDATA[MODｘ]]></category>

		<guid isPermaLink="false">http://www.hotsystems.jp/blog/archives/145</guid>
		<description><![CDATA[MODxにリッチテキストエディタの「FCKEditor」を入れてみた。MODｘには標準で「TinyMCE」が実装されているが、他のものを使ってみたかった。インストールは簡単。
１．以下のURLから使っているMODｘのバージョンにあったものをダウンロード。
　　http://modxcms.com/FCKEditor-583.html
２．解凍した「assets」と「install」フォルダをアップ
３．ブラウザでhttp://www.hogehoge.com/modx/install/にアクセスしインストール

テーブルなんかも簡単に操作できるし、「assets」フォルダ内の「fcktemplates.xml」をいじればテンプレートも簡単にカスタマイズ可能。色々と重宝しそうだ。
]]></description>
		<wfw:commentRss>http://www.hotsystems.jp/blog/archives/145/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MODx フレンドリーURL</title>
		<link>http://www.hotsystems.jp/blog/archives/124</link>
		<comments>http://www.hotsystems.jp/blog/archives/124#comments</comments>
		<pubDate>Fri, 31 Aug 2007 13:13:33 +0000</pubDate>
		<dc:creator>hot</dc:creator>
				<category><![CDATA[MODｘ]]></category>

		<guid isPermaLink="false">http://www.hotsystems.jp/blog/archives/124</guid>
		<description><![CDATA[MODxの設定でフレンドリーURLと言うのがある。ようは見た目に静的なｈｔｍｌが存在するかのようなURLにして、検索エンジンにフレンドリーにするもの。仕掛けはRewriteEngineを使っているのだけれども、なぜか上手く動かなかった。何でじゃ？と調べてみると.htaccessの内容を少し変更する必要があった。
.htaccess
#Options +FollowSymlinks
RewriteEngine On
#RewriteBase /
RewriteBase /modx
小生はインストールをhttp://www.hotsystems.jp/modx/にしたのでRewriteBaseを書き換える必要があった。
また、ページ中のリンク、例えばCSSをインクルートする場合
&#60;base href=&#8221;http://www.hotsystems.jp/modx/&#8221; /&#62;
&#60;link rel=&#8221;stylesheet&#8221; href=&#8221;style.css&#8221; type=&#8221;text/css&#8221; media=&#8221;screen,tv&#8221; /&#62;
と&#60;base&#62;で指定してあげないと上手く読み込む事ができなかった。
]]></description>
		<wfw:commentRss>http://www.hotsystems.jp/blog/archives/124/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CMS  MODx</title>
		<link>http://www.hotsystems.jp/blog/archives/123</link>
		<comments>http://www.hotsystems.jp/blog/archives/123#comments</comments>
		<pubDate>Thu, 30 Aug 2007 12:38:26 +0000</pubDate>
		<dc:creator>hot</dc:creator>
				<category><![CDATA[MODｘ]]></category>
		<category><![CDATA[仕事]]></category>

		<guid isPermaLink="false">http://www.hotsystems.jp/blog/archives/123</guid>
		<description><![CDATA[CMS（コンテンツ・マネジメント・システム）というとXOOPSが有名だと思う。その他にはJoomlaなんかがあったりする。MODxもオープンソースのCMSらしい。特徴としては主に静的コンテンツのエミュレーション発想がスタートラインになっているそうな。とにかく管理しやすいサイトを作ることを目的としているらしい。仕事で使うかもと言う事で、早速小生もテスト用にインストールしてみた。
MODｘ公式サイト
最近のアプリと同じく、ファイル一式をFTPでアップしてブラウザから簡単にインストールが可能。ファイル数が多いのでFTPでアップする時多少時間が掛かるが、その後は簡単だ。
インストール後は英語表示だけど、多言語対応を想定しているらしく、設定一つで日本語化することが可能でとても便利。
まーとりあえずインストール完了と言う事で、これからちょこちょこやって行きたいと思う。
MODxテストサイト
]]></description>
		<wfw:commentRss>http://www.hotsystems.jp/blog/archives/123/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

