Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

XHTML Template V Current Table Design Rate Topic   - - - - -

 
  • SWS
  • Senior Member
  • Members
  • Join Date: 30-Oct 06
  • 798 posts

Posted 06 March 2007 - 04:27 PM #1

As some of you know, im converting my site to XHTML

Well, I have so far removed all the tables from the Sideboxes and categories pages, with just a few more left...

I decided to run a speed check on two almost identical pages, in terms of the same products / images / modules enabled and it just goes to show, I did it for a good reason !

Standard CS Cart Template
Page Size : 56.13 KB
Load time (secs) :7.06 seconds
Average Speed per KB: 0.13 seconds

XHTML CS Cart Template (unfinished)
Page Size : 62.21 KB
Load time (secs) :2.2 seconds
Average Speed per KB: 0.04 seconds

Now imaging the difference for those dialup users... !
http://www.selfseo.c..._speed_test.php
[SIZE=3][/SIZE]

 
  • Brandito
  • Member
  • Members
  • Join Date: 17-Dec 06
  • 82 posts

Posted 06 March 2007 - 06:16 PM #2

Wow... Those are some amazing stats. I just may have to sit down and do this...
[SIZE="1"]Current Version:
CS Cart 1.3.4 SP2

Current Mods installed:
Thickbox (with e-menu) : Tabbed product details : Previous & Next Navigation (with SEO mod by SWS) : Manufacturer META tags[/SIZE]

 
  • bholland
  • Senior Member
  • Members
  • Join Date: 16-May 06
  • 129 posts

Posted 06 March 2007 - 07:58 PM #3

This is exactly the reason I'm waiting for the XHTML template to be released by CS before I start tearing it apart.

 
  • glyndon
  • Senior Member
  • Members
  • Join Date: 07-Dec 06
  • 187 posts

Posted 07 March 2007 - 12:44 PM #4

This is exactly the reason I'm waiting for the XHTML template to be released by CS before I start tearing it apart.


Me too.

I've had some pretty good results as far as crunching down the code so far but I'm not getting too deep into it yet until I see what the guys at CS-Cart have come up with.

There are a hell of a lot of pointless nested tables in the original skins and I'm hoping that the amount of code in general will be stripped down to a bare minimum.

 
  • SWS
  • Senior Member
  • Members
  • Join Date: 30-Oct 06
  • 798 posts

Posted 07 March 2007 - 02:19 PM #5

Its going to be just my luck that as I finish, they update :-P
[SIZE=3][/SIZE]

 
  • jobosales
  • Senior Member
  • Members
  • Join Date: 04-Nov 06
  • 3114 posts

Posted 08 March 2007 - 01:20 AM #6

Its going to be just my luck that as I finish, they update :-P



So, hurry up!! :)

Bob
CS-Cart 2.0.14 (testing)

 
  • SWS
  • Senior Member
  • Members
  • Join Date: 30-Oct 06
  • 798 posts

Posted 08 March 2007 - 01:33 AM #7

Im having trouble... anybody good with CSS fancy offering a hand ?

When the products are generated in the template for multicolums (in my case in sets of 3) I have them set as follows :


css
[SIZE=1][SIZE=2].product {[/SIZE]
display: inline-block;
width: 200px;
float:left ;
padding: 5px;
text-align: center ;
vertical-align: middle;
}
[/SIZE]

.tpl source
{foreach from=$splitted_products item="sproducts"}
{foreach from=$sproducts item="product"}
{if $product}
<span class="product">
<a href="{$index_script}?{$target_name}=products&product_id={$product.product_id}">{include file="common_templates/image.tpl" image_width=$settings.Appearance.thumbnail_width obj_id=$product.product_id images=$product.main_pair object_type="product"}</a>
</span>
{if}
{/foreach}

However, Ive been trying for hours on end to align the images in the middle without success, using god knows how many different nesting options / css styles, the only way I could get it to work was to use an invalid nested div and span set.. i.e

<span class="product">
<div class="align">
 
.....
 
</div>
</span>

Obviously, they should be the otherway round but it just doesnt work full stop... or I can get it working in ffox but not IE and vice versa... AAAGGGH

So help is definatly appreciated ! Its only the image Im having an issue with, other than that... all is going well .

Im going to leave that section and come back to it later, and get the rest finished..
[SIZE=3][/SIZE]

 
  • SWS
  • Senior Member
  • Members
  • Join Date: 30-Oct 06
  • 798 posts

Posted 08 March 2007 - 01:54 AM #8

Other than that.. I now have valid xhtml pages with almost no tables
for the main page, category pages and product pages :cool:
It just doesnt look too fancy yet.
[SIZE=3][/SIZE]

 
  • zardos
  • Senior Member
  • Members
  • Join Date: 08-Feb 06
  • 1062 posts

Posted 08 March 2007 - 02:07 AM #9

Standard CS Cart Template
Page Size : 74.83 KB
Load time (secs) :1.07 seconds
Average Speed per KB: 0.01 seconds

Hows that :rolleyes:

 
  • SWS
  • Senior Member
  • Members
  • Join Date: 30-Oct 06
  • 798 posts

Posted 08 March 2007 - 02:33 AM #10

LOL... that makes the benchmarking site a load of rubbish hehe but looked good to start with

Try this one :
http://www.websiteop...rvices/analyze/

Your site
14.4K - 333.76 seconds
28.8K - 174.08 seconds
33.6K - 151.27 seconds
56K - 96.52 seconds
ISDN 128K - 39.55 seconds
T1 1.44Mbps - 16.58 seconds
[SIZE=3][/SIZE]

 
  • Brandito
  • Member
  • Members
  • Join Date: 17-Dec 06
  • 82 posts

Posted 08 March 2007 - 03:41 AM #11

Did you fix it? Because the images are displaying fine in my browser...

This site right?: http://www.car-audio...essories.co.uk/
[SIZE="1"]Current Version:
CS Cart 1.3.4 SP2

Current Mods installed:
Thickbox (with e-menu) : Tabbed product details : Previous & Next Navigation (with SEO mod by SWS) : Manufacturer META tags[/SIZE]

 
  • zardos
  • Senior Member
  • Members
  • Join Date: 08-Feb 06
  • 1062 posts

Posted 08 March 2007 - 07:24 AM #12

LOL... Thats more like it. :rolleyes:

 
  • SWS
  • Senior Member
  • Members
  • Join Date: 30-Oct 06
  • 798 posts

Posted 08 March 2007 - 04:37 PM #13

Nope...

http://dev.car-audio...-units-c20.html

Ive linked to a page, because some pages are not part of CS-Cart (hence still untouched)

Its all validating now but as you can see the images are aligned top !

Ive heard that CS have finished default blue and will be about 1-2 months to convert the rest, but no words on release yet
[SIZE=3][/SIZE]