XPressME Integration Kit

Trac

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#247 closed 要望(request) (修正済み)

複製ブロック毎のテンプレート

Reported by: toemon Owned by: toemon
Priority: 普通 Milestone: Ver.2.2.0(J.H Bonham)
Component: 一般 Version: 2.2.0 RC2
Severity: 普通 Keywords:
Cc:

Description

ブロック自体は複製が可能であるが、テンプレートは同じものをつかうことになるので、都合が悪い場合もあるようです。

Change History (3)

comment:1 Changed 14 years ago by toemon

#252 でVer1.Xからのアップデート時にtemplatesディレクトリから余計なファイルを消してくれるので、
基本的に、templatesディレクトリに指定ファイルが無い場合は、複製もとのファイルを指定ファイル名で、templatesディレクトリ内にコピーする。
テンプレートタイプをfileにしている場合はここまでの作業で終了、
テンプレートタイプをdbにしている場合には、
指定ファイルより接続子(モジュールディレクトリ名_)削除したものをsourceディレクトリにコピーし、アップデートを行うことで、DBテンプレートを作成するものとする。

comment:2 Changed 14 years ago by toemon

  • Resolution set to 修正済み
  • Status changed from new to closed

4463 にて実装完了
templatesディレクトリに指定ファイルが無い場合は、複製もとのファイルを指定ファイル名で、templatesディレクトリ内にコピーする。
テンプレートタイプをfileにしている場合はこの時点でテンプレートが使える。
テンプレートタイプをdbにしている場合には、
アップデートを行うことで、ファイルを元にDBテンプレートを作成するものとする。

作成出来るファイル名はプレフィックスとしてモジュールディレクトリ名を使用しなければならない。

comment:3 Changed 14 years ago by toemon

  • Milestone changed from Ver.2.3.0(Purple Haze) to Ver.2.2.0(J.H Bonham)
  • Version set to 2.2.0 RC2
Note: See TracTickets for help on using tickets.