Contributions

InfoBoxes (Category Index)
Search: 

"Dynamenu" for osCommerce - Dynamic Fly-Out, Drop-Down, Tree Category Menu

Dynamenu is an add-in box which will display your categories as a DTHML horizontal drop-down or vertical fly-out menu, an expandable/collapsable tree menu, or even as plain vertical or horizontal menus. The main file includes easy to set options to set the type of menu you desire and the way it behaves. With dynamenu, you can even opt not to display it in the usual "box" so that it can be seamlessly integrated with your store template for a truly custom look!

Dynamenu is powered by the excellent PHP Layers Menu library which has been extensively tested for cross-browser compatibility and is driven by a well-commented stylesheet to make it easy to modify. Most menus use Javascript but are rendered on-the-fly as HTML, so they fall back nicely for the poor souls without Javascript enabled.

Sorry, can't post a link to a demo, but if you search Google for Dynamenu or PHP Layers Menu, it won't be hard to find ;)

A forum thread has been started here:
http://forums.oscommerce.com/index.php?showtopic=209045
for your feedback, questions or if you want to show off your new menu!

Expand All / Collapse All

Replace STS category box with dynamenu in STS template 27 Mar 2009

For those using Simple Template System (STS) ver 4+, to replace the STS categories box with Dynamic Menu System in your STS template:

Open /includes/modules/sts_inc/sts_column_left.php

Find:
// Get categories box from db or cache
if ((USE_CACHE == 'true') && empty($SID)) {
echo tep_cache_categories_box();
} else {
include(DIR_WS_BOXES . 'categories.php');
}

Change to:
// Get categories box from db or cache
if ((USE_CACHE == 'true') && empty($SID)) {
echo tep_cache_categories_box();
} else {
include(DIR_WS_BOXES . 'dm_categories.php');
}

Open /path to your/sts_template.html

Place $categorybox into your STS template page wherever you want the new dynamenu box to appear.

Follow dynamenu instructions for style of menu you want to appear.

I recommend copying and pasting the dynamenu css into your catalog stylesheet.css - makes it easier on STS templates to link to.

Blank page bug in checkout 26 Mar 2009
want to hide categories that don't have any products with status 1 (all products are out of stock)? 26 Feb 2009
Modified box frame 5 Mar 2008
Template Fly Out 1 Mar 2008
Fix for Multi-Stores multiple shop system 19 Jan 2008
drop down menu 17 Dec 2007
Correction for bug not opening the first collapsed branch 25 Nov 2007
Hidden DIV Whitespace Fix 23 Nov 2007
Vertical Fly-out Problem with Opera 12 Oct 2007
Hide subcategories (update) 26 Sep 2007
New templates for Dynamenu 26 Aug 2007
Product Name Limiter 5 Apr 2007
IE / Opera compatibility 15 Mar 2007
Products in DynaMenu Too 21 Feb 2007
"Dynamenu" for osCommerce v1.11 "Missing Images" update 27 May 2006
"Dynamenu" for osCommerce v1.1 update 18 May 2006
"Dynamenu" for osCommerce - Dynamic Fly-Out, Drop-Down, Tree Category Menu 11 May 2006

Note: Contributions are used at own risk.