トピック関係の機能について

カテゴリ内に新規トピックを投稿したり、投稿したトピックを編集・削除・凍結するための機能です。
また、これらの機能はプラグインの設定で有効/無効を切り替えられます。

MTNekorumPostTopicPath

トピック新規投稿用スクリプトアドレスに変換されます。
MTCategories 内でのみ使用可能です。
コメント投稿の権限で書き込みできます。
テンプレートモジュール「Nekorum Topic」を使用してページを構成します。

<$MTNekorumPostTopicPath$>

MTNekorumEditTopicPath

トピック編集用スクリプトアドレスに変換されます。
MTEntries 内でのみ使用可能です。
投稿者のみ編集できます。
テンプレートモジュール「Nekorum Topic」を使用してページを構成します。

<$MTNekorumEditTopicPath$>

MTNekorumRemoveTopicPath

トピック削除用スクリプトアドレスに変換されます。
MTEntries 内でのみ使用可能です。
投稿者とブログ管理者のみ削除できます。

<$MTNekorumEditTopicPath$>

MTNekorumFreezeTopicPath

トピック凍結用スクリプトアドレスに変換されます。
MTEntries 内でのみ使用可能です。
動作は、トピックのコメントを許可しないに変更します。
投稿者とブログ管理者のみ削除できます。

<$MTNekorumEditTopicPath$>

Nekorum Topic のサンプル
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja" id="nekorum-template"> <head> <$mt:include module="HTMLヘッダー"$> <MTIf name="mode" eq="_post_topic"> <title>新規投稿 - <$MTBlogName encode_html="1"$></title> <MTElse> <title>トピックの編集 - <$MTBlogName encode_html="1"$></title> </MTElse></MTIf> </head> <body id="<$mt:BlogTemplateSetID$>" class="mt-entry-archive <$MTVar name="page_layout"$>"> <div id="container"> <div id="container-inner"> <$mt:include module="バナーヘッダー"$> <div id="content"> <div id="content-inner"> <div id="alpha"> <div id="alpha-inner"> <div id="entry-new-post" class="entry-asset asset hentry"> <div class="asset-header"> <MTIf name="mode" eq="_post_topic"> <h1 id="page-title" class="asset-name entry-title">新規投稿</h1> <MTElse> <h1 id="page-title" class="asset-name entry-title">編集 "<$MTEntryTitle$>"</h1> </MTElse></MTIf> </div> <div class="comments-open" id="comments-open"> <div class="comments-open-content"> <mt:ignore> <!-- Display greeting for users if blog allows users to register locally --> </mt:ignore> <div id="comment-greeting"></div> <$MTTinyMCE$> <form name="entry_form" id="entry_form" method="post" action="<$MTNekorumScriptPath$>"> <input type="hidden" id="blog_id" name="blog_id" value="<$mt:var name="blog_id"$>" /> <input type="hidden" id="author_id" name="author_id" value="<$mt:var name="author_id"$>" /> <input type="hidden" id="category_id" name="category_id" value="<$mt:var name="category_id"$>" /> <input type="hidden" id="entry_id" name="entry_id" value="<$mt:var name="entry_id"$>" /> <input type="hidden" id="mode" name="__mode" value="<$mt:var name="mode"$>" /> <div id="comments-open-text"> <label for="topic_title">タイトル</label> <input type="text"name="topic_title" id="topic_title" value="<$mt:var name="topic_title"$>" style="width: 90%;" /> </div> <div id="comments-open-text"> <label for="topic_text">コメント</label> <textarea id="topic_text" name="topic_text" style="width: 90%; height=50%;"><$mt:var name="topic_text"$></textarea> </div> <div id="comments-open-text"> <label for="topic_tags">タグ</label> <input type="text" name="topic_tags" id="topic_tags" value="<$mt:var name="topic_tags"$>" style="width: 90%;" /> </div> <div id="comments-open-text"> <label for="topic_keywords">キーワード</label> <input type="text" name="topic_keywords" id="topic_keywords" value="<$mt:var name="topic_keywords"$>" style="width: 90%;" /> </div> <div id="comments-open-footer"> <input type="submit" accesskey="s" name="post" id="comment-submit" value="投稿" /> </div> </form> </div> </div> </div> </div> </div> <$MTInclude module="サイドバー"$> </div> </div> <$mt:include module="バナーフッター"$> </div> </div> </body> </html>
 
?

 Copyright © 2008 nekotama allrights reserved.