mushoaibali Posted October 5, 2014 Share Posted October 5, 2014 Hello Everyone, Been going through the forums and did not find anything complete on how to remove either the left or right column from the homepage alone. A lot of forum posts had bits and pieces put together and then ultimately linked to addons that do not work any longer. So for 2.3.x here is how you can hide the left column from the homepage. in template_bottom.php Find the following: if ($oscTemplate->hasBlocks('boxes_column_left')) { Replace it with: if ($oscTemplate->hasBlocks('boxes_column_left') && basename($PHP_SELF) != FILENAME_DEFAULT . $cPath . '' . $_GET['manufacturers_id'] . '' ) { in template_top.php Find the following: <div id="bodyContent" class="grid_<?php echo $oscTemplate->getGridContentWidth(); ?> <?php echo ($oscTemplate->hasBlocks('boxes_column_left') ? 'push_' . $oscTemplate->getGridColumnWidth() : ''); ?>"> Replace it with: <div id="bodyContent" class="grid_<?php echo $oscTemplate->getGridContentWidth(); ?> <?php echo ( $oscTemplate->hasBlocks('boxes_column_left') && basename($PHP_SELF) != FILENAME_DEFAULT . $cPath . '' . $_GET['manufacturers_id'] . '' ? 'push_' . $oscTemplate->getGridColumnWidth() : ''); ?> "> With the above codes you can easily figure out how to remove the right column bar from the homepage....and / or other pages...i.e. just replace boxes_column_left with boxes_column_right in the above codes before finding and replacing them. Link to comment Share on other sites More sharing options...
De Dokta Posted October 5, 2014 Share Posted October 5, 2014 Hello Everyone, Been going through the forums and did not find anything complete on how to remove either the left or right column from the homepage alone. A lot of forum posts had bits and pieces put together and then ultimately linked to addons that do not work any longer. http://lmgtfy.com/?q=oscommerce+hide+column Link to comment Share on other sites More sharing options...
SheDevil Posted March 3, 2015 Share Posted March 3, 2015 Thanks this helped me out a lot now if only I can get a descent checkout designed ... if anyone has any good ideas I would greatly appreciated - back to search Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.