Ok I figured out one way to do it. :smile: These are the steps I took if someone wants to try it or even expand/improve on it or figures out an easier way, please dont hesitate to post.
Went into admin - configuration - index listing and turned off SHOW NEW PRODUCTS/FEATURED PRODUCTS and SPECIAL PRODUCTS from the main page (changes values to 0)
Went to bottom of index listing and changed New Products Columns Per Row, Featured Products Columns Per Row and Special Products Columns per row to 1
Went into admin - configuration - maximum values changed New Products Module, Maximum Display of Featured Products - Main Page and Maximum Display of Special Products - Main Page to 1
The above changes will also change how the boxes are displayed on other pages as far as how many items are displayed per centerbox. But for my project I am ok with it
Assuming you have already created your override folders next step was to create a separate center box module. In /includes/templates/YOUR CUSTOM FOLDER/template create your template. My template is tpl_modules_aligned_centerboxes.php here is the coding in that template
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" >
<tr>
<td width="34%" height="195" valign="top">
<?php
$zc_show_featured = false;
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_FEATURED_PRODUCTS_MODULE));
?>
<?php if ($zc_show_featured == true) { ?>
<div class="centerBoxWrapper" id="featuredProducts" >
<?php
/**
* require the list_box_content template to display the product
*/
require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');
?>
</div>
<?php } ?>
</td>
<td width="34%" height="195" valign="top">
<?php
$zc_show_specials = false;
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_SPECIALS_INDEX));
?>
<!-- bof: specials -->
<?php if ($zc_show_specials == true) { ?>
<div class="centerBoxWrapper" id="specialsDefault";>
<?php
/**
* require the columnar_display template to show the products
*/
require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');
?>
</div>
<?php } ?>
</td>
<td width="34%" height="195" valign="top">
<?php
$zc_show_new_products = false;
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEW_PRODUCTS));
?>
<!-- bof: whats_new -->
<?php if ($zc_show_new_products == true) { ?>
<div class="centerBoxWrapper" id="whatsNew" ;>
<?php
require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');
?>
</div>
<?php } ?>
<!-- eof: whats_new -->
</tr>
</table>
Basically I created a table and copied the coding for the Special, Feature and whats new template modules and pasted it in the cells within the table
Afterwords I copied the tpl_index_default.php to the same custom directory and removed the coding that I didnt need and this is what it looks like:
<?php
/**
- Page Template
- Main index page<br />
- Displays greetings, welcome text (define-page content), and various centerboxes depending on switch settings in Admin<br />
- Centerboxes are called as necessary
- @package templateSystem
- @copyright Copyright 2003-2006 Zen Cart Development Team
- @copyright Portions Copyright 2003 osCommerce
- @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
- @version $Id: tpl_index_default.php 3464 2006-04-19 00:07:26Z ajeh $
*/
?>
<div class="centerColumn" id="indexDefault">
<h1 id="indexDefaultHeading"><?php echo HEADING_TITLE; ?></h1>
<?php if (SHOW_CUSTOMER_GREETING == 1) { ?>
<h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2>
<?php } ?>
<img src="includes/templates/custom/images/homemain.jpg"> /** :PMy Image */
<?php
$show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_MAIN);
while (!$show_display_category->EOF) {
?>
<?php /**if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS'):shocking: NEEDED TO COMMENT THIS OUT TO WORK - NOT SURE WHY*/ { ?>
<?php
/**
* display the ALigned Center Box
*/
?>
<?php require($template->get_template_dir('tpl_modules_aligned_centerboxes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_aligned_centerboxes.php'); ?>
<?php } ?>/* :oops:CHANGE/ADD THIS TO REFLECT YOUR NEW MODULE */
<?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2) { ?>
<?php
/**
* get the Define Main Page Text
*/
?>
<div id="indexDefaultMainContent" class="content"><?php require($define_page); ?></div>
<?php } ?>
<?php
$show_display_category->MoveNext();
} // !EOF
?>
</div>
Again this works for me. Hopefully some find it useful.