ナレッジベースを検索

テンプレートモジュールについて(上級者テンプレート)

テンプレートモジュールとは?

ブログには、あらかじめ用意されたデザイン、表示設定の雛形(テンプレート)があり、 TypePad のサーバー上に保存されています。
HTML レベルでのおおまかなデザインの編集はこのテンプレートを編集することで実現できます。
ただし、テンプレートに読み込まれている「モジュール」と呼ばれるテンプレートの部品となるものは、TypePad サーバー上に保存されているためより細かいデザインの編集を行う場合、初期状態では編集できず、また内容の確認もできません。

モジュールを編集するには以下の操作が必要です。

1 モジュールを新規作成する
2 テンプレート内の「モジュールの読み込み元」の指示を TypePad サーバーからユーザのアカウント内に変更する。

詳しい操作手順は以下の通りです。

1 モジュールを新規作成する方法について

※ デザインを誤って削除しても復元はできませんので操作は慎重に行ってください。

1. 「ホーム」 > 「ブログ」 > 「(ブログ名)」 > 「デザイン」 > 「デザインの管理」を開く

2. 元にしたいデザインにチェックを入れ「上級者テンプレートへ変換」を押す

3. (デザイン名)[Advanced] をクリックし「テンプレートを編集」をクリックする。
「デザインを編集」が開きます。

4. 「新しくテンプレート・モジュールを作成」をクリックする。
「新しいテンプレートを作成」が開きます。

5. 「テンプレート名」を半角英数で入力する

6. 以下のリストより、編集したいモジュールの内容を選択します。

TypePad で使用できるテンプレート・モジュールリスト


7. 「テンプレートの内容」A の部分をコピー & ペーストする

例:


8. 「保存」をクリックし、以下のメッセージが表示されたら「公開」をクリックする。

例:
テンプレート・モジュール

2 テンプレート内の「モジュールの読み込み元」の指示を TypePad システム共通のものからユーザの作成したものに変更する方法について

1. B で表示されていた使用先となるテンプレート内の「モジュールの読み込み元」を変更します。

以下のタグを削除します。
※ B に複数の使用先が表示されていた場合には、すべてのテンプレートで以下の操作を実行してください。

<$MTWeblogIncludeModule module="module-name"$>

「MTWeblogIncludeModule」は、TypePad サーバー内を指すためユーザアカウント内から読み込むよう変更します。



2. 以下のタグを同じ場所へコピーします。

<$MTInclude module="module-name"$>

「MTInclude module」はユーザアカウント内です。
「module-name」の部分には、1-5 で新規作成したモジュール名を入力します。

上記操作を実行後、新規作成したモジュール内を編集することで、ブログにその変更が反映されます。

ページ・ヘッダー

モジュール名: head-index

使用先: Main Index Template

<$MTWeblogIncludeModule module="head-common"$>
	<title><$MTBlogName$></title>
	<MTUserIfATP><link rel="openid.server" href="[% ATTag.open_id %]" /></MTUserIfATP>
	<link rel="EditURI" type="application/rsd+xml" title="RSD" href="<$MTCGIPath$><$MTRSDScript$>/<$MTBlogID$>" />
	<MTUserIfShow field="foaf">
		<link rel="meta" type="application/rdf+xml" title="FOAF" href="<$MTUserSiteURL$>foaf.rdf" />
	</MTUserIfShow>
	<$MTWeblogTypeCastMobileLink$>
</head>

共通ヘッダー

モジュール名: head-common

