houston311 Posted February 13, 2011 Share Posted February 13, 2011 URL - http://www.scrapbookingdeb.comThe top category menu is not displaying in the header area.1. I installed the theme on the proper version 1.3.1.x2. I installed the SQL dump correctly3. CHMOD permissions are correct4. Modules display and are activated5. The hook is visible and set correctly6. I have NOT modified the CSS or Header.tpl7. Categories Block v1.0 is correctly set to no. 6 in “Top of pages”8. I have checked the Default group is activated9. Note that there is no javascript error in taskbar10. I have proper PHPmemory setting on server of 40MBPlease advise Here is a url of a properly working theme - http://cms.template-help.com/prestashop_31061/ Link to comment Share on other sites More sharing options...
houston311 Posted February 14, 2011 Author Share Posted February 14, 2011 Ok, here is how i fixed the problem -First let me say that I have great sympathy for anyone who like me has wasted hours attempting to find a solution to prestashop issues. PrestaShop is great, and I love it, but I just want to say thanks to everyone who has helped others.Ok, heres the solution -1. open this file with your HTML editor theme/modules/blockcategories/blockcategories.php2. See line 733. EDIT [line 73] function getTree($resultParents, $resultIds, $maxDepth, $id_category = 1, $currentDepth = 0)CHANGE TO function getTree($resultParents, $resultIds, $maxDepth, $id_category = 0, $currentDepth = 0)edit the .............$id_category = 1 ........ to........... $id_category = 04. FTP the file into its proper location 5. This sounds silly, but it worked. NOW EDIT IT BACK TO THE ORIGINAL CODE [line 73] function getTree($resultParents, $resultIds, $maxDepth, $id_category = 1, $currentDepth = 0) *** edit the .............$id_category = 0 ........ to........... $id_category = 16. FTP the file into it's proper location************************************THE ENDDon't ask me why it worked. I don't know. All I know is I spent 48 hours searching for an answer and after reading other post here I took a wild guess. I hope it works for you too. Good luck! 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