JTBC CMS常用標籤

網站名稱 系統管理-語言管理-模塊公用-web_title
版權信息 系統管理-語言管理-模塊公用-web_copyright
類別調用樣式 編輯代號:tpl.tpl_sort
調用文章分類列表 {$=itransfer(‘top’, ’1′, ‘topx=10;tnum=30;genre=article;class=1′)}
<上面的解釋:>
最新,熱門,隱藏,推薦:top,hot,new,good
調用的模板編號
topx調用記錄數量
tnum標題的截取字數
class類別的ID

{$=get_sorttext(ngenre, nlng, request(“classid”))}
列表頁.獲取當前類別名

在詳細內容頁.獲取當前類別名{$=get_sorttext(ngenre, nlng, ‘{$class}’)}
——————————————————-
{$web_title} 頁面標題
{$=get_sorttext(‘article’,’chinese’,’{$class}’)} 所在欄目名稱
{$=inavigation(“module”, “{$class}”)} 詳細所在位置
{$count} 點擊數
{$time} 時間
{$cpagestr} 分頁
{$=iurl(‘detail’, {$id}, nurltype, ‘folder=’ & ncreatefolder & ‘;filetype=’ & ncreatefiletype & ‘;time={$time}’)} 新聞地址
{$topic} 新聞標題
{$=get_sorttext(‘article’,’chinese’,’{$id2}’)} 欄目文章列表循環時調用的所在欄目名稱
{$=ileft(rs(cfname(“daodu”)), 200)} 新聞導讀(200爲截取的字數)
{$recurrence_ida} 循環列表(開始,關閉都是這個標籤)
{$=curl(“{$baseurl}”, iurl(‘list’, {$id}, {$urltype}, ‘folder={$createfolder};filetype={$createfiletype}’))} 自定義調用類別

文章列表時文章所在的欄目名稱
{$sort} 自定義調用類別文章列表時文章所在的url
{$=nurl} 當前欄目頁url

——————————————————-
{$content} 詳細內容
{$topic} 新聞標題
{$time} 時間
{$web_title} 頁面標題
{$seo1} 文章關鍵子
{$seo2} 文章簡介
{$zuozhe} 作者
{$laiyuan} 來源
{$=itransfer(“up”,”模塊名”,”topx=1;tnum=30;bid={$id}”)} 上一編文章
{$=itransfer(“down”,”模塊名”,”topx=1;tnum=30;bid={$id}”)} 下一編文章
{$createfiletype}’))} 自定義調用類別文章列表時文章所在的欄目名稱
{$sort} 自定義調用類別文章列表時文章所在的url
{$=nurl} 當前頁面url

評論表代碼:

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章