Jump to content

Category open by default


Recommended Posts

  • 2 weeks later...

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

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

  • 2 years later...

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 by Henry Vermeulen (see edit history)
Link to comment
Share on other sites

  • 8 months later...
×
×
  • Create New...