Answering my own question..

Okay.. I shoulda tried this on a FRESH Zen install.. So I confirmed my changes worked.. But it doesn't work when the sideboxes are turned off on the Zen Cart home page (YOUR_TEMPLATE/common/tpl_main_page.php). If the sideboxes are turned off on the home page NOTHING shows up below the defined main page text (including the EZ Pages footer)
Code:
if ($this_is_home_page) {
$flag_disable_left = true;
}
if ($this_is_home_page) {
$flag_disable_right = true;
}
So to recap: I've added the sidebox to the main page using this code
Add this following:
Code:
<?php if ( file_exists(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/search.php') ) {
require(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/search.php');
} else {
require(DIR_WS_MODULES . 'sideboxes/search.php');
}
?>
to this file: YOUR_TEMPLATE/templates/tpl_index_default.php
I added it around line 42 to put it just below the defined page code as follows:
Code:
<div id="indexDefaultMainContent" class="content"><?php require($define_page); ?></div>
<?php } ?>
<?php if ( file_exists(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/search.php') ) {
require(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/search.php');
} else {
require(DIR_WS_MODULES . 'sideboxes/search.php');
}
?>
This gets the sidebox to showup on the home page, but only if the sideboxes are not turned off on the home page.. If the sideboxes are turned off on the home page NOTHING shows up below the defined main page text (including the EZ Pages footer)
Anybody got any ideas how to proceed??
Including Sidebox Content on Index Page Template
Adding Sidebox Content on Index Page Template
Sidebox Content on Index Page Template
Including Sidebox Content on Main Page
Adding Sidebox Content on Main Page
Sidebox Content on Main Page
Add Sidebox to Main Page