If you want to use small modules in the center it is pretty easy. I included the CSS in the stylesheet for it but it requires some small controller changes.
For example, if you want to have the
Featured, Latest, and BestSellers on the homepage like the example. You can do this:
1. EDIT: catalog/controller/common/home.php
2. FIND:
Code: Select all
$this->children = array(
'common/column_right',
'common/column_left',
'common/footer',
'common/header'
);
3. REPLACE WITH:
Code: Select all
$this->children = array(
'common/column_right',
'common/column_left',
'common/footer',
'common/header',
'module/latest',
'module/featured',
'module/bestseller'
);
4. EDIT: catalog/view/theme/default/template/common/home.tpl
5. FIND:
Code: Select all
<?php foreach ($modules as $module) { ?>
<?php echo ${$module['code']}; ?>
<?php } ?>
6. AFTER, ADD:
Code: Select all
<?php echo $latest; ?>
<?php echo $featured; ?>
<?php echo $bestseller; ?>
7. Set Latest, Featured, Bestseller positions to "Left" or "Right" and set the limits all the same
8. EDIT: catalog/view/theme/default/stylesheet/stylesheet.css
9. FIND:
Code: Select all
#content .middle .box {
float: left;
margin: 0 6px 10px 6px;
min-height: 0px;
}
#content .middle .box .middle {
width: 158px;
min-height: 0px;
}
10. REPLACE WITH:
Code: Select all
#content .box {
float: left;
margin: 0 6px 10px 6px;
min-height: 0px;
}
#content .box .middle {
width: 158px;
min-height: 0px;
}