内包するモジュール: head-extra, head-archives, head-category, head-individual

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="http://www.typepad.com/" />
	<MTBlogIfPrivate>
		<meta name="robots" content="noindex,nofollow" />
	</MTBlogIfPrivate>
	<MTBlogIfCCLicense>
		<$MTCCLicenseRDF$>
	</MTBlogIfCCLicense>
	<$MTBlogMetaKeywords$>
	<$MTBlogMetaDescription$>
	<$MTWeblogIncludeModule module="head-extra"$>
	<link rel="stylesheet" href="<$MTBlogURL$>styles.css" type="text/css" media="screen" />
	<link rel="stylesheet" href="<$MTStaticWebPath$>themes/common/print.css" type="text/css" media="print" />
	<MTBlogIfPostsFeed>
	<link rel="alternate" type="application/atom+xml" title="<$MTTrans phrase="Posts on '[_1]' (Atom)" param="MTBlogName" encode_html="1"$>" href="<$MTBlogURL$>atom.xml" />
	<link rel="alternate" type="application/rss+xml" title="<$MTTrans phrase="Posts on '[_1]' (RSS 1.0)" param="MTBlogName" encode_html="1"$>" href="<$MTBlogURL$>index.rdf" />
	<link rel="alternate" type="application/rss+xml" title="<$MTTrans phrase="Posts on '[_1]' (RSS 2.0)" param="MTBlogName" encode_html="1"$>" href="<$MTBlogURL$>rss.xml" />
	</MTBlogIfPostsFeed>

モジュール名: banner

使用先: Main Index Template, Archive Index Template, DateBased Archives, Category Archives

内包するモジュール: banner-header

<!-- banner -->
<div id="banner">
	<div id="banner-inner" class="pkg">
		<$MTWeblogIncludeModule module="banner-header"$>
		<h1 id="banner-header"><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName$></a></h1>
		<h2 id="banner-description"><MTWeblogIfUsesTheme><$MTBlogDescription$><MTElse><MTWeblogStyleIf field="banner_use_image"><MTElse><$MTBlogDescription$></MTElse></MTWeblogStyleIf></MTElse></MTWeblogIfUsesTheme></h2>
	</div>
</div>
<$MTWeblogIncludeModule module="navbar"$>

記事一覧

モジュール名: entry-list

使用先: Main Index Template, DateBased Archives, Category Archives

<!-- entries -->
<MTEntries>
	<MTWeblogPostIfShow field="date_header">
		<MTDateHeader><h2 class="date-header"><$MTEntryDate format_weblog_date="1"$></h2></MTDateHeader>
	</MTWeblogPostIfShow>
	<div class="entry" id="entry-<$MTEntryID$>">
		<MTWeblogPostIfShow field="post_title">
			<h3 class="entry-header"><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></h3>
		</MTWeblogPostIfShow>
		<div class="entry-content">
			<div class="entry-body">
				<$MTEntryBody$>
			</div>
			<MTEntryIfExtended>
				<p class="entry-more-link">
					<a href="<$MTEntryPermalink$>#more"><$MTTrans phrase="Continue reading"$> "<$MTEntryTitle$>" »</a>
				</p>
			</MTEntryIfExtended>
			<MTFeedflareIfEnabled>
				<script src="<$MTFeedflareUrl$><$MTEntryPermalink encode_url="1"$>" type="text/javascript"></script>
			</MTFeedflareIfEnabled>
		</div>
		<div class="entry-footer">
			<p class="entry-footer-info">
				<$MTEntryPostFooter$>
				<MTEntryIfAllowComments>
					<MTIfNonEmpty tag="MTEntryPostFooter"><span class="separator">|</span></MTIfNonEmpty>
					<a href="<$MTEntryPermalink$>#comments"><$MTTrans phrase="Comments"$> (<$MTEntryCommentCount$>)</a>
				</MTEntryIfAllowComments>
				<MTEntryIfAllowPings>
					<MTIfNonEmpty tag="MTEntryPostFooter"><span class="separator">|</span><MTElse><MTEntryIfAllowComments><span class="separator">|</span></MTEntryIfAllowComments></MTElse></MTIfNonEmpty>
					<a href="<$MTEntryPermalink$>#trackback"><$MTTrans phrase="TrackBack"$> (<$MTEntryTrackbackCount$>)</a>
				</MTEntryIfAllowPings>
			</p>
			<$MTWeblogIncludeModule module="entry-footer-links"$>
		</div>
	</div>
	<MTEntriesFooter>
	<MTIfPages>
	<div class="pager-bottom pager-entries pager content-nav">
		<div class="pager-inner">
			<MTIfPreviousPage><span class="pager-left">
				<a href="<$MTPreviousPageURL$>"><span class="chevron">«</span>
					<span class="pager-label"><$MTEntryPreviousPageLabel encode_html="1"$></span></a>
			</span></MTIfPreviousPage>
			<MTIfPreviousPage><MTIfNextPage><span class="separator">|</span></MTIfNextPage></MTIfPreviousPage>
			<MTIfNextPage><span class="pager-right">
				<a href="<$MTNextPageURL$>"><span class="pager-label"><$MTEntryNextPageLabel encode_html="1"$></span>
					<span class="chevron">»</span></a>
			</span></MTIfNextPage>
		</div>
	</div>
	</MTIfPages>
	</MTEntriesFooter>
