hawaii350 Posted October 23, 2009 Share Posted October 23, 2009 Is there a way to set some categories to be open by default? A few categories are just there for organization and its just one more click for he customer if they have to click on it.Thanks,Hawaii350 Link to comment Share on other sites More sharing options...
sahabat Posted October 24, 2009 Share Posted October 24, 2009 yes, how's that possible? Link to comment Share on other sites More sharing options...
hawaii350 Posted October 25, 2009 Author Share Posted October 25, 2009 A small little bump Link to comment Share on other sites More sharing options...
Hardik Posted November 7, 2009 Share Posted November 7, 2009 hey, can anyone post on this. does the treemanagement.js have to be modified in anyway for this?thanks Link to comment Share on other sites More sharing options...
tomerg3 Posted November 7, 2009 Share Posted November 7, 2009 I have just done something like this, but only for the first category (http://www.presto-changeo.com/124).How many categories would you want to see open? and how would you like to choose them? Link to comment Share on other sites More sharing options...
Hardik Posted November 9, 2009 Share Posted November 9, 2009 Hey,Thanks for your reply.I just saw that link. However, in that link the parent categories "Department, theme, price, type" dont have sub categories.My page has sub categories, so i want all sub categories inside the parent category also to be opened when some one clicks on the parent category.Do you know anyway i can do that? i am using Rocky's sliding accordion module and it works great. Moreover, it should work the same way even without JS/AJAX so that in case the user has JS disabled the page refreshes but the clicking on the parent category will open all sub categories underneath it. I really like the filter text boxes on your site. Which module have you used there? i would like to use something similar on my website i hope you get what i mean. Link to comment Share on other sites More sharing options...
tomerg3 Posted November 9, 2009 Share Posted November 9, 2009 If you are using Rocky's module, maybe you should request it from him The default category menu can be adjusted to open all sub-categories as well.The lensesrx popup in not a module, it was custom built for that site.It is using my "Special Instruction" MOD to add all the info into the shopping cart. Link to comment Share on other sites More sharing options...
Hardik Posted November 10, 2009 Share Posted November 10, 2009 can you tell me how i can adjust the default category module? thanks for helping out Link to comment Share on other sites More sharing options...
Hardik Posted November 11, 2009 Share Posted November 11, 2009 hey any tips on customizing the standard category module to open all sub-categories when the parent category is clicked? Link to comment Share on other sites More sharing options...
tomerg3 Posted November 11, 2009 Share Posted November 11, 2009 I have been thinking about creating a new module based on the original one which will allow that and more.I'll update this thread when I do. Link to comment Share on other sites More sharing options...
tomerg3 Posted November 12, 2009 Share Posted November 12, 2009 I have finished building this module, it expands on the default category blockhttp://www.prestashop.com/forums/viewthread/34121/ Link to comment Share on other sites More sharing options...
Henry Vermeulen Posted July 19, 2012 Share Posted July 19, 2012 (edited) Just having all the categories open by default. That's what i wanted. In blockcategories.tpl just change this line: <ul class="tree {if $isDhtml}dhtml{/if}"> in this: <ul class="tree"> Set Force compile to yes and Cache to no in your admin and refresh. Put them back after that as keeping compile on slows down your site Edited July 19, 2012 by Henry Vermeulen (see edit history) Link to comment Share on other sites More sharing options...
Kerm Posted April 10, 2013 Share Posted April 10, 2013 You try just in blockcategory module settings turn off dynamic category mode? with out any file modification.. Link to comment Share on other sites More sharing options...
Recommended Posts