Maheshmohan1093 Posted June 25, 2015 Share Posted June 25, 2015 (edited) How can I have sub-category images on hovering through the category in Top Horizontal Menu?? Could not find how to do it. Please help. I am using Prestashop 1.6 Version. Edited June 25, 2015 by Maheshmohan1093 (see edit history) Link to comment Share on other sites More sharing options...
1 Maheshmohan1093 Posted July 1, 2015 Author Share Posted July 1, 2015 (edited) Guys, Found the solution. Replace blocktopmenu.php for having sub-categories images to be displayed. . Enjoyyyyyy!!!!!!.. Thumbnail will be displayed ( Attach thumbnail images from back end for each sub-category images ) blocktopmenu.php Edited July 1, 2015 by Maheshmohan1093 (see edit history) Link to comment Share on other sites More sharing options...
1 informatikadomicile Posted July 28, 2016 Share Posted July 28, 2016 We are looking for the same purpose. Changing the blocktopmenu.php can make some error with the prestashop 1.6.4.Better way i think is to override this class. Link to comment Share on other sites More sharing options...
0 vekia Posted June 25, 2015 Share Posted June 25, 2015 hello is this the same question? https://www.prestashop.com/forums/topic/449237-top-horizontal-menu-images/ i think so Link to comment Share on other sites More sharing options...
0 Maheshmohan1093 Posted June 26, 2015 Author Share Posted June 26, 2015 Actually I do not want to replace text. i want images along with the text. Which all file modifications is necessary basically?? I know a bit of php but I am scratching my head from where that href of sub menus is retrieved from database. Can you please guide me ? In which file?? So, it is not in template files right? Link to comment Share on other sites More sharing options...
0 gunril Posted May 3, 2016 Share Posted May 3, 2016 Always worked for me but with the update of 1.6.1.5 (replaced back the blocktopmenu) it doesn't work anymore. Gives a error : Fatal error: Redefinition of parameter $id_shop in /home/dronesvelt/www/modules/blocktopmenu/blocktopmenu.php on line 808 Filetxt : private function getCMSPages($id_cms_category, $id_shop = false, $id_lang = false) { $id_shop = ($id_shop !== false) ? (int)$id_shop : (int)Context::getContext()->shop->id; $id_lang = $id_lang ? (int)$id_lang : (int)Context::getContext()->language->id; $where_shop = ''; if (Tools::version_compare(_PS_VERSION_, '1.6.0.12', '>=') == true) $where_shop = ' AND cl.`id_shop` = '.(int)$id_shop; Someone any ideas ??? Link to comment Share on other sites More sharing options...
0 piotrek.btr Posted July 19, 2017 Share Posted July 19, 2017 Hi I can't download this file. So somebody send me this file or share under this post ? thank you Link to comment Share on other sites More sharing options...
0 flash6630 Posted August 10, 2017 Share Posted August 10, 2017 Works??? Link to comment Share on other sites More sharing options...
0 Dmytro Korolkov Posted February 20, 2018 Share Posted February 20, 2018 (edited) On 01.07.2015 at 8:08 AM, Maheshmohan1093 said: Guys, Found the solution. Replace blocktopmenu.php for having sub-categories images to be displayed. . Enjoyyyyyy!!!!!!.. Thumbnail will be displayed ( Attach thumbnail images from back end for each sub-category images ) blocktopmenu.php Thanks! Works on PS 1.6.1.17 but additionally makes subcategory block appears even where is no subcategory presentedPrintscreen - http://take.ms/m1TlK <ul style="display: none;" class="submenu-container clearfix first-in-line-xs"><li class="category-thumbnail"></li></ul> P.S.UPDATE: the code for 1.6.1.17 is different so compared files and done your "//" edits manually but empty submenu still appears On 19.07.2017 at 9:33 PM, piotrek.btr said: Hi I can't download this file. So somebody send me this file or share under this post ? thank you working file for PS 1.6.1.17: https://goo.gl/s1r5Z1 Edited February 20, 2018 by Dmytro Korolkov (see edit history) Link to comment Share on other sites More sharing options...
0 selectshop.at Posted February 21, 2018 Share Posted February 21, 2018 I close this thread. The question was added for PRESTASHOP CLOUD HOSTING PROBLEMS. This service was ceased by February 2017 !!! If you have a similar question regarding the top horizontal menu, so please add your question to the English Forum section. Prestashop Cloud forum section is only ARCHIVE. Discussions here are discontinued. Link to comment Share on other sites More sharing options...
Question
Maheshmohan1093
How can I have sub-category images on hovering through the category in Top Horizontal Menu??
Could not find how to do it. Please help. I am using Prestashop 1.6 Version.
Edited by Maheshmohan1093 (see edit history)Link to comment
Share on other sites
9 answers to this question
Recommended Posts