迅睿CMS内容页调用指定栏目内容

迅睿CMS内容页调用指定栏目内容 
{category module=share id=15 return=c1} <!--指定子栏目15-->
{$c1.name}
{$key+1}<!--文章序号-->
{$t.url}<!--文章链接-->
{$t.title}<!--文章标题-->
{$c1.url}<!--子栏目链接-->
{php echo \Phpcmf\Service::M()->db->table('1_news_index')->where('status=9')->where('catid=15')->countAllResults();}<!--子栏目文章数量-->
{/category}

 

在线生成内容页标签:https://www.xunruicms.com/doc/code/module.html

posted @ 2025-05-09 17:52  asqq8  阅读(53)  评论(0)    收藏  举报
51LA统计