gr4devel Posted May 3, 2013 Share Posted May 3, 2013 (edited) Hi community, I've recently cloned the latest release of this beautiful platform from github and I'm trying to get a list of all the manufacturers in a menu voice in the top menu (i.e. module blocktopmenu) but I doesn't find the proper configuration. Do I have to modify the module or is there a way to handle the feature I'm trying to implement without touching the code? Thanks . Edited May 16, 2013 by gr4devel (see edit history) Link to comment Share on other sites More sharing options...
gr4devel Posted May 15, 2013 Author Share Posted May 15, 2013 No one can help me on this topic ? Link to comment Share on other sites More sharing options...
PascalVG Posted May 15, 2013 Share Posted May 15, 2013 Standard this isn't an option in PS. You have to redo some code in /modules/blocktopmenu/blocktopmenu.php Search for 'man'(ufacturers) and see what they do with it. maybe easiest (but dirty, officially incorrect) to rewrite the code so that if any manufacturer needs to be added (i.e. in standard module-config, select exactly 1 manufacturer), then change the code for creating the menu to add ALL instead of only the chosen one (see first few 'man' you meet for an example to skim through all manufacturers (foreach command) Hope this gives you an idea. pascal Link to comment Share on other sites More sharing options...
gr4devel Posted May 16, 2013 Author Share Posted May 16, 2013 Sorry for my lateness in respond and thank you very much for your support!!! I really appreciate all your work here on the forum!!! I'll modify the menu to respond to my needs. For the moment I mark the post as [sOLVED]. However if anyone is facing the same problem feel free to write here. I'll be glad to help! @PascalVG: again thank you very much!!! Link to comment Share on other sites More sharing options...
PascalVG Posted May 17, 2013 Share Posted May 17, 2013 Glad I could help you a little :-) Link to comment Share on other sites More sharing options...
ziel.l.a Posted July 8, 2013 Share Posted July 8, 2013 (edited) Hello, i have the same problem (i need to have manufacturers list in top menu) and have completely no idea what should i change in code under manufacturers entries inside file 'blocktopmenu.php'. Sure there are some variables ($manufacturers, $manufacturer) and foreach is here too, but i clearly don't have enough knowledge to do it... I've recently left Presta 1.4 to work with Presta 1.5. In older version i used module jbx_menu which had this manufacturers-list feature, but it looks like there is no Presta 1.5-ready version... so if somebody will find some free time to help i'll appreciate that Edited July 8, 2013 by ziel.l.a (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted August 20, 2013 Share Posted August 20, 2013 Hi, just made some changes to put a manufacturers list in the top horizontal menu. See this topic: http://www.prestashop.com/forums/index.php?/topic/268662-questionhow-to-add-link-to-the-navigation-header/page__view__findpost__p__1346110 Hope this helps, pascal 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