</MTEntries>

ブログのトップに表示

モジュール名: entry-list-sticky

使用先: Main Index Template

<!-- entries -->
<MTBlogIfHasSticky>
	<MTBlogStickyEntry>
		<div class="entry-featured entry" id="entry-<$MTEntryID$>">
			<MTWeblogPostIfShow field="post_title">
				<h3 class="entry-header"><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></h3>
			</MTWeblogPostIfShow>
			<div class="entry-content">
				<div class="entry-body">
					<$MTEntryBody$>
				</div>
				<MTEntryIfExtended>
					<p class="entry-more-link">
						<a href="<$MTEntryPermalink$>#more"><$MTTrans phrase="Continue reading"$> "<$MTEntryTitle$>" »</a>
					</p>
				</MTEntryIfExtended>
				<MTFeedflareIfEnabled>
					<script src="<$MTFeedflareUrl$><$MTEntryPermalink encode_url="1"$>" type="text/javascript"></script>
				</MTFeedflareIfEnabled>
			</div>
			<div class="entry-footer">
				<p class="entry-footer-info">
					<$MTEntryPostFooter$>
					<MTEntryIfAllowComments>
						<MTIfNonEmpty tag="MTEntryPostFooter"><span class="separator">|</span></MTIfNonEmpty>
						<a href="<$MTEntryPermalink$>#comments"><$MTTrans phrase="Comments"$> (<$MTEntryCommentCount$>)</a>
					</MTEntryIfAllowComments>
					<MTEntryIfAllowPings>
						<MTIfNonEmpty tag="MTEntryPostFooter"><span class="separator">|</span><MTElse><MTEntryIfAllowComments><span class="separator">|</span></MTEntryIfAllowComments></MTElse></MTIfNonEmpty>
						<a href="<$MTEntryPermalink$>#trackback"><$MTTrans phrase="TrackBack"$> (<$MTEntryTrackbackCount$>)</a>
					</MTEntryIfAllowPings>
				</p>
				<$MTWeblogIncludeModule module="entry-footer-links"$>
			</div>
		</div>
	</MTBlogStickyEntry>
