From: Yoshimi K. <yos...@ir...> - 2003-04-05 22:57:02
|
yoshimiです。 From: TADA Tadashi <sh...@sp...> Subject: [tDiary-devel] Re: theme_urlの指定オプション > theme_urlはプラグインです。ですから上書き定義ができます。 > 例えばtheme_url.rbというプラグインファイルを用意して、 > > def theme_url > 'http://example.com/~tdiary/theme' > end 僕もこの方法でやっているのですが、どうせならオプション でできるようにしたほうがいいと思って書きました。 オプションのほうがほんのすこし楽だと思いましたが、 index.rb、update.rb等を自分で用意しなければいけないので、自 分でプラグインを用意させるのでもいいのかもしれません。 |