I have not set up any EZ_Pages at this time, because I am trying to get the Store Front (Home) page set the way I want it, before propagating additional pages. This deals mainly with the primary style sheet.
I have the following pages in templates > bentley_classic > common: tpl_columnar_display.php, html_header.php, tpl_footer.php, tpl_footer_menu.php, tpl_header.php, tpl_home_slider.php, tpl_main_page.php, tpl_mega_menu.php.
In the tpl_main_page, I found this for the Left Side Bar:
<?php
if (COLUMN_LEFT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) {
// global disable of column_left
$flag_disable_left = true;
}
if (!isset($flag_disable_left) || !$flag_disable_left) {
?>
Which allows the Left Side Bar to be displayed.
For the Right Side Bar I have this:
<?php
//if (COLUMN_RIGHT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true' && $_SESSION['customers_authorization'] != 0)) {
if (COLUMN_RIGHT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) {
// global disable of column_right
$flag_disable_right = true;
}
if (!isset($flag_disable_right) || !$flag_disable_right) {
?>
When I comment out the “$flag_disable_right = true;” nothing displays on the Home page.
Why the difference between the two side column PHP code?
For the Footer I have this:
<?php
/**
* prepares and displays footer output
*/
if (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_FOOTER_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == '')) {
//$flag_disable_footer = true;
}
require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php');
?>
In the tpl_footer.php, which also does not currently display I did this:
" // if (!isset($flag_disable_footer) || !$flag_disable_footer) {".
The "} // flag_disable_footer" was already flagged out.
Here is an image of where I currently stand:
