Auto-Expand Filters/Attribute Tree?
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!
-
- Posts: 95
- Joined: 13 May 2019, 08:09
Auto-Expand Filters/Attribute Tree?
Hi,
TYPO3 8.7
Aimeos 18.10
I'm putting together the frontend of a site now that the catalogue is built, and I'm struggling with the filters. I've created a "Catalog attributes" content element and chosen a random attribute, as well as the mandatory pointers to List, Count, and JSON pages. The attributes filter correctly shows up on the page. However, the word "Filter" appears and I have to click it in order to actually *see* the filter. Then, I need to click *again* on the attribute to have it expand and show me the attributes I want.
So, my question is, is there a way to just have the "Filter" title and attributes tree auto-expand?
I see in the CSS there's a div/class:
... so I guess I could just override the CSS in my own external CSS file, but I was hoping there was a less forceful way to do it; perhaps a TypoScript setting?
Thanks as always,
-Scott.
TYPO3 8.7
Aimeos 18.10
I'm putting together the frontend of a site now that the catalogue is built, and I'm struggling with the filters. I've created a "Catalog attributes" content element and chosen a random attribute, as well as the mandatory pointers to List, Count, and JSON pages. The attributes filter correctly shows up on the page. However, the word "Filter" appears and I have to click it in order to actually *see* the filter. Then, I need to click *again* on the attribute to have it expand and show me the attributes I want.
So, my question is, is there a way to just have the "Filter" title and attributes tree auto-expand?
I see in the CSS there's a div/class:
Code: Select all
<div class="attribute-lists" style="display: none;">
Thanks as always,
-Scott.
Re: Auto-Expand Filters/Attribute Tree?
This is all CSS/JS you can overwrite, i.e. https://github.com/aimeos/ai-client-htm ... s.js#L1054 ff.
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
-
- Posts: 95
- Joined: 13 May 2019, 08:09
Re: Auto-Expand Filters/Attribute Tree?
Hi,
Thanks for the confirmation, BUT, I've been doing some overrides and I noticed a key factor relating to this thread: auto-expanding will break the mobile version! It would be nice to have it auto-expand for desktop - but still have the option to compress - and then compress by default on mobile. ...... I just have no idea how to accomplish this override.
-S.
Thanks for the confirmation, BUT, I've been doing some overrides and I noticed a key factor relating to this thread: auto-expanding will break the mobile version! It would be nice to have it auto-expand for desktop - but still have the option to compress - and then compress by default on mobile. ...... I just have no idea how to accomplish this override.
-S.
Re: Auto-Expand Filters/Attribute Tree?
Have you read this articles: https://aimeos.org/docs/Developers#Themes
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
-
- Posts: 95
- Joined: 13 May 2019, 08:09
Re: Auto-Expand Filters/Attribute Tree?
Yes, but I don't know what method to modify....