如何在列表中输出详细内容
问题:如何在首页或列表页要输出编辑器详细内容字段的内容?
用 table_join="INNER JOIN db_content_data on a.cid=db_content_data.cid"
标签示例如下:
{content top="10" root_id="3" model="product" table_join="INNER JOIN db_content_data on a.cid=db_content_data.cid"} <ul class="product-list"> {content:loop} <li><div class="thumbnail"><table cellpadding="0" cellspacing="0" border="0"><tbody><tr><td><a href="[content:link]"><img src="[content:thumbnail]" alt="[content:title]"></a></td></tr></tbody></table></div> <p class="title"><a href="[content:link]">[content:ctitle]</a></p> <p class="content"><%=OW.editorContentClientDecode("[content:content]")%></p> </li> {/content:loop} </ul> {/content}