Jump to content

Categories as Drop Down Menu

Pete Nice

Recommended Posts

Hi all,

This is my first post here. I'm currently building my first theme and I'd like to know if anyone knows of a solution to have the categories list as a drop down menu - including sub categories? I know there is a custom categories block which uses a dhtml menu but I'm just after all of the category info existing as a drop down menu.

EDIT: it's ok - I edited the manufacturers code and applied it to the blockcategories.tpl - I have removed any sub categories.

<form action="{$smarty.server.SCRIPT_NAME}" method="get">

{l s='categories' mod='blockcategories'}
               {foreach from=$categories item=category}


Link to comment
Share on other sites

  • 3 weeks later...

Hello friend,

Thank you very much for your code. Categories displayed correctly.

But it shows me the subcategories ?, I tried putting $ subcategories but not found. Also know how to show the subcategories?

thank you very much,


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...