2014-05-08
MTのメモ
タグの情報を調べる
movabletype/lib/MT/Template/ContextHandlers.pm at master · movabletype/movabletype
https://github.com/movabletype/movabletype/blob/master/lib/MT/Template/ContextHandlers.pm
コールバック
ユーザー関係
- cms_edit.author
- cms_view_permission_filter.author
- cms_save_permission_filter.author
- cms_delete_permission_filter.author
- cms_save_filter.author
- cms_pre_save.author
- cms_post_save.author
- cms_post_delete.author
ブログ関係
- cms_edit.blog
- cms_view_permission_filter.blog
- cms_save_permission_filter.blog
- cms_delete_permission_filter.blog
- cms_pre_save.blog
- cms_post_save.blog
- cms_save_filter.blog
- cms_post_delete.blog
フォルダ関係
- cms_edit.folder
- cms_view_permission_filter.folder
- cms_save_permission_filter.folder
- cms_delete_permission_filter.folder
- cms_pre_save.folder
- cms_post_save.folder
- cms_save_filter.folder
- cms_post_delete.folder
カテゴリ関係
- cms_edit.category
- cms_view_permission_filter.category
- cms_save_permission_filter.category
- cms_delete_permission_filter.category
- cms_pre_save.category
- cms_post_save.category
- cms_save_filter.category
- cms_post_delete.category
コメント関係
- cms_edit.comment
- cms_view_permission_filter.comment
- cms_save_permission_filter.comment
- cms_delete_permission_filter.comment
- cms_pre_save.comment
- cms_post_save.comment
- cms_post_delete.comment
コメント投稿者関係
- cms_edit.commenter
- cms_view_permission_filter.commenter
- cms_delete_permission_filter.commenter
ブログ記事関係
- cms_edit.entry
- cms_view_permission_filter.entry
- cms_delete_permission_filter.entry
- cms_pre_save.entry
- cms_post_save.entry
- cms_post_delete.entry
ウェブページ関係
- cms_edit.page
- cms_view_permission_filter.page
- cms_delete_permission_filter.page
- cms_pre_save.page
- cms_post_save.page
- cms_post_delete.page
トラックバック関係
- cms_edit.ping
- cms_view_permission_filter.ping
- cms_save_permission_filter.ping
- cms_delete_permission_filter.ping
- cms_pre_save.ping
- cms_post_save.ping
- cms_post_delete.ping
mt-staticを独立させる
mt-staticディレクトリを新しく作成する
/var/www/html/mt/plugins/mt-static/
.htaccessを作成して、mt-staticにおく
<IfModule mod_rewite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^mt-static/(.*)$ /var/www/html/mt/plugins/mt-static/$1 [L,QSA]
</IfModule>
まだ理解不足。よくわかってない。
mt-config
StaticWebPath /mt/plugins/mt-static/
MovableTypeプラグインのコードを書く準備を40秒で済ませる - blog.aklaswad.com
http://blog.aklaswad.com/2007/000191.html
Amazon.co.jp: Movable Type 5 プロフェッショナルガイド: 荒木勇次郎: 本
http://www.amazon.co.jp/exec/obidos/ASIN/4839934134/mersys-22/ref=nosim
MultiBlog
MultiBlog経由の再構築はおもいところがあるので、RebuildTriggerとかで対応する様にする。