whitehawk43 Posted November 28, 2008 Share Posted November 28, 2008 I am wanting to take my left column into 3 different pieces so each part i.e Hot Deals, Catagories, Information.... What I am trying to acheive is a box look with a color space between each of them How would one do that or where can I find a contribution for this. Ben Link to comment Share on other sites More sharing options...
Guest Posted November 28, 2008 Share Posted November 28, 2008 I am wanting to take my left column into 3 different pieces so each part i.e Hot Deals, Catagories, Information.... What I am trying to acheive is a box look with a color space between each of them How would one do that or where can I find a contribution for this. Ben Take a look at More Category Boxes, that might work for you: http://addons.oscommerce.com/info/3327 Link to comment Share on other sites More sharing options...
whitehawk43 Posted November 29, 2008 Author Share Posted November 29, 2008 Take a look at More Category Boxes, that might work for you:http://addons.oscommerce.com/info/3327 Thanks for the reply but..... Nope that one don't work..... What I am trying to do is just add a deivider between the catagories that are there now Ben Link to comment Share on other sites More sharing options...
whitehawk43 Posted November 29, 2008 Author Share Posted November 29, 2008 Any other Ideas Help Please Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted November 29, 2008 Share Posted November 29, 2008 Add a horizontal line? See the html section of www.w3schools.com Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
jhande Posted November 29, 2008 Share Posted November 29, 2008 Hey Ben, I think I grasp what you are trying to accomplish. Example: <table>Categories</table> Color background or Image <table>Hot Deals</table> Color background or Image <table>Information</table> Color background or Image etc... I have seen something similar mentioned here before. If I remember correctly there's a few ways to do it, but I have never tried them. You could use the STS contribution to totally customize your layout. Edit your column_left.php (and\or column_right.php) by adding HTML code to call tables or cells between the infoboxes. Possibly with CSS menu and some styling work. Maybe that will help get your creative juices flowing or something to Google search for??? Sorry I couldn't give you an exact fix. :blush: - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 - Link to comment Share on other sites More sharing options...
whitehawk43 Posted November 29, 2008 Author Share Posted November 29, 2008 Hey Ben, I think I grasp what you are trying to accomplish. Example: <table>Categories</table> Color background or Image <table>Hot Deals</table> Color background or Image <table>Information</table> Color background or Image etc... I have seen something similar mentioned here before. If I remember correctly there's a few ways to do it, but I have never tried them. You could use the STS contribution to totally customize your layout. Edit your column_left.php (and\or column_right.php) by adding HTML code to call tables or cells between the infoboxes. Possibly with CSS menu and some styling work. Maybe that will help get your creative juices flowing or something to Google search for??? Sorry I couldn't give you an exact fix. :blush: hey jhande Thanks for the reply will give that some thought makes scense just figure where to edit or add the code so many php files .... so little time :lol: will keep ya updated on what i find ......... Ben Link to comment Share on other sites More sharing options...
whitehawk43 Posted December 1, 2008 Author Share Posted December 1, 2008 still no luck what ever i do makes the pages go nuts Ben Link to comment Share on other sites More sharing options...
germ Posted December 2, 2008 Share Posted December 2, 2008 Post your /includes/column_left.php between CODE tags to preserve formatting. This may do what you want when inserted in the right places: <tr> <td class="headerNavigation" width="100%"> </td> </tr> <tr> <td><img src="images/pixel_trans.gif" alt="" width="100%" border="0" height="10"></td> </tr> If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
burt Posted December 2, 2008 Share Posted December 2, 2008 You have a few options; 1. Do it with CSS 2. Do it with javascript 3. Do it by amending each infobox file 4. Do it by amending the infobox class Which do you want to do? Link to comment Share on other sites More sharing options...
tonmoytewary Posted December 3, 2008 Share Posted December 3, 2008 you have to change the includes/column_left.php file add a table in the file like this <table> <tr><td> require(DIR_WS_BOXES . 'authors.php');</td></tr> <tr><td> <img src=""> <td></tr> <tr><td> require(DIR_WS_BOXES . 'authors.php');</td></tr> <tr><td> <img src=""> <td></tr> <tr><td> require(DIR_WS_BOXES . 'authors.php');</td></tr> </table> hope this will solve Link to comment Share on other sites More sharing options...
jhande Posted December 3, 2008 Share Posted December 3, 2008 Hey Ben, Take a look here at my left column. I added a black space between my infoboxes. Is that what you are tying to do? If so, add this code to your column_left.php and column_right.php between the calls for the different infoboxes. ?> <!-- Adding Space //--> <tr><td height="20" bgcolor="#000000"> </td></tr> <?php Change the height and bgcolor to suit your needs. So it looks something like this: <?php /* $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions <A href="http://www.oscommerce.com">http://www.oscommerce.com</A> Copyright © 2003 osCommerce Released under the GNU General Public License */ if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } ?> <!-- Adding Space //--> <tr><td height="20" bgcolor="#000000"> </td></tr> <?php if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { include(DIR_WS_BOXES . 'manufacturers.php'); } ?> <!-- Adding Space //--> <tr><td height="20" bgcolor="#000000"> </td></tr> <?php include(DIR_WS_BOXES . 'search.php'); ?> <!-- Adding Space //--> <tr><td height="20" bgcolor="#000000"> </td></tr> <?php require(DIR_WS_BOXES . 'information.php'); // require(DIR_WS_BOXES . 'whats_new.php'); /*** Begin Header Tags SEO ***/ if (HEADER_TAGS_DISPLAY_COLUMN_BOX == 'true' && basename($PHP_SELF) == FILENAME_PRODUCT_INFO) include(DIR_WS_BOXES . 'header_tags.php'); /*** End Header Tags SEO ***/ ?> Hope that's what you are looking for. I'll leave the black spaces on my site for awhile so you can get a look. ;) - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 - Link to comment Share on other sites More sharing options...
whitehawk43 Posted December 3, 2008 Author Share Posted December 3, 2008 Hey Ben, Take a look here at my left column. I added a black space between my infoboxes. Is that what you are tying to do? If so, add this code to your column_left.php and column_right.php between the calls for the different infoboxes. ?> <!-- Adding Space //--> <tr><td height="20" bgcolor="#000000"> </td></tr> <?php Change the height and bgcolor to suit your needs. So it looks something like this: <?php /* $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions <A href="http://www.oscommerce.com">http://www.oscommerce.com</A> Copyright © 2003 osCommerce Released under the GNU General Public License */ if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } ?> <!-- Adding Space //--> <tr><td height="20" bgcolor="#000000"> </td></tr> <?php if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { include(DIR_WS_BOXES . 'manufacturers.php'); } ?> <!-- Adding Space //--> <tr><td height="20" bgcolor="#000000"> </td></tr> <?php include(DIR_WS_BOXES . 'search.php'); ?> <!-- Adding Space //--> <tr><td height="20" bgcolor="#000000"> </td></tr> <?php require(DIR_WS_BOXES . 'information.php'); // require(DIR_WS_BOXES . 'whats_new.php'); /*** Begin Header Tags SEO ***/ if (HEADER_TAGS_DISPLAY_COLUMN_BOX == 'true' && basename($PHP_SELF) == FILENAME_PRODUCT_INFO) include(DIR_WS_BOXES . 'header_tags.php'); /*** End Header Tags SEO ***/ ?> Hope that's what you are looking for. I'll leave the black spaces on my site for awhile so you can get a look. ;) Hi jhande That is what I was trying to do works now..... Thanks everyone for your help hope I can return the favor some day ......... Ben Link to comment Share on other sites More sharing options...
jhande Posted December 3, 2008 Share Posted December 3, 2008 Glad to hear you finally got it straightened out. Was my pleasure! ;) - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 - Link to comment Share on other sites More sharing options...
whitehawk43 Posted December 4, 2008 Author Share Posted December 4, 2008 Glad to hear you finally got it straightened out. Was my pleasure! ;) Jim I spoke to soon I can't get the line to go all the way through the left column Ben Link to comment Share on other sites More sharing options...
germ Posted December 4, 2008 Share Posted December 4, 2008 If you change the padding to ZERO here in the stylesheet it goes all the way across: .left-column { background: #708AE8; padding: 10px; } Of course that does change the look slightly... :blush: Sometimes after changing the stylesheet you have to hold the <Ctrl> key down while doing a page refresh in the browser to force the browser to reload all contents from the server, including the newly changed stylesheet. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
whitehawk43 Posted December 5, 2008 Author Share Posted December 5, 2008 If you change the padding to ZERO here in the stylesheet it goes all the way across: .left-column { background: #708AE8; padding: 10px; } Of course that does change the look slightly... :blush: Sometimes after changing the stylesheet you have to hold the <Ctrl> key down while doing a page refresh in the browser to force the browser to reload all contents from the server, including the newly changed stylesheet. Thanks germ That worked on all main pages , But If you veiw a item then the lines still have a padding where is that called from if not from the style sheet ? Ben Link to comment Share on other sites More sharing options...
germ Posted December 5, 2008 Share Posted December 5, 2008 Pages that are OK have this code: <td class="left-column" valign="top" width="199"><table width="199" border="0" [b]cellpadding="[color="#FF0000"]0[/color]" cellspacing="[color="#FF0000"]0[/color]"[/b]> <!-- left_navigation //--> Pages with the problem have this code: <td class="left-column" valign="top" width="199"> <table width="199" border="0" [b]cellpadding="[color="#FF0000"]3[/color]" cellspacing="[color="#FF0000"]3[/color]"[/b]> <!-- left_navigation //--> If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
whitehawk43 Posted December 5, 2008 Author Share Posted December 5, 2008 Pages that are OK have this code: <td class="left-column" valign="top" width="199"><table width="199" border="0" [b]cellpadding="[color="#FF0000"]0[/color]" cellspacing="[color="#FF0000"]0[/color]"[/b]> <!-- left_navigation //--> Pages with the problem have this code: <td class="left-column" valign="top" width="199"> <table width="199" border="0" [b]cellpadding="[color="#FF0000"]3[/color]" cellspacing="[color="#FF0000"]3[/color]"[/b]> <!-- left_navigation //--> would that be only in the main php files ? Link to comment Share on other sites More sharing options...
germ Posted December 5, 2008 Share Posted December 5, 2008 Yes. ;) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
whitehawk43 Posted December 8, 2008 Author Share Posted December 8, 2008 Yes. ;) Hey germ; After a few days lookin in all the main php files under catalog/main.php files and can't find code line <td class="left-column" valign="top" width="199"> <table width="199" border="0" cellpadding="3" cellspacing="3"><!-- left_navigation //--> any where else it might be ??? Ben Link to comment Share on other sites More sharing options...
germ Posted December 8, 2008 Share Posted December 8, 2008 It probably looks like this: <td class="left-column" width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="3" cellpadding="3"><!-- left_navigation //--> If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
whitehawk43 Posted December 8, 2008 Author Share Posted December 8, 2008 It probably looks like this: <td class="left-column" width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="3" cellpadding="3"><!-- left_navigation //--> Now I know I have seen that ;) Thanks Ben Link to comment Share on other sites More sharing options...
whitehawk43 Posted December 9, 2008 Author Share Posted December 9, 2008 It probably looks like this: <td class="left-column" width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="3" cellpadding="3"><!-- left_navigation //--> Yup That was it found it at catalog/product_info.php A Big Thanks again to all that helped with this fix........... Ben Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.