osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

column widths in oscommerce loaded v5

This is a discussion on column widths in oscommerce loaded v5 within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I'm reasonably new to osCommerce and am running the latest loaded version 5 patched. One thing that has me stumped ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-26-2003, 12:18 PM
Lurker
 
Join Date: Feb 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cforscutt
Default column widths in oscommerce loaded v5

I'm reasonably new to osCommerce and am running the latest loaded version 5 patched. One thing that has me stumped is column widths and I was wondering if some kind (bright) soul out there might be able to help. I would like the left column to be 175 pixels wide and the right 150, but cannot consistently achieve this. I would normally have edited the line "define('BOX_WIDTH', 125)" in the application_top.php file but this isn't present. So I have added this line and it makes both columns the same width which is no good. I have also tried editing the table widths in default.php and defining the box_width in column_right.php and column_left.php both to no avail. Any light that can be shed on this matter would be gratefully appreciated, my test site is on-line at www.cosyfeetshop.com/catalog/ as you can see having defined the box_width in application_top.php both columns are 150 pixels wide however I notice on the product_info pages and also product_reviews_info pages the right column seems to have a mind of its own I cant see where its getting its width from even once defined by me it makes no difference?? What is the best way to define a width for the left column and a separate width for the right column that is consistent throughout each page in a site?Any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 02-26-2003, 05:19 PM
Lurker
 
Join Date: Feb 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mattb
Default

You could just put a 1px high by however many px wide gif in catalog/includes/column_left.php & column_right.php

Probably not the RIGHT way to do it - but it works!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-11-2003, 11:14 PM
New Member
 
Join Date: Jan 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
acemang
Default

I had the same problem cforscutt. Let me tell you what I did.
I created two:
define ('BOX_WIDTH_LEFT', 175)
define ('BOX_WIDTH_RIGHT', 150)
save this in application_top.php
go to all *.php you want to change (usualy in catalog folder)
in the left table just put
<table width="<?php echo BOX_WIDTH_LEFT; ?>" >
in the right table change to this
<table width="<?php echo BOX_WIDTH_RIGHT; ?>" >

p.s. dont know if its good idea to have the same buttons that www.play.com uses in the same exact place.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-13-2003, 03:00 AM
Member
 
Join Date: Dec 2002
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
doug
Default

This and other related things drove me nuts originally as far as I am concerned the base site layout should be externally managed not on every page! Then again often good and flexible design can have its downsides too like performance and individual flexibility, howeve in osC's case this would be a good thing.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How To: have different right and left column widths Kristine osCMax v1.7 Discussion 1 08-03-2005 10:53 PM
Manufacturer image widths gheffron osCMax v1.7 Discussion 2 03-19-2004 01:22 PM
Why are some pics not loaded? Morgoth osCommerce 2.2 Installation Help 2 04-29-2003 01:28 PM
Posten, Servicpakke vs. MS1 [Loaded v5.0] Petter osCommerce 2.2 Modification Help 0 02-22-2003 05:18 AM


All times are GMT -8. The time now is 07:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax