osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

CSS Category just like dhtml but seo friendly

This is a discussion on CSS Category just like dhtml but seo friendly within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Need help or collaboration PLEASE I took a contribution osCommerce Community Add-Ons and changed the file slightly and the ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 03-12-2008, 10:24 AM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 292
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default CSS Category just like dhtml but seo friendly

Need help or collaboration PLEASE

I took a contribution osCommerce Community Add-Ons and changed the file slightly and the changed the css to look exactly like the dhtml one with flyouts currently on my site. The difference is dhtml does not have spiderable links which hurts in seo and this css one does show the links. It can easily change to match your site current attached is for mine.

The problem is it causes the page loads to load more slowly than my dhtml. Can anyone with more knowledge take a and maybe change the querys so it loads more quickly?????
Or possibly strip it out for bts if that would make it quicker. It runs fine on my current oscmax site but to slow for me. This would be great if we can get this to work quicker and help out with SEO a ton. Thanks. I put the dhtml for now back up on mine.

I will attach the file that goes into catalog/includes/boxes file then just go to infobox admin and create a new info box called categories css turn that one on in admin and the one you are using off in info and there it is adjust the css to match your site. Hope someone can help really want to use this one.
Attached Files
File Type: zip categories_css.zip (3.1 KB, 1 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 03-13-2008, 01:25 AM
osCMax Testing Team
 
Join Date: Nov 2002
Location: Orlando
Posts: 200
Thanks: 10
Thanked 22 Times in 14 Posts
Rep Power: 7
JohnW will become famous soon enoughJohnW will become famous soon enough
Default Re: CSS Category just like dhtml but seo friendly

Okay, I've installed it on my test site and it is making over double the queries that the dhtml menu makes so I see what you mean. I'll work with some more today and see what I can accomplish. I think you're correct that there are several advantages to it over dhmtl.

There is a small error in the file in your zip though around line 124 here.
Code:
/* The main categories with sub-categories */
//.suckerdiv .subfolderstyle{
//background: url(images/arrow-list.gif) no-repeat center right;
//}
I just uncommented out for the moment.
__________________
John

Last edited by JohnW; 03-13-2008 at 01:33 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 03-13-2008, 04:49 AM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 292
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: CSS Category just like dhtml but seo friendly

Oh yeah sorry about the error..my bad.. it was for the arrow gif in catalog/images when you had subcategories. I didn't like the arrow for now and eliminated it but many like it. I did not upload that gif.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 03-13-2008, 04:27 PM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 292
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: CSS Category just like dhtml but seo friendly

I commented out a bunch of queries dealing with products but the one the made it move quicker was line 265 I commented out this.
// $totalitemsincategory = tep_count_products_in_category($categories['categories_id']);

I think a couple of other lines of code need changing dealing with total items in category

This makes it much quicker but not quick enough yet I will attach the lasted file I worked on. I am tired and have not thoroughly tested yet.
Attached Files
File Type: zip categories_css.zip (3.1 KB, 2 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 03-16-2008, 03:32 PM
osCMax Testing Team
 
Join Date: Nov 2002
Location: Orlando
Posts: 200
Thanks: 10
Thanked 22 Times in 14 Posts
Rep Power: 7
JohnW will become famous soon enoughJohnW will become famous soon enough
Default Re: CSS Category just like dhtml but seo friendly

I did some comparisons today and I actually get a faster page load and parse time with the CSS menu versus the dhtml menu even though the CSS menu has more queries. Using Firefox/2.0.0.12 I did some test with Firebug 1.1 enabled and the CSS menu aslo makes the site throughput smaller.

CSS menu
Current Parse Time: 0.131 s with 245 queries - queery cache cleared
Current Parse Time: 0.097 s with 245 queries
Current Parse Time: 0.097 s with 245 queries
35 requests 94 KB (84 KB from cache) 1.55s

DHTML menu
Current Parse Time: 0.326 s with 119 queries - queery cache cleared
Current Parse Time: 0.326 s with 119 queries
Current Parse Time: 0.322 s with 119 queries
36 requests 156 KB (99 KB from cache) 1.77s

This was using my index page but I'm getting similar results on all the pages. I haven't modified anything on either menu for queries. I've always thought the DHTML menu was kind of clunky in operation, but I never tried to change it.

What are you getting?
__________________
John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 03-16-2008, 03:50 PM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 292
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: CSS Category just like dhtml but seo friendly

That's funny mine is about the reverse of that with Dhtml being quicker How do you figure that one.

Internet explorer css edited file .39 with 23 queries
Dhtml .10 with 87 queries

Last edited by bkpie; 03-16-2008 at 04:10 PM. Reason: add queries
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 03-16-2008, 04:29 PM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 292
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: CSS Category just like dhtml but seo friendly

John I went to Firefox to do some testing and I noticed something else With the Dhtml menu in firefox the info boxes on the right remain and only the text changes which makes for a smooth transistion but the css reloads everything. So I guess we have to make it work with BTS to get a smoother transistion.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 03-16-2008, 05:03 PM
osCMax Testing Team
 
Join Date: Nov 2002
Location: Orlando
Posts: 200
Thanks: 10
Thanked 22 Times in 14 Posts
Rep Power: 7
JohnW will become famous soon enoughJohnW will become famous soon enough
Default Re: CSS Category just like dhtml but seo friendly

It's not doing that on mine with the CSS so it's something else causing that. I have Google urchin.js and Commodo cot.js running on mine so that may be an issue on mine but I don't know for sure. cot.js causes some warnings though so that might be a problem on mine. But, Firebug is showing a bunch of warnings for your coolmenus.css and I don't use that. Do you use coolmenu for anything? Maybe try taking it off.

Your site is loading much faster on Firefox for me but is slower and quirky on IE7. If you want to see the css on my test site to compare let me know because I have it restricted with .htaccess so it doesn't get indexed by a search engine. it's tankraisedcorals but it's just a duplicate of driedflowersrus.
__________________
John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 05-22-2008, 09:26 AM
osCMax Testing Team
 
Join Date: Nov 2002
Location: Orlando
Posts: 200
Thanks: 10
Thanked 22 Times in 14 Posts
Rep Power: 7
JohnW will become famous soon enoughJohnW will become famous soon enough
Default Re: CSS Category just like dhtml but seo friendly

Blayne,

This menu is a better idea IMHO over the dhtml and my site runs better with it although I haven't worked on the queries at all.

I'm now using it on my site and it's switchable from the admin panel by replacing the CoolMenu option with CssMenu in the configuration table and replacing coolmenu.css with cssmenu.css in main_page.tpl.php. Since coolmenu doesn't work for centered shops perhaps this could be a replacement.

I'm attaching cssmenu.css, css_menu_animation.js, boxes/categories.php, and boxes/categories_css.php in case anyone wants to try it.
Attached Files
File Type: rar cssmenu.rar (5.1 KB, 1 views)
__________________
John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 05-22-2008, 09:56 AM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 292
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: CSS Category just like dhtml but seo friendly

John:

Thanks I downloaded it and will do a file compare with mine after I removed some un-needed queries that seemed to slow it down

Blayne
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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
Dhtml menu and SEO bkpie osCMax v2 Customization/Mods 0 11-04-2007 05:04 PM
SEO friendly url - rewrite not working muyaszed osCMax v2 Features Discussion 6 09-09-2007 03:13 PM
css and dhtml validation dilladog osCMax v2 Installation issues 0 09-03-2007 12:37 PM
SEO Friendly HTML links in URL librianguy osCMax v2 Customization/Mods 10 01-31-2006 12:25 PM
seo and osCMAX friendly redirects humanode osCommerce 2.2 Modification Help 2 11-16-2005 05:22 PM


All times are GMT -8. The time now is 09:57 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax