« MTCalc0.4 | Home | MTCalc0.6 »

February 25, 2006

MTCalc0.5

MTのほうで、アトリビュート内のMTタグを展開してくれないことで、別の手段を模索しなくてはならなくなった。
そういえば、<$MT...$>という構文では無い形でタグの情報を利用しているタグがあった筈。・・・そうだ、MTIfNonZero と MTIfNonEmpty だ。
早速、./lib/MT/Template/ContextHandler.pm から、それっぽいところをぶった切って持ってきてみる。
動いた。
何とかなりそうだ。

ついでに、MTSetVar などとも連携が取れるようにすれば面白そうだ。

No TrackBacks

TrackBack URL: http://aklaswad.com/cgi-bin/mt/mt-tb.cgi/9

Leave a comment

OpenID accepted here Learn more about OpenID

About this Entry

This page contains a single entry by aklaswad published on February 25, 2006 10:07 PM.

MTCalc0.4 was the previous entry in this blog.

MTCalc0.6 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.