Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / drop down menu for categories...

drop down menu for categories...

Locked

Views: 3,811

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
24 Aug 2006, 11:42 PM
#1
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

drop down menu for categories...

How would I go about having a dropdown menu for my categories if I wanted one similar to this.....

My shopping cart is going super slow & I can hardly stand it, I figure at least this might help for people trying to look at products..... (I can't stand when stores are slow and i'm sitting there a few seconds in between every click...I like instantaneous :smile: )

25 Aug 2006, 5:35 AM
#2
designbydemeter avatar

designbydemeter

Zen Follower

Join Date:
Jun 2006
Location:
Taos,NM
Posts:
225
Plugin Contributions:
0

Re: drop down menu for categories...

Create your subcategories, then in Admin, go to Configuration/Layout Settings and you'll find a whole bunch of category options.

25 Aug 2006, 10:20 AM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: drop down menu for categories...

... though sadly none of these options would turn the categories sidebox into a drop down menu. To do this you would need to make changes to the modules/sideboxes/categories.php and templates/sideboxes/tpl_categories.php files using the equivalents for manufactuers as your model.

25 Aug 2006, 2:52 PM
#4
designbydemeter avatar

designbydemeter

Zen Follower

Join Date:
Jun 2006
Location:
Taos,NM
Posts:
225
Plugin Contributions:
0

Re: drop down menu for categories...

Apologies to all - I didn't get the question - :blush:

I really must start getting more than 5 hours sleep.

25 Aug 2006, 3:04 PM
#5
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: drop down menu for categories...

... but your point was still valid. There are a lot of things on the page you referenced that can done to influence how the category sidebox works and they are certainly worth exploring.

6 Sep 2006, 7:14 PM
#6
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: drop down menu for categories...

kuroi:

... though sadly none of these options would turn the categories sidebox into a drop down menu. To do this you would need to make changes to the modules/sideboxes/categories.php and templates/sideboxes/tpl_categories.php files using the equivalents for manufactuers as your model.

well i haven't the slightest clue when it comes to php, but i really would like to get this into a dropdown. I just think it will look better if i just have "shop by category" and "shop by brand" in dropdown menus. I know how to do a css dropdown that would look exactly how i want... but other than that, I am lost.

6 Sep 2006, 7:25 PM
#7
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,606
Plugin Contributions:
0

Re: drop down menu for categories...

You can use the Manufacturers Sidebox as a dropdown by configuring it in the Admin and a top level categories box is being worked on at the moment.

6 Sep 2006, 7:31 PM
#8
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: drop down menu for categories...

Kim:

You can use the Manufacturers Sidebox as a dropdown by configuring it in the Admin and a top level categories box is being worked on at the moment.

yeah i knew about the manufacturers one, the categories one will be sweet. i will be waiting.

6 Sep 2006, 11:42 PM
#9
patski avatar

patski

Zen Follower

Join Date:
Nov 2004
Location:
Deal, Kent, UK
Posts:
325
Plugin Contributions:
0

Re: drop down menu for categories...

Kim - would be great to have a subcategory dropdown for the cat tabs menu too :shocking:

14 Sep 2006, 11:06 PM
#10
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: drop down menu for categories...

i don't see why i can't just do a simple html drop down like this....(but of course with all the < &>)

select style="background-color: FFFFFF; color: 000000; width: 200; ">
option> option 1</option
option> option 2</option
option> option 3</option

and just manually put in the links, yeah it's a pain, but i have no other option at the moment...

BUT then again i don't know php and how exactly this zencart stuff works.
my knowledge ends at css/html

15 Sep 2006, 1:46 AM
#11
ideasgirl avatar

ideasgirl

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,437
Plugin Contributions:
3

Re: drop down menu for categories...

i don't see why i can't just do a simple html drop down like this....
There are many answers for that but just to give you 1 and very good one is: because then the categories won't be generated dinamic as they are supposed to.

18 Oct 2006, 6:21 PM
#12
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: drop down menu for categories...

Ok so my friend is making me a categories dropdown menu...Yay:laugh:
I'm assuming everything that's been done is correct for zencart, but maybe someone could check it out....:P

15 Nov 2006, 12:11 AM
#13
shannda avatar

shannda

New Zenner

Join Date:
Dec 2005
Posts:
46
Plugin Contributions:
0

Re: drop down menu for categories...

khopek:

Ok so my friend is making me a categories dropdown menu...Yay:laugh:
I'm assuming everything that's been done is correct for zencart, but maybe someone could check it out....:P

Nice work. Can you or your friend post the code or files?

16 Nov 2006, 1:08 AM
#14
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: drop down menu for categories...

shannda:

Nice work. Can you or your friend post the code or files?

I have the files that he has modified so far...which currently my dropdown menu only shows top level categories until you choose one, then the subcategories will show. Basically, just like the regular sidebox works for zencart, only in a dropdown menu.:laugh:

I think he's trying to get all subcategories to also display all the time because that's what I wanted.:P

17 Nov 2006, 8:51 PM
#15
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: drop down menu for categories...

khopek:

I have the files that he has modified so far...which currently my dropdown menu only shows top level categories until you choose one, then the subcategories will show. Basically, just like the regular sidebox works for zencart, only in a dropdown menu.:laugh:

I think he's trying to get all subcategories to also display all the time because that's what I wanted.:P

here are the modified files he gave me....
you can take a look at my site if you want to see the dropdown menu.
The modified files are html_header.php and tpl_categories.php