今天的 zencart教程 是 zen cart系統的右側欄目
zen cart系統的右側欄目
zen cart系統的右側欄目也左側欄目運行的機制一樣,都是先從數據庫中讀出欄目文件.然後根據文件名稱來顯示對應的欄目塊.
右邊的搜索模塊.includes/templates/template_default/common /tpl_box_default_right.php,這個是顯示右邊欄目子模塊的內容的。每個模塊的內容,都是通過他來顯示的。裏面主要有兩個參 數,$box_id,$content.
$box_id,$content來自includes/modules/column_right.php中,通 過$column_right_display= $db->Execute(“select layout_box_name from ” . TABLE_LAYOUT_BOXES . ” where layout_box_location=1 and layout_box_status=1 and layout_template =’” . $template_dir . “‘” . ‘ order by layout_box_sort_order’);查詢顯示出來的。
比如查詢模塊,他就是通過includes/modules/sidebox/search.php文件來處理的,他包含了tpl_search.php
今天的 zencart教程 zen cart系統的右側欄目 就講完了 http://zencart.me/archives/158
zen cart教程的右側欄目文件調用分析,zencart教程
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
Error:check Snooping out of bounds
iteye_8630
2020-02-23 10:13:30
支付寶年度對賬單走紅 網友大呼:錢財都是浮雲啊
iteye_8630
2020-02-23 10:13:30
Error:check Snooping out of bounds
iteye_8630
2020-02-23 10:13:30
Can't connect to MySQL server on
iteye_8630
2020-02-23 10:13:30
Zencart如何新建新增語言和載入語言調用過程分析,zencart教程
iteye_8630
2020-02-23 10:13:30
支付寶年度對賬單走紅 網友大呼:錢財都是浮雲啊
iteye_8630
2020-02-23 10:13:30
zencart Easy Populate CSV插件,zencart插件,zencart教程
iteye_8630
2020-02-23 10:13:30
如何成爲搜索高手,搜索引擎的使用雖然簡單
iteye_8630
2018-09-30 04:11:17
HTML 5 新增的主體結構元素
iteye_8630
2018-09-30 04:11:17
爲什麼搜索引擎可以幫你獲得自信呢?
iteye_8630
2018-09-30 04:11:17