TypePad マニュアル

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

自分でテンプレート・モジュールを作成する場合は、この標準モジュールをベースに、カスタマイズをするのが楽です。モジュールを作成したら、『新しくテンプレート・モジュールを作成』をクリックして、名前( qrcode )をつけて保存します。作成したモジュールは、以下のように記述することで、他のテンプレートで読み込むことができます。

関連モジュール・テンプレート

テンプレートの内容

<div class="module-qrcode module">
	<h2 class="module-header"><$MTTrans phrase="Mobile URL"$></h2>
	<div class="module-content">
		<img src="<$MTBlogURL$>qrcode.png" /><br />
<a href="mailto:?subject=<$MTWeblogTypeCastURLMailToSubject encode_url="1"$>&amp;body=<$MTWeblogTypeCastURL$>%3Fblog_id%3D<$MTBlogID$>%26user_id%3D<$MTUserID$>"><$MTTrans phrase="Send mobile url of this blog's"$></a>
	</div>
</div>

      

[ テンプレート一覧に戻る ] [ モジュール一覧に戻る ]