Pink Posted January 16, 2005 Posted January 16, 2005 I want to implement a two-column rather than a three-column format in my osCommerce application. Barakat Gallery Store is something like I have in mind. I would appreciate some help. Thanks in advance.
Guest Posted January 16, 2005 Posted January 16, 2005 You can change the column setting in admin->configuration->maximum values->Categories To List Per Row :D Matti
Jack_mcs Posted January 16, 2005 Posted January 16, 2005 I want to implement a two-column rather than a three-column format in my osCommerce application. Barakat Gallery Store is something like I have in mind. I would appreciate some help. Thanks in advance. <{POST_SNAPBACK}> It looks like you are trying to turn off the right column. To do that, go through all of the files in your catalog (root) directory and remove the code that calls the right column <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> This is the best way to do it if you are sure you are not going to add the right column back in. If you think you might, then you should add a variable to turn it off or on. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Pink Posted January 16, 2005 Author Posted January 16, 2005 Thanks Matti, I have set my Categories To List Per Row to 2. However I still have a gap on the right side of my pages, where my erstwhile column_right infoboxes would be. (I have removed them in the column_right.php file.) It seems there must be a colum-width setting somewhere that I can set to zero for the right hand column I am trying to get rid of.
Jack_mcs Posted January 16, 2005 Posted January 16, 2005 See my reply above. Youv'e most likely left the table in there that has a cellpadding attribute. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Guest Posted January 16, 2005 Posted January 16, 2005 You must remove reference to it in the files in the catalog directory, eg. <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> the BOX_WIDTH setting is for both left and right so you may mess things up somewhat setting it to zero, but you can try - its in includes/application_top.php Matti
Recommended Posts
Archived
This topic is now archived and is closed to further replies.