Rondelle Posted December 1, 2014 Share Posted December 1, 2014 Hey guys. As the title says, I want to set a custom url to the home button (inside BlockTopMenu module). Can't find a way to do so. Thanks in advance. Link to comment Share on other sites More sharing options...
dioniz Posted December 1, 2014 Share Posted December 1, 2014 Welcome Rondelle Found this video, it explains how to do it: Link to comment Share on other sites More sharing options...
Rondelle Posted December 1, 2014 Author Share Posted December 1, 2014 Thanks for your reply. But in fact, I renamed the HOME button to 'all products', so on hover it displays the shop categories. And i wanted it to redirect to the all products page on click. If i add a custom category (like in the video you showed me) named 'all product', I'll have to add every product in this category. And this is not optimal. So I need to change the default home button URL directly. I hope you get what I mean, I'm not sure of my english. Thanks anyway Link to comment Share on other sites More sharing options...
Rondelle Posted December 3, 2014 Author Share Posted December 3, 2014 (edited) Post closed. Finally found a solution. For those who might be interested. inside blocktopmenu.php : in function generateCategoriesMenu, test if $category['id_category'] == the ID that match the one you need (for me it was 2). You can close this topic. Edited December 3, 2014 by Rondelle (see edit history) Link to comment 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