dedecms 如何调用 内容模型是“分类信息|infos”的下级栏目中的分类信息

2025-05-21 00:38:13
推荐回答(1个)
回答1:

你这个问题是属于:在一个内容模型里面去调用另外一个内容模型的问题了。

解决方法如下:

{dede:arclist row=10 titlelen='8'  type='image.' addfields='price,trueprice'  channelid='6' orderby='pubdate' typeid='5' }

  • [field:image/][field:title/]

    市场价:[field:price/]元
     

    优惠价:[field:trueprice/]元

  •    

    {/dede:arclist}

    说明:

    channelid='6' 是内容模型的id号

    addfields='price,trueprice'  这个是想要调出来的字段名。