Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Disable left and right column on hompage only


Greecom

Recommended Posts

Hi

I got some progress with that in template_bottom.php

I add something like this

 

<?php if ($category_depth != 'top') { ?>
<?php if ($oscTemplate->hasBlocks('boxes_column_left')) { ?>
<div id="columnLeft" class="grid_<?php echo $oscTemplate->getGridColumnWidth(); ?> pull_<?php echo $oscTemplate->getGridContentWidth(); ?>"> 
<?php echo $oscTemplate->getBlocks('boxes_column_left'); ?> 
</div>
<?php } ?>

 

this hide the column from homepage but don't change the id="bodyContent" to grid_24 so the page don't stretch full width

I think this have to be edited in the osc_template.php anybody know how to made that change?

 

Thank you

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...