[!--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
新聞熱點
疑難解答