{category module=product pid=$c1.id return=c2}
<li class="sort_part_item_menu_item" onClick="[removed].href='{$c2.url}'">{$c2.name} ({intval(dr_share_cat_value($c2.id, 'total'))} {dr_cat_value("product", $c2.id, "total")}{dr_share_cat_value($c2.id, "total")}{$c2.id})</li>
{/category}
我想输出每个栏目存在的信息数,这个栏目里面是有一条信息的,试过多种方式输出的还是0
{$c2.total}{intval(dr_share_cat_value($c2.id, 'total'))}共享栏目可以用这个方法还是0
({intval(dr_share_cat_value($c2.id, 'total'))} {dr_cat_value("product", $c2.id, "total")}{dr_share_cat_value($c2.id, "total")} {$c2.total} {$c2.id})方法都对,就是没有更新缓存,建议手册中增加一下