我想实现在首页调取一个模块查询的内容 然后这个模块查询里面在调取另一个模块里面同名的内容 请问应该怎么实现呢
{linkage code=address pid=0}
<label><a class="label {if in_array($t.ii, $pids)}label-success{else}label-default{/if}" href="{Router::search_url($params, 'diqu', $t.id,'a模块)}">{$t.name}</a></label>
{/linkage}
{search module=MOD_DIR id=$searchid total=$sototal order=$params.order catid=$catid}
{module module=b模块 order=updatetime num=10 return=c 调取b模块中标题为a模块中查询到的标题的内容 }
标题:{$c.title}
{/module}
{/search}实现效果
a模块内容开始
b模块同名标题内容
a模块内容结束
{search module=MOD_DIR id=$searchid total=$sototal order=$params.order catid=$catid} {module module=ad order=updatetime num=10 return=c } 标题:{$c.title} {loop $c['sou'] $v} {$v} {/loop}</p> {/module} {/search}{module module=aaa模块} {module module=b模块 order=updatetime num=10 title=$t.title return=c} 标题:{$c.title} {/module} {/module}