一點基本上的頁面設定,雖然是手動用的,但是可以發展下去的。
先在在管理區,看一下有關的設定,
=> 配置設定
==> Layout Settings
Column Left Status - Global 1
Column Right Status - Global 1
其中:
==================================
Column Left Status - Global如有需要,請作有關修改
Column Left Status - Global
Show Column Left, unless page override exists? ( 小提議,思路可以由這裡開始! ) 0= Column Left is always off
1= Column Left is on, unless page override
==================================
再看模板檔案: ( Zen Cart v1.3.x )
includes/templates/template_default/common/tpl_main_page.php
使用時,應該把它複製到
includes/templates/您的佈景板/common/tpl_main_page.php
在檔案內,有很多資料,請詳細參考所有有關的說明和附註。
其中 Line 41 - 442
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
$flag_disable_right = true;
}