Jump to content

Category Tree as a Select / Dropdown box


Recommended Posts

I need to set up a category module to work similar to Manufacturers Block module (drop down list that redirects to the pages)

I duplicated blockcategories and created a new module name: blockcategoriesdrop

and added the below to the tpl file

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

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


It almost works, except the categoryLink isn't formed properly and is going to a "page cannot be found"


it should go to

(needs to work with language switcher)

Any advise / help would be hugely appreciated.

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...