dedecms首页调用留言本
有时候为了需要,在首页调用留言版。那么该怎么调用呢,今天就分享下。
{dede:loop table='dede_guestbook' sort='dtime' row='10' titlelen='36' typeid='40' if='ischeck=1'}
[field:uname /]
[field:msg function="cn_substr('@me',30)"/]
[field:ip /]
{/dede:loop}
其中 [field:uname /]为调用用户昵称为调用用户头像
[field:msg function="cn_substr('@me',30)"/]为调用评论内容
[field:ip /]为调用发帖者IP地址<
标签解析:{list action=category module=share pid=0}
当前地址:https://www.xuejiqiao.com/index.php?s=article&c=html&m=show&catids=&pp=2
当前路由:article/show/index
变量前缀:t
开发模式:已开启
数据缓存:后台未开启缓存
总记录数:10
分页功能:未开启
可用字段:id、tid、pid、mid、pids、name、dirname、pdirname、child、childids、domain、mobile_domain、thumb、show、content、displayorder、pcatpost、topid、catids、is_post、url、total
-
用微信 “扫一扫”
将文章分享到朋友圈。
关注公众号:xue-jiqiao
本文版权归原作者所有,转载请注明原文来源出处,学技巧网站制作感谢您的支持!