How to keep categories tree expanded?
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
How to keep categories tree expanded?
Another issue that I'm struggling for is how to keep categories tree (in the catalog filter) expanded when the site is being loaded?
Best regards,
Dominik
Best regards,
Dominik
Re: How to keep categories tree expanded?
You need to overwrite the Javascript function for the catalog filter tree in the theme (aimeos.js). The setupCategoryToggle() is one of the method of the AimeosCatalogFilter object which you have to overwrite:abcdomino wrote:Another issue that I'm struggling for is how to keep categories tree (in the catalog filter) expanded when the site is being loaded?
https://aimeos.org/docs/Developers/Them ... Javascript
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: How to keep categories tree expanded?
Thanks a lot, I will be trying...
Best Regards,
Dominik
Best Regards,
Dominik
Re: How to keep categories tree expanded?
Use CSS to show the menu initially:
Optionally hide the Categories header:
Code: Select all
.catalog-filter-tree > ul {
display: block;
}
Code: Select all
.catalog-filter-tree > h2 {
display: none;
}