Sandeep Tiwari Posted November 14, 2014 Share Posted November 14, 2014 Hello everyone I want to keep only few categories in my footer not all the categories, let say 5-6 categories only. but footer is displaying a long list of category names. please check the screenshot here : http://awesomescreenshot.com/03c3un65c7 I do not want to remove the category block from footer but want to keep 5-6 categories only. Are their any settings in back office or do I have to write static html for this ? Regards, Sandeep Link to comment Share on other sites More sharing options...
tuk66 Posted November 14, 2014 Share Posted November 14, 2014 Go to /modules/blockcategories/blockcategories.php, find hookFooter() method and change: ORDER BY `level_depth` ASC, '.(Configuration::get('BLOCK_CATEG_SORT') ? 'cl.`name`' : 'category_shop.`position`').' '.(Configuration::get('BLOCK_CATEG_SORT_WAY') ? 'DESC' : 'ASC'))) to ORDER BY `level_depth` ASC, '.(Configuration::get('BLOCK_CATEG_SORT') ? 'cl.`name`' : 'category_shop.`position`').' '.(Configuration::get('BLOCK_CATEG_SORT_WAY') ? 'DESC' : 'ASC'.' LIMIT 6'))) 1 Link to comment Share on other sites More sharing options...
Paulito Posted November 14, 2014 Share Posted November 14, 2014 Hello What a great and easy solution, thank you tuk66 Paul Link to comment Share on other sites More sharing options...
Recommended Posts