Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Categories with the drop down menu in the ezpages

Categories with the drop down menu in the ezpages

Views: 1,435

Results 1 to 4 of 4
21 Apr 2011, 1:31 PM
#1
samuelbarnaby avatar

samuelbarnaby

New Zenner

Join Date:
Apr 2011
Posts:
3
Plugin Contributions:
0

Categories with the drop down menu in the ezpages

Hello Guys,

in the ezpages, i need a tab called categories with the drop down menu.

This particular website is developed in Zencart.

Your suggestions/recommendations in this regard, would be of great help to us

21 Apr 2011, 2:18 PM
#2
samuelbarnaby avatar

samuelbarnaby

New Zenner

Join Date:
Apr 2011
Posts:
3
Plugin Contributions:
0

Re: Categories with the drop down menu in the ezpages

To be more clear, here are my requirements

Requirements:

Functionality:

  • dynamic drop-down menu using CSS, Javascript, Ajax (any or one) for an existing Zen Cart installation.
  • At rest, the menu shows the top-level categories
  • Upon mouse-over - subcategories drop down
  • Upon further mouse-over on subcategories, additional subcategories (if any) drop down
  • The menu must be dynamic in that is must pull category names and links from the Zen Cart system so that additional subcategories will automatically update the menu like the normal category menu updates.

How can i do this to the website.... :frusty:

21 Apr 2011, 4:22 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories with the drop down menu in the ezpages

Do you mean you want this in the ez-page content in the center column? You can't do that, as the menu needs PHP to build it, and ez-pages don't handle PHP. Why do you feel the menu needs to be in the content and not in the header?

You could make the header dropdown menu only appear when you are on an ez-page; that is a simple if() test to put in the tpl_header.php code.

21 Apr 2011, 4:27 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories with the drop down menu in the ezpages

You could even use CSS positioning to make that menu appear to be at the top of the center column instead of the header. And there is no need to use js or Ajax for it, as CSS is fully capable of handling the dropdown.
Not to mention that there is already at least one fully functioning mod in Free Addons for the dropdown in the header.