</MTBlogIfHasSticky>
<MTEntries no_featured_post="1">
	<MTWeblogPostIfShow field="date_header">
		<MTDateHeader><h2 class="date-header"><$MTEntryDate format_weblog_date="1"$></h2></MTDateHeader>
	</MTWeblogPostIfShow>
	<div class="entry" id="entry-<$MTEntryID$>">
		<MTWeblogPostIfShow field="post_title">
			<h3 class="entry-header"><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></h3>
		</MTWeblogPostIfShow>
		<div class="entry-content">
			<div class="entry-body">
				<$MTEntryBody$>
			</div>
			<MTEntryIfExtended>
				<p class="entry-more-link">
					<a href="<$MTEntryPermalink$>#more"><$MTTrans phrase="Continue reading"$> "<$MTEntryTitle$>" »</a>
				</p>
			</MTEntryIfExtended>
			<MTFeedflareIfEnabled>
				<script src="<$MTFeedflareUrl$><$MTEntryPermalink encode_url="1"$>" type="text/javascript"></script>
			</MTFeedflareIfEnabled>
		</div>
		<div class="entry-footer">
			<p class="entry-footer-info">
				<$MTEntryPostFooter$>
				<MTEntryIfAllowComments>
					<MTIfNonEmpty tag="MTEntryPostFooter"><span class="separator">|</span></MTIfNonEmpty>
					<a href="<$MTEntryPermalink$>#comments"><$MTTrans phrase="Comments"$> (<$MTEntryCommentCount$>)</a>
				</MTEntryIfAllowComments>
				<MTEntryIfAllowPings>
					<MTIfNonEmpty tag="MTEntryPostFooter"><span class="separator">|</span><MTElse><MTEntryIfAllowComments><span class="separator">|</span></MTEntryIfAllowComments></MTElse></MTIfNonEmpty>
					<a href="<$MTEntryPermalink$>#trackback"><$MTTrans phrase="TrackBack"$> (<$MTEntryTrackbackCount$>)</a>
				</MTEntryIfAllowPings>
			</p>
			<$MTWeblogIncludeModule module="entry-footer-links"$>
		</div>
	</div>
	<MTEntriesFooter>
	<MTIfPages>
	<div class="pager-bottom pager-entries pager content-nav">
		<div class="pager-inner">
			<MTIfPreviousPage><span class="pager-left">
				<a href="<$MTPreviousPageURL$>"><span class="chevron">«</span>
					<span class="pager-label"><$MTEntryPreviousPageLabel encode_html="1"$></span></a>
			</span></MTIfPreviousPage>
			<MTIfPreviousPage><MTIfNextPage><span class="separator">|</span></MTIfNextPage></MTIfPreviousPage>
			<MTIfNextPage><span class="pager-right">
				<a href="<$MTNextPageURL$>"><span class="pager-label"><$MTEntryNextPageLabel encode_html="1"$></span>
					<span class="chevron">»</span></a>
			</span></MTIfNextPage>
		</div>
	</div>
	</MTIfPages>
	</MTEntriesFooter>
</MTEntries>

アーカイブ・ヘッダー

モジュール名: head-archives

内包するモジュール: head-common

使用先: Archive Index Template

<$MTWeblogIncludeModule module="head-common"$>
	<title><$MTBlogName$>: <$MTTrans phrase="Archives"$></title>
	<link rel="start" href="<$MTBlogURL$>" title="Home" />
</head>

アーカイブ一覧

モジュール名: archives-full

使用先: Archive Index Template

<!-- archives -->
<MTBlogIfArchives archive_type="Monthly|Weekly|Daily">
	<div class="archive-date-based archive">
		<h2 class="archive-header"><$MTTrans phrase="Archives"$></h2>
		<div class="archive-content">
			<ul class="archive-list">
				<MTArchiveList best_archive_type="1">
					<li class="archive-list-item"><a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a></li>
				</MTArchiveList>
			</ul>
		</div>
	</div>
</MTBlogIfArchives>

<MTBlogIfHasCategories>
<MTBlogIfArchives archive_type="Category">
	<div class="archive-categories archive">
		<h2 class="archive-header"><$MTTrans phrase="Categories"$></h2>
		<div class="archive-content">
			<ul class="archive-list">
				<MTCategories>
					<li class="archive-list-item"><a href="<$MTCategoryArchiveLink$>"><$MTCategoryLabel$></a></li>
				</MTCategories>
			</ul>
		</div>
	</div>
</MTBlogIfArchives>
</MTBlogIfHasCategories>

