Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Why are they still using tables for layout?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #21  
Old 07-12-2010, 07:45 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Why are they still using tables for layout?

I dunno...they have been getting better about the beta testing of late. Used to be 6-9 months for a stable release, but 4.3.x was pretty workable at 4.3.1, and that wasn't that long after the beta.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #22  
Old 07-12-2010, 07:47 AM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: Why are they still using tables for layout?

Yeah but 4.3 wasn't that far off of 4.1 or 4.2, just a bit of ajax added. They should of had very minor fixes for those releases.
v.5 is totally different so the learning curve will be more extreme.
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #23  
Old 07-12-2010, 07:49 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Why are they still using tables for layout?

If we ever get to see it...
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #24  
Old 07-12-2010, 07:52 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Why are they still using tables for layout?

back to the original subject, are tables used becasue of the adjustable nature of products_t.tpl 1,2 or 3 column layout?

how could you count cells and adjust div width with css dynamically?
__________________
xcart 5.1.2
Reply With Quote
  #25  
Old 07-12-2010, 07:55 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Why are they still using tables for layout?

You don't need to count the cells with a <div> - they will wrap automatically based on the room available. Had a few clients want the number of products to increase with the width of the browser screen (dynamic layout) and divs work great.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #26  
Old 07-12-2010, 08:39 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Why are they still using tables for layout?

I understand that, but the admin area give you an option to have 1,2 or 3 column. For the non-pro store owner this option is nice. Not everyone has a Balinor in their back pocket
__________________
xcart 5.1.2
Reply With Quote
  #27  
Old 07-12-2010, 08:40 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Why are they still using tables for layout?

PS - we need to start a store that sells back pocket clones of Balinor!!!!
__________________
xcart 5.1.2
Reply With Quote
  #28  
Old 07-12-2010, 10:30 AM
 
joncampbell joncampbell is offline
 

Advanced Member
  
Join Date: Apr 2010
Location: Vancouver, BC
Posts: 60
 

Default Re: Why are they still using tables for layout?

Quote:
Originally Posted by Ashley
PS - we need to start a store that sells back pocket clones of Balinor!!!!

Once purchased will it work for free forever?
Reply With Quote
  #29  
Old 07-12-2010, 01:28 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Why are they still using tables for layout?

Quote:
how could you count cells and adjust div width with css dynamically?

You can set a countdown using smarty based on the administrative setting to insert a div that does a clear:both to start a new line.

If I recall correctly - X-CART used a table for product listings on a multi-column block because they were trying to keep uniform row heights, and it was easier to use a table rather than use css because of the way they were looping through the data. If you happen to have different heights of pictures, and product descriptions and prices are different heights, then you need to resolve all that in the css to keep the rows lined up, whereas using a table, the row heights set up in a grid, so it is easier to account for all the possibilities that users might require.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #30  
Old 07-13-2010, 09:04 AM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: Why are they still using tables for layout?

Couldn't they use a container div to contain one, two or three product boxes (horizontally), and use Smarty to decide whether to loop once, or twice, to show two or three boxes horizontally within that container div?

The strange thing is that the way they have set up the table in 4.3.2 is a hundred times worse than it was in 4.1 - 4.1 works fine, I can put the product box in one table cell, whereas 4.3.2 uses a table cell for each part of the product box, the product title, price, etc.etc.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:36 PM.

   

 
X-Cart forums © 2001-2020