帝国cms other.link 和otherlink使用说明

[!–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.dnwfb.com/288.html,转载请注明出处。
0

评论0

没有账号? 注册  忘记密码?