palombokevin Posted July 18, 2011 Share Posted July 18, 2011 Hi Everybody! I'm trying to resolve a problem about my block categories. This is my website : www.toutou.be You will see that there is a top menu ( Menu Haut Horizontal v1.3) with my pages and 2 sub categories called (Dog, Cat) and other sub-categories. So everything look fine. But when I try to place category block on right column, It shows the title of the block but any sub categories. I don't know how to resolve this problem? In BO the category block is set on 0 (infinite) and dynamic. I already try this: Download a new prestashop and only import blockcategory in my prestashop version 1.4.2.5. But not even work ??!!Please help me Link to comment Share on other sites More sharing options...
lwdmall Posted July 20, 2011 Share Posted July 20, 2011 I have the same problem and I don't know where to look. I have a subcategory under the home category but on the front office I have the category block but there are no categories in the block. Please help. I am using version 1.4.3ThanksBruce Link to comment Share on other sites More sharing options...
palombokevin Posted July 23, 2011 Author Share Posted July 23, 2011 Please somebody help us! Link to comment Share on other sites More sharing options...
Todds Posted July 30, 2011 Share Posted July 30, 2011 I am also not able to display categories in Categories block. Can someone throw some light on this issue? Thanks Link to comment Share on other sites More sharing options...
rocky Posted July 30, 2011 Share Posted July 30, 2011 Check to make sure that your categories have translations for all languages and that they have the "Default" group ticked under "Groups access". Also, if your footer is missing, it means a PHP error has occurred in the category block. Edit config/config.inc.php and temporarily change 'display_errors' from 'off' to 'on', then refresh the page to see the error. 1 Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted January 17, 2012 Share Posted January 17, 2012 Edit header.tpl line 46 where I had corrected the line var priceDisplayPrecision = {$ ... to var priceDisplayPrecision =' {$ When I removed the ' and saved and uploaded the categories appeared. Even though it says there is a syntax error on that line.. with the ' removed the categories re-appear. Link to comment Share on other sites More sharing options...
Webfrog Posted August 3, 2012 Share Posted August 3, 2012 I had a similar issue and after bashing my head into a wall for something like 5 hours i noticed my customer had un-hooked the categories block from the header of page hook!!!! GRRRRRRRRRRR After i transplanted he module back into the header of page hook WALLA! Working like a G6! Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 7, 2012 Share Posted August 7, 2012 Hello stickiees, could you provide additional information? What version of PrestaShop are you using? Is the block transplanted to the header of pages? Link to comment Share on other sites More sharing options...
Tomás Posted September 13, 2012 Share Posted September 13, 2012 I have the same issue, I use the 1.4.9.0, block categories 2.0 module is on header of pages and left column hooks, I disabled, enabled, restarted, uninstalled, reinstalled and categories are empty, however other modules show the categories perfectly on front office. I changed @ini_set('display_errors', 'on'); but I don't see any error on screen. Link to comment Share on other sites More sharing options...
enjoyabell Posted December 19, 2013 Share Posted December 19, 2013 (edited) hello, i'm having the same issue... my category block is showing only the title (categories) and nothing else. Tryed uninstall/install/reset, hooks are ok as mentioned above. Footer is also showing the title. Anyone can help? PS1.5.6 Edited December 19, 2013 by enjoyabell (see edit history) Link to comment Share on other sites More sharing options...
CartExpert.net Posted December 19, 2013 Share Posted December 19, 2013 Hi. Please send the URL to your site. Regards.Robin.The CartExpert Team Link to comment Share on other sites More sharing options...
enjoyabell Posted December 19, 2013 Share Posted December 19, 2013 Hi. Please send the URL to your site. Regards. Robin. The CartExpert Team http://1001okazii.sits.ro thanks Link to comment Share on other sites More sharing options...
CartExpert.net Posted December 19, 2013 Share Posted December 19, 2013 Try to clear your cache. Regards.Robin.The CartExpert Team Link to comment Share on other sites More sharing options...
vekia Posted December 19, 2013 Share Posted December 19, 2013 have you changed something with category tree in your store? for example: remove root categories etc, ? Link to comment Share on other sites More sharing options...
enjoyabell Posted December 19, 2013 Share Posted December 19, 2013 Didn't help. Cleaned cache/smarty/ compile and cache. The categories list dissapeared after deleting some categories no longer needed. I noticed that FeaturedProducts module is also not listing products. Thanks for your help Link to comment Share on other sites More sharing options...
CartExpert.net Posted December 19, 2013 Share Posted December 19, 2013 Did you remove the root category? Regards.Robin.The CartExpert Team Link to comment Share on other sites More sharing options...
enjoyabell Posted December 19, 2013 Share Posted December 19, 2013 I don't know exactly the deleted categories but i think root is present... images attached Thanks Link to comment Share on other sites More sharing options...
enjoyabell Posted December 20, 2013 Share Posted December 20, 2013 (edited) Backed up my db, imported db in a new prestashop installation, deleted all categories and products, created one new catgory, but nothing changed; categories still not listed in the block. Any ideas? Later edit: changed root category friendly url "home" to something else and now i can see the categories... i still need to figure out why featured products on home page is not listing any products. Edited December 20, 2013 by enjoyabell (see edit history) Link to comment Share on other sites More sharing options...
Vamiris Posted January 17, 2014 Share Posted January 17, 2014 Hello,I have a similar problem.In the .tpl file, there is a javascript code which hides the navigation, when javascript is activated. When i remove this piece of Javascript, it works.Can someone explain me the reason for this? May i'm missing some information about this.The piece of code: <script type="text/javascript"> // <![CDATA[ // we hide the tree only if JavaScript is activated $('div#categories_block_left ul.dhtml').hide(); // ]]> </script> Link to comment Share on other sites More sharing options...
vekia Posted January 19, 2014 Share Posted January 19, 2014 hello this script has got feature to hide categories in left column. i don't know for what purposes you used this code but if you want to display categories - remove it definitely. Link to comment Share on other sites More sharing options...
graffito Posted February 10, 2014 Share Posted February 10, 2014 If you remove this piece of code, all subcategories will be unfolded. Change this line in blockcategories.tpl: $('div#categories_block_left ul.dhtml').hide(); to $('div#categories_block_left ul.dhtml li ul').hide(); Worked great for me. Link to comment Share on other sites More sharing options...
annajds Posted February 10, 2014 Share Posted February 10, 2014 Same problem here. No categories display in category block and in footer. I try all that and nothing help. Any other idea why this happen and what can I do ? Link to comment Share on other sites More sharing options...
ameisina Posted March 23, 2014 Share Posted March 23, 2014 i have the same problems. i updated manully some modules on the categories on " Front office features" after that when i try to access the front ofiice then it shows nothing. and no erro thrown out. What's the problem? How can i do will roll back the vesions of the module like before. the version of the web is prestashop_1.5.6.2. here is my my web address www.dwmzone.com Link to comment Share on other sites More sharing options...
vekia Posted March 23, 2014 Share Posted March 23, 2014 its because new modules arent compatibile with ps 1.5 check this topic: http://www.prestashop.com/forums/topic/317453-solved-blank-indexphp-homepage-after-updating-all-modules/ Link to comment Share on other sites More sharing options...
Nipa Posted April 1, 2014 Share Posted April 1, 2014 Same problem to me, after domain change not show my categories! Link to comment Share on other sites More sharing options...
fusillicode Posted October 6, 2014 Share Posted October 6, 2014 (edited) Sorry for revamping this old thread but I'm facing the same problem on the last version of PS (1.6.0.9) and I think that it may be related to the smarty cache. It seems that it doesn't get properly deleted when issuing the clearing command from the backend. Is there some workaround for this? Or better a solution? Core team please help us... Edited October 6, 2014 by fusillicode (see edit history) Link to comment Share on other sites More sharing options...
fusillicode Posted October 6, 2014 Share Posted October 6, 2014 Ok, as pretty often...my bad The problem isn't actually the cache but the broken category tree. To solve it just execute (by uploading a simple php page on your server) this code: Category::regenerateEntireNtree(); I hope it can help the ones facing the same problem I faced. P.S: I'm developing a little dummy module to wrap the desired functionality. Link to comment Share on other sites More sharing options...
mehere Posted October 7, 2014 Share Posted October 7, 2014 @fusillicode thanks for sharing. I guess I have the same issue but if I run your script I get Fatal error: Class 'Category' not found in (filename) on line 2 What do you think? Link to comment Share on other sites More sharing options...
fusillicode Posted October 7, 2014 Share Posted October 7, 2014 mmm it seems you didn't include the proper file in which the Category class is defined. Look I've just developed the dummy module I've cited in my previous post. I've test it on the latest version of PS and it seems to work. Here it is: https://github.com/fusillicode/category-tree-regenerator You can try it If there is some problem just ask Link to comment Share on other sites More sharing options...
mehere Posted October 7, 2014 Share Posted October 7, 2014 Thank you very much I will try but before...a question: will this simply regenerate catehories and their links or edit/delete my categories? This second thing would be very dangerous since I should redefine all categories and reassociate all products in each of them... Cheers Link to comment Share on other sites More sharing options...
fusillicode Posted October 7, 2014 Share Posted October 7, 2014 Look the only thing that the module does is to call the over mentioned Category::regenerateEntireNtree(); method. What the method does is (I'm citing the documentation of the method in the Category class): "Re-calculate the values of all branches of the nested tree". I've personally used the module and it doesn't seem to have broken anything. However I don't take any the responsibility about possible breakage sry Link to comment Share on other sites More sharing options...
mehere Posted October 7, 2014 Share Posted October 7, 2014 Ok I understand, thanks. By the way, did you find the cause breaking the category tree at your side? Cheers Link to comment Share on other sites More sharing options...
fusillicode Posted October 7, 2014 Share Posted October 7, 2014 yep in my case I'm doing some import from an external system and it seems that the categories aren't actually imported (updated) correctly. Link to comment Share on other sites More sharing options...
mehere Posted October 7, 2014 Share Posted October 7, 2014 Thank you very much. I didn't do anything like that so causes should be very different just like solutions, I think I will open a new thread. Thanks for sharing your hints though! Cheers Link to comment Share on other sites More sharing options...
fusillicode Posted October 7, 2014 Share Posted October 7, 2014 My pleasure Link to comment Share on other sites More sharing options...
vkmaxx Posted December 9, 2014 Share Posted December 9, 2014 (edited) I had the same problem... I could not install you module (I'm on S 1.4.x). I added Category::regenerateEntireNtree(); To Category module but now I can;t see escritoires ONLY on main page, on every other categories are visble. The shop: http://www.prezentyhurt.pl/pl/ PS. On my main page categories module starts with: <ul class="tree dynamized" style="display: none;"> on every other page with: <ul class="tree dynamized" style="display: block;"> Edited December 9, 2014 by vkmaxx (see edit history) Link to comment Share on other sites More sharing options...
kingfaya Posted January 26, 2015 Share Posted January 26, 2015 hey! I've tried your module fusilicode but i can't even install it on presta BO It does'nt show itselft in the list. And my problem is still...^^ Anyone who know how to fix it? My catégories shows in footer but not in left column. But they're hooked to left column... I don't understand what happen... I anyone could help me...^^ I would be grateful 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