<MTBlogIfArchives archive_type="Monthly|Weekly|Daily|Category"><MTElse>
<MTBlogIfArchives archive_type="Individual">
	<div class="archive-individual archive">
		<h2 class="archive-header"><$MTTrans phrase="Entries"$></h2>
		<div class="archive-content">
			<ul class="archive-list">
				<MTEntries all="1">
					<li class="archive-list-item"><a href="<$MTEntryLink archive_type="Individual"$>"><MTEntryTitle generate="1"></a></li>
				</MTEntries>
			</ul>
		</div>
	</div>
</MTBlogIfArchives>
</MTElse></MTBlogIfArchives>

日付ベース・アーカイブのヘッダー

モジュール名: head-date-based

内包するモジュール: head-common

使用先: DateBased Archives Template

<$MTWeblogIncludeModule module="head-common"$>
	<title><$MTBlogName$>: <$MTArchiveHeader$></title>
	<link rel="start" href="<$MTBlogURL$>" title="Home" />
	<MTArchivePrevious><link rel="prev" href="<$MTArchiveLink$>?no_prefetch=1" title="<$MTArchiveTitle encode_html="1"$>" /></MTArchivePrevious>
	<MTArchiveNext><link rel="next" href="<$MTArchiveLink$>?no_prefetch=1" title="<$MTArchiveTitle encode_html="1"$>" /></MTArchiveNext>
</head>

アーカイブ・ナビゲーション

モジュール名: archive-nav

使用先: DateBased Archives

<!-- archive nav -->
<p class="content-nav">
	<MTArchivePrevious>
		<a href="<$MTArchiveLink$>">« <$MTArchiveTitle$></a> |
	</MTArchivePrevious>
	<a href="<$MTBlogRecentPostsURL$>"><$MTTrans phrase="Main"$></a>
	<MTArchiveNext>
		| <a href="<$MTArchiveLink$>"><$MTArchiveTitle$> »</a>
	</MTArchiveNext>
</p>

カテゴリー・アーカイブのヘッダー

モジュール名: head-category

内包するモジュール: head-common

使用先: Category Archives

<$MTWeblogIncludeModule module="head-common"$>
	<title><$MTBlogName$>: <$MTArchiveTitle$></title>
	<link rel="start" href="<$MTBlogURL$>" title="Home" />
	<$MTWeblogTypeCastMobileLink$>
</head>

個別アーカイブのヘッダー

モジュール名: head-individual

内包するモジュール: head-common

使用先: Individual Archives

<$MTWeblogIncludeModule module="head-common"$>
<MTEntryIfAllowComments>
	<MTBlogIfEntryCommentFeed>
		<link rel="alternate" type="application/atom+xml" title="<$MTTrans phrase="Comments on '[_1]' (Atom)" param="MTEntryTitle" encode_html="1"$>" href="<$MTEntryCommentAtomFeedURL$>" />
		<link rel="alternate" type="application/rss+xml" title="<$MTTrans phrase="Comments on '[_1]' (RSS 2.0)" param="MTEntryTitle" encode_html="1"$>" href="<$MTEntryCommentRSSFeedURL$>" />
	</MTBlogIfEntryCommentFeed>
</MTEntryIfAllowComments>
	<title><$MTBlogName$>: <$MTEntryTitle remove_html="1"$></title>
	<link rel="start" href="<$MTBlogURL$>" title="Home" />
	<MTEntryPrevious><link rel="prev" href="<$MTEntryPermalink$>?no_prefetch=1" title="<$MTEntryTitle encode_html="1"$>" /></MTEntryPrevious>
	<MTEntryNext><link rel="next" href="<$MTEntryPermalink$>?no_prefetch=1" title="<$MTEntryTitle encode_html="1"$>" /></MTEntryNext>
	<$MTWeblogTypeCastMobileLink$>
	<$MTEntryTrackbackData$>
</head>

個別記事

モジュール名: entry-individual

使用先: Individual Archives

