Contributions
Multilayer SEO Pop Out Menu
Multilayer SEO Pop Out Menu
by FWR Media
www.fwrmedia.co.uk
Robert Fisher
Version 1.1.0
13th May 2008
License: Refer to standard oscommerce license
Compatibility:
MS2.2, RC1, RC2, RC2a
PHP4, PHP5
MySQL4, MySQL5 (STRICT MODE)
Valid XHTML 1.0 TRANSITIONAL
What is it/what does it do?
When you hover over a category, if the category has children it pops out showing the next layer of categories.
It does this for multiple category layers.
All links are shown in the source code as pure html links which can have SEO benefits because your deeper categories are shown on page one.
The user also benefits because it is only one click to a category.
Queries and efficiency
This menu system only uses one query but that query is a full categories scan. There is an in-built system of caching which stores the categories array as a serialized file.
The cache is very simplistic in as much as it does not have a "lifetime" however you can reset/rebuild the cache at any time via the admin settings.
Is it easy to install?
Very easy, only one piece of code needs to be added above the </head> to the catalog files (adding a stylesheet).
One small change is made to includes/column_left.php.
Support thread is ..
http://forums.oscommerce.com/index.php?showtopic=302088
Expand All / Collapse All
Version 1.1.2
This is a recommended upgrade as it includes a cPath bugfix.
Changelog:
Improved logic for cPath creation to fix a bug where in certain circumstances the cPath would be incorrect (thanks to Steven B)
(PHP5 ONLY) Added an RSS 2.0 products feed for your site - thanks to Coopco and Get-Wireless for testing
(PHP5 ONLY) Added a full set of Google webmaster tools XML sitemaps including: -
sitemap index
sitemap categories
sitemap products
- thanks to Coopco and Get-Wireless for testing
Other minor changes
Recommended update:
The full menu plus a new dynamic sitemap with little to no overhead.
It is not versioned for the menu but there are a couple of efficiency changes to the includes/functions files.
Adds a dynamic sitemap to the SEO Pop Out Menu.
Still just the one query as it uses categories.ser from the menu. Once the boxes are indexed it is saved as a new serialized file.
The sitemap indexes all boxes in includes/boxes
Example: It will index the information box.
What it actually does is index the links so if a box is not showing correctly (e.g. best sellers which does not use proper links) just remove it from the
$exclude_array in
mapBoxes function in includes/functions/fwr_cat_functions.php
Install the menu first as a contribution then add the sitemap after.
Version 1.1.1
Corrected: Incorrectly named file
Improved: Install script comments
Removed bug: Hardcoded languages_id
Added: Proper languages support
Removed bug: Updated function buildCategoriesCache()
Multilayer SEO Pop Out Menu
by FWR Media
www.fwrmedia.co.uk
Robert Fisher
Version 1.1.0
13th May 2008
License: Refer to standard oscommerce license
Compatibility:
MS2.2, RC1, RC2, RC2a
PHP4, PHP5
MySQL4, MySQL5 (STRICT MODE)
Valid XHTML 1.0 TRANSITIONAL
What is it/what does it do?
When you hover over a category, if the category has children it pops out showing the next layer of categories.
It does this for multiple category layers.
All links are shown in the source code as pure html links which can have SEO benefits because your deeper categories are shown on page one.
The user also benefits because it is only one click to a category.
Queries and efficiency
This menu system only uses one query but that query is a full categories scan. There is an in-built system of caching which stores the categories array as a serialized file.
The cache is very simplistic in as much as it does not have a "lifetime" however you can reset/rebuild the cache at any time via the admin settings.
Is it easy to install?
Very easy, only one piece of code needs to be added above the </head> to the catalog files (adding a stylesheet).
One small change is made to includes/column_left.php.
Support thread is ..
http://forums.oscommerce.com/index.php?showtopic=302088
Note: Contributions are used at own risk.