聯系官方銷售客服
1835022288
028-61286886
請問多欄目搜索的這塊,想約束特定的欄目id搜索,應該怎么寫呢
這段標簽會列出所有的欄目,我想要幾個就行
{php $top_search=[];} {cache name=module-content} {if $t.search} {php !$top_search && $top_search=$t;} <li><a href="javascript:dr_search_module_select('{$t.dirname}', '{$t.name}');" class="selected">{$t.name} <i></i></a></li> {/if} {/cache}
{cache name=module-content} 這個是循環(huán)模塊的,并不是循環(huán)欄目啊,跟欄目沒有任何關系
回復@迅??蚣芗夹g-胡老師 哦哦,對對,這塊怎么約束我想要的模塊啊,就是比如我有6個模塊,我只想要其中3個