<!-- content nav -->
<p class="content-nav">
	<MTEntryPrevious><a href="<$MTEntryPermalink$>">« <$MTEntryTitle$></a> |</MTEntryPrevious>
	<a href="<$MTBlogRecentPostsURL$>"><$MTTrans phrase="Main"$></a>
	<MTEntryNext>| <a href="<$MTEntryPermalink$>"><$MTEntryTitle$> »</a></MTEntryNext>
</p>

<!-- entry -->
<MTWeblogPostIfShow field="date_header">
	<MTDateHeader><h2 class="date-header"><$MTEntryDate format_weblog_date="1"$></h2></MTDateHeader>
</MTWeblogPostIfShow>

<div class="entry" id="entry-<$MTEntryID$>">
	<MTWeblogPostIfShow field="post_title">
		<h3 class="entry-header"><$MTEntryTitle$></h3>
	</MTWeblogPostIfShow>
	<div class="entry-content">
		<div class="entry-body">
			<$MTEntryBody$>
		</div>
		<MTEntryIfExtended>
			<a id="more"></a>
			<div class="entry-more">
				<$MTEntryMore$>
			</div>
		</MTEntryIfExtended>
		<MTFeedflareIfEnabled>
			<script src="<$MTFeedflareUrl$><$MTEntryPermalink encode_url="1"$>" type="text/javascript"></script>
		</MTFeedflareIfEnabled>
	</div>
	<div class="entry-footer">
		<MTIfNonEmpty tag="MTEntryPostFooter">
			<p class="entry-footer-info">
				<$MTEntryPostFooter$>
			</p>
		</MTIfNonEmpty>
		<$MTWeblogIncludeModule module="entry-footer-links"$>
	</div>
</div>

<MTEntryIfAllowPings>
	<$MTWeblogIncludeModule module="trackbacks"$>
</MTEntryIfAllowPings>

<MTEntryIfAllowComments>
	<a id="comments"></a>
	<div class="comments">
		<h3 class="comments-header"><$MTTrans phrase="Comments"$></h3>
		<MTBlogIfEntryCommentFeed>
			<div class="comments-info">
				<p><a href="<$MTEntryCommentAtomFeedURL$>"><img src="<$MTStaticWebPath$>images/feed.png" alt="<$MTTrans phrase="Feed"$>" width="10" height="10" /></a> <$MTTrans phrase="You can follow this conversation by subscribing to the"$> <a href="<$MTEntryCommentAtomFeedURL$>"><$MTTrans phrase="comment feed"$></a> <$MTTrans phrase="for this post."$></p>
			</div>
		</MTBlogIfEntryCommentFeed>
		<div class="comments-content">
			<$MTWeblogIncludeModule module="comment-list"$>
		</div>
        <MTCommentIfPages>
        <div class="pager-bottom pager-comments pager content-nav">
            <div class="pager-inner">
            <MTCommentIfPreviousPage>
                <span class="pager-left">
                    <a href="<$MTCommentPreviousPageURL$>#comments"><span class="chevron">«</span>
                        <span class="pager-label"><$MTCommentPreviousPageLabel encode_html="1"$></span></a>
                </span>       
            </MTCommentIfPreviousPage>
            <MTCommentIfPreviousPage><MTCommentIfNextPage>
                <span class="separator">|</span>
            </MTCommentIfNextPage></MTCommentIfPreviousPage>
            <MTCommentIfNextPage>
                <span class="pager-right">
                    <a href="<$MTCommentNextPageURL$>#comments"><span class="pager-label"><$MTCommentNextPageLabel encode_html="1"$></span>
                        <span class="chevron">»</span></a>
                </span> 
            </MTCommentIfNextPage>
            </div>
        </div>
        </MTCommentIfPages>
	</div>
	<$MTWeblogIncludeModule module="comment-form"$>
</MTEntryIfAllowComments>

コメント一覧

モジュール名: comment-list

使用先: entry-individual

