destoon实现调用图文新闻的方法,destoon图文
本文实例展示了destoon调用图文新闻的方法,该功能是非常常见且实用的技巧。分享给大家供大家参考。具体实现方法如下:
主要功能代码如下所示:
{if $DT[page_news]} <!--{tag("moduleid=21&length=16&condition=status=3 and level=3 and thumb<>''&pagesize=1&target=_blank&order=addtime desc&width=100&height=80&cols=1&template=thumb-table")}--> {/if} <!--{php $tags=tag("moduleid=7&condition=status=3 and thumb!=''&length=30 and level>0&areaid=$cityid&pagesize=1&datetype=2&order=addtime desc&target=_blank&template=null");}--> {loop $tags $i $t} <a href="{$t[linkurl]}" rel="external nofollow" target="_blank"><span><img src="/static/imghwm/default1.png" data-src="{$t[thumb]}" class="lazy" style="max-width:90%" style="max-width:90%" alt="" ></span> <strong>{$t[title]}</strong> <small>{dsubstr($t[introduce],76)}... <em>[详细]</em></small> </a> {/loop} </div>
希望本文所述方法对大家destoon开发能有所帮助。
将图片新闻设置成头条推荐图文
重新设置个level6的名称
然后level=6
再建一个带图片的模板 名称为list-tuwen
{ad(26)}{loop $tags $t}

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 English version
Recommended: Win version, supports code prompts!

SublimeText3 Linux new version
SublimeText3 Linux latest version

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.
