fyreflyX Posted July 5, 2011 Posted July 5, 2011 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: blockcategoriesdropand 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} {$category.name|escape:'htmlall':'UTF-8'} {/foreach} </form> It almost works, except the categoryLink isn't formed properly and is going to a "page cannot be found"http://domain.com/prestacart/modules/blockcategoriesdrop/categoryit should go tohttp://domain.com/prestacart/en/category(needs to work with language switcher)Any advise / help would be hugely appreciated. Share this post Link to post Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now