MT4.1????SetVar name="hoge" value="hoo" ????????GetVar????????option???op??????????????????????????????
?MT op??????????????????????
????????????????????
??????????????????????????????????????????????????????????????????
???????????????????????????customfield1 ????????MTcustomfield1>???????????????????????MT????????????????????????????????????
- ?????????
- MTEntry?????op????????????customfield1?????
- ???????
<MTSetVar name="var1" value="0"><MTIgnore>//?????????</MTIgnore>
<MTEntries lastn="9999">
<MTSetVarBlock name="var1" value="$var1" op="+"><MTcustomfield1></MTSetVarBlock>
</MTEntries>
???<MTGetVar name="var1"> <MTIgnore>//???????</MTIgnore>
????????????????
????????2008?11?1??????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????????????????????
??????
- ?????????????????????????????????<MTInclude ?>??????
- ?????????????????????????????????????????????????????????????????????????????????1????????????????????(??????????????? Entry?????????entry_meta?binary???????????????????????????????????????????????????????????mt_field??field_default????????????????????????????entry_meta??????????????????????????????????????????????????
- ??????????????????????????????????????????????
<MTIfNonEmpty tag="customfield1">??????: <MTcustomfield1>
</MTIfNonEmpty>
???????????????????????
<MTIfNonEmpty>???????????????????? - ?????SQL?????????????????(sum????)??????DB???????????????????????????????????????????????????????
???????????????????????????????????????????????????????EntryMore?????????????????????????????MT??????????import?????????????????????????????????????????????????????????OK???????????SQL??????????????????????????????????SELECT SUM(XX) FROM????????????????????????????????????????????
???????????????????????????Blob?????????????????Replace??????????????????SQL????????????????????MySQL???????????????????????????????????????????????SQL?????????????????????????????????????????????????????????????????t?????????????????????????????????????????????????????????????????????????????????????????????php???????????????????????????????