>>64
昔使ってた、Smarty を使って配列の数をカウントする方法、取り急ぎ書いておきますー
(近々、エントリ総数表示用のタグつくりますが)
全エントリを取得して、その配列を空回しして、総数だけ取得する方法です。
例えば、こんな風に書きます。


{Blogdata->assign name="entrylist" method='entrylist_all' assign="EntrylistAll"}
{* 行数カウント *}
{section name=ct loop=$EntrylistAll}
{/section}
<p>
エントリ数 [{$smarty.section.ct.total}]
</p>