5ucms如何在channel頁面直接調出文章內容

<!--channel:{ $row=1 $table=channel $where=id in({field:childid}) $field=table,cid,id,childid,childids}-->
<div class="node">
<div class="title"><a href="[channel:curl]">[channel:cname]</a></div>
<div class="box">
<ul>
<!--artlist:{ $row=1 $table=Content $where=[cid]=[channel:childids] }-->
<li><a href="[artlist:aurl]">[artlist:title]</a></li>
<p><!--c:{$row=1 $table=[channel:table $Replace={pre}##] $where=[aid]=[artlist:id] and [cid] =[artlist:cid] $order=[aid] desc}-->
[c:content]
<!--c-->
</p>
<!--artlist-->
</ul>
</div>
</div>
<!--channel-->

 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章