<!-- comment list -->
<MTComments>
	<a id="c<$MTCommentID$>"></a>
	<div class="comment" id="comment-<$MTCommentID$>">
		<div class="comment-content">
			<$MTCommentBody$>
		</div>
		<p class="comment-footer">
			<$MTTrans phrase="Posted by:"$>
			<$MTCommentAuthorLink show_email="0" spam_protect="1"$> |
			<a href="<$MTEntryPermalink$>#comment-<$MTCommentID$>"><$MTCommentDate format_weblog_datetime="1"$></a>
		</p>
	</div>
</MTComments>

コメント・フォーム

モジュール名: comment-form

使用先: entry-individual

<!-- comment form -->
<MTEntryIfCommentsOpen>
	<script type="text/javascript" src="<$MTStaticWebPath$>js/comments.js"></script>
	<script type="text/javascript">hostName = '<$MTBlogHost$>';</script>
	
	<form id="comment-form"
		method="post" action="<$MTCGIPath$><$MTCommentScript$>">
		<input type="hidden" name="entry_id" value="<$MTEntryID$>" />
		<input type="hidden" name="user_id" value="<$MTUserID>" />
		
		<div class="comments-open">
			<h2 class="comments-open-header"><$MTTrans phrase="Post a comment"$></h2>
			<div class="comments-open-content">
				<MTWeblogIfCommentsModerated>
					<p class="comments-open-moderated">
						<$MTTrans phrase="Comments are moderated, and will not appear on this weblog until the author has approved them."$>
					</p>
				</MTWeblogIfCommentsModerated>
				
				<MTWeblogIfRegistrationEnabled>
					<script type="text/javascript" src="<$MTCGIPath$><$MTCommentScript$>?__mode=check_login"></script>
					<script type="text/javascript">
						checkLocal();
					</script>
					
					<p id="comments-open-login" style="display: block;">
						<MTWeblogIfRegistrationRequired>
							<$MTTrans phrase="This weblog only allows comments from registered users."$>
							<$MTTrans phrase="To comment, please"$>
							<a href="<$MTEntrySignInURL$>"><$MTTrans phrase="Sign In"$></a>.
						<MTElse>
							<$MTTrans phrase="If you have a TypeKey or TypePad account, please"$>
							<a href="<$MTEntrySignInURL$>"><$MTTrans phrase="Sign In"$></a>
						</MTElse>
						</MTWeblogIfRegistrationRequired>
					</p>
					
					<p id="comments-open-logout" style="display: none;">
						<$MTTrans phrase="You are currently signed in as"$>
						<span id="commenter-name">(nobody)</span>.
						<a href="<$MTEntrySignOutURL$>"><$MTTrans phrase="Sign Out"$></a>
					</p>
				</MTWeblogIfRegistrationEnabled>
				
				<MTWeblogIfRegistrationRequired>
				<MTElse>
					<div id="comments-open-data">
						<p>
							<label for="comment-author"><$MTTrans phrase="Name:"$></label>
							<input id="comment-author" name="author" size="30" />
						</p>
						<p>
							<label for="comment-email"><$MTTrans phrase="Email Address:"$> <span class="comment-form-note"><$MTTrans phrase="(Not displayed with comment.)"$></span></label>
							<input id="comment-email" name="email" size="30" />
						</p>
						<p>
							<label for="comment-url"><$MTTrans phrase="URL:"$></label>
							<input id="comment-url" name="url" size="30" />
						</p>
						<p>
							<label for="comment-bake-cookie"><input type="checkbox"
								id="comment-bake-cookie" name="bakecookie" value="1" />
								<$MTTrans phrase="Remember personal info?"$></label>
						</p>
					</div>
				</MTElse>
				</MTWeblogIfRegistrationRequired>

<MTWeblogIfRegistrationRequired>
	<p id="comments-open-text" style="display: none;">
<MTElse>
	<p id="comments-open-text">
</MTElse>
</MTWeblogIfRegistrationRequired>

					<label for="comment-text"><$MTTrans phrase="Comments:"$><$MTWeblogIncludeModule module="comment-emoticon"$></label>
					<textarea id="comment-text" name="text" rows="10" cols="30" onkeyup="maxTextarea(this, 64000)"></textarea>
				</p>
			</div>

