2008-03-03から1日間の記事一覧

備忘録:MTIfの比較対象に変数は使えない

mt

あるカテゴリ以下のサブカテゴリーリストを出力したいと思い <ul> <MTTopLevelCategories> <MTSetVarBlock name="parent"> <MTCategoryLabel trim_to="3"> </MTSetVarBlock> <MTHasSubCategories> <MTIf name="parent" eq="000"> <MTSubCategories> <li> <a href="<MTCategoryArchiveLink>"> <MTCategoryLabel cutbefore="_"></a> </li> </mtsubcategories></mtif></mthassubcategories></mttoplevelcategories></ul>