帝国cm中sother.link和otherlink标签详解

时间:5年前   阅读:5859

[!--other.link--]和[otherlink]标签模板ID,操作对象,调用条数,标题截取字数,是否显示栏目名,操作类型,只显示标题图片的信息[/otherlink]

相关文章标签:[otherlink]2,'',10,60,0,0,0[/otherlink]   //好像就按标题的关键字 关联的,在发布文章的特殊属性那里。

相关文章标签:[!--other.link--]    //好像是按找文章关键字 关联的,,,

                          [!--other.link--] 标签 在模板管理>公共模板>相关信息链接模板 处修改

要是进行跨表操作的时候用[otherlink]

但是值得注意的是用[otherlink]的操作类型是按栏目时,操作对象不支持'selfinfo',想要是本栏目下的相关链接要用$navinfor[classid]

例:[otherlink]3,$navinfor[classid] ,10,200,0,2,0[/otherlink]   这样写是对的

      [otherlink]3,selfinfo ,10,200,0,2,0[/otherlink]  这样是错的

否则会报SQl错误”生成提示错误:

SQL Error: select * from phome_ecms_ where classid='36' and (keyboard like '%日常%' or keyboard like '%信函%') order by newstime desc limit 10

本站声明:网站内容来源于网络,如有侵权,请联系我们https://www.qiquanji.com,我们将及时处理。

微信扫码关注

更新实时通知

上一篇:JS是用来干什么的

下一篇:emlog调用评论发布框和评论列表的方法

网友评论

请先 登录 再评论,若不是会员请先 注册