<MTWeblogIfRegistrationRequired>
	<div id="comments-open-footer" class="comments-open-footer" style="display: none;">
<MTElse>
	<div id="comments-open-footer" class="comments-open-footer">
</MTElse>
</MTWeblogIfRegistrationRequired>

				<input type="submit" name="preview" id="comment-preview" value=" <$MTTrans phrase="Preview"$> " />
				<input type="submit" name="post" id="comment-post" value=" <$MTTrans phrase="_POST_VERB"$> " onclick="disableButton(this);return false;" />
			</div>
		</div>
	</form>
	
	<MTWeblogIfRegistrationEnabled>
		<script type="text/javascript">
			commentSignIn();
		</script>
	</MTWeblogIfRegistrationEnabled>
</MTEntryIfCommentsOpen>
<MTEntryIfCommentsOpen>
<MTElse>
	<p class="comments-closed">
		<$MTTrans phrase="The comments to this entry are closed."$>
	</p>
</MTElse>
</MTEntryIfCommentsOpen>

ウェブページ

モジュール名: page

使用先: Pages

<!-- page -->
<div class="entry" id="entry-<$MTEntryID$>">
	<h3 class="entry-header"><$MTPageTitle$></h3>
	<div class="entry-content">
		<div class="entry-body">
			<$MTPageBody$>
		</div>
	</div>
	<MTWeblogIfExposePostFooterLinks>
		<div class="entry-footer">
			<$MTWeblogIncludeModule module="entry-footer-links"$>
		</div>
	</MTWeblogIfExposePostFooterLinks>
</div>

<MTEntryIfAllowPings>
	<$MTWeblogIncludeModule module="trackbacks"$>
</MTEntryIfAllowPings>

<MTEntryIfAllowComments>
	<a id="comments"></a>
	<div class="comments">
		<h3 class="comments-header"><$MTTrans phrase="Comments"$></h3>
		<MTBlogIfEntryCommentFeed>
			<div class="comments-info">
				<p><a href="<$MTEntryCommentAtomFeedURL$>"><img src="<$MTStaticWebPath$>images/feed.png" alt="<$MTTrans phrase="Feed"$>" width="10" height="10" /></a> <$MTTrans phrase="You can follow this conversation by subscribing to the"$> <a href="<$MTEntryCommentAtomFeedURL$>"><$MTTrans phrase="comment feed"$></a> <$MTTrans phrase="for this post."$></p>
			</div>
		</MTBlogIfEntryCommentFeed>
		<div class="comments-content">
			<$MTWeblogIncludeModule module="comment-list"$>
		</div>
        <MTCommentIfPages>
        <div class="pager-bottom pager-comments pager content-nav">
            <div class="pager-inner">
            <MTCommentIfPreviousPage>
                <span class="pager-left">
                    <a href="<$MTCommentPreviousPageURL$>#comments"><span class="chevron">«</span>
                        <span class="pager-label"><$MTCommentPreviousPageLabel encode_html="1"$></span></a>
                </span>       
            </MTCommentIfPreviousPage>
            <MTCommentIfPreviousPage><MTCommentIfNextPage>
                <span class="separator">|</span>
            </MTCommentIfNextPage></MTCommentIfPreviousPage>
            <MTCommentIfNextPage>
                <span class="pager-right">
                    <a href="<$MTCommentNextPageURL$>#comments"><span class="pager-label"><$MTCommentNextPageLabel encode_html="1"$></span>
                        <span class="chevron">»</span></a>
                </span> 
            </MTCommentIfNextPage>
            </div>
        </div>
        </MTCommentIfPages>
	</div>
	<$MTWeblogIncludeModule module="comment-form"$>
</MTEntryIfAllowComments>

評価


解決した 参考になったけど解決しなかった 解決しなかった