お知らせ

DATE 2013.06.17

Movable Type で管理画面入力欄のHTMLを変更出来る AltField プラグインを公開します

CATEGORY
製品
TAG
AltField

AltField プラグインは Movable Type の管理画面でデフォルトのフィールド(タイトル、概要、キーワード、タグ)のHTMLを、指定したHTMLに置換することが出来るプラグインです。

bit-part/mt-plugin-AltField · GitHub
https://github.com/bit-part/mt-plugin-AltField

使い方

プラグインをインストールすると、各ウェブサイト/ブログのプラグイン設定の画面でこのように編集が出来ます。

ここで入力したコードにフィールドのHTMLが置き換わります。例えば、「概要 代替HTML」の欄に以下の様なコードを入力します。

<table>
<tr><th>名前</th><th>誕生日</th></tr>
<tr> 
<td><input type="text" name="excerpt">:</td><td><input type="text" name="excerpt"></td>
</tr>
略
</table>

管理画面の概要欄が、以下の様に変わります。

これで、柔軟なフィールドを作ることが可能になります。

注意点

このプラグインは入力欄のHTMLを書き換える機能のみを提供しています。
値の保存や保存したデータの表示についてはカスタマイズが必要になります。

We released AltField Plugin for Movable Type. This Plugin replace HTML of Title Field, Excerpt Field, Keywords Field and Tags Field.

bit-part/mt-plugin-AltField · GitHub
https://github.com/bit-part/mt-plugin-AltField

Usage

You installed this plugin, you can edit on settings of Plugins like follow image.

The code which you write in this settings is used as HTML of any field.

For example, write code in "excerpt alt_html" field like below.

<table>
<tr><th>名前</th><th>誕生日</th></tr>
<tr> 
<td><input type="text" name="excerpt">:</td><td><input type="text" name="excerpt"></td>
</tr>
略
</table>

Excerpt field is replaced like this follow image.

You can change HTML of field.

Notice

This plugin has only function of replacing HTML, so you need customize for saving data, showing data etc.

カテゴリ

年別アーカイブ

その他の記事

  • ${ formatDate(entry.date) }
  • PAGETOP