Category menu - opened as stanadard
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!
Category menu - opened as stanadard
How can i configure the Categorys opened as standard, so the users dont have to click the text "Category" to make them visible as standard? Is that possible? :
Re: Category menu - opened as stanadard
Yes, set the number of category levels you want to display using this configuration: https://aimeos.org/docs/Configuration/C ... els-always
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: Category menu - opened as stanadard
i used this in my template setup :aimeos wrote: ↑25 May 2020, 17:20 Yes, set the number of category levels you want to display using this configuration: https://aimeos.org/docs/Configuration/C ... els-always
plugin.tx_aimeos.settings.client.html.catalog.filter.tree.levels-always = 1
but nothing happens, or how it have to be configured, can you make a example?
Re: Category menu - opened as stanadard
In TYPO3, the TS settings are overwritten by the Flexform settings, so you have to go to the plugin configuration of the catalog filter plugin and add the value (2 or 3, depending on the levels of your tree) to the "levels always" field in the flexform.
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: Category menu - opened as stanadard
whatever i enter in the "Always display these category levels" field, 0, 1, 2 or 3, nothing happens... i tryed clear cache / delete typo temp folder but Categorys still closed. Or i misunderstood how to configure it?
Re: Category menu - opened as stanadard
We are still investigating the issue, please stay tuned
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: Category menu - opened as stanadard
Here's a new pre-release which fixes the level-always configuration option:
https://aimeos.org/fileadmin/download/a ... 3-pre5.zip
https://aimeos.org/fileadmin/download/a ... 3-pre5.zip
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: Category menu - opened as stanadard
installed the new releaseaimeos wrote: ↑02 Jun 2020, 21:35 Here's a new pre-release which fixes the level-always configuration option:
https://aimeos.org/fileadmin/download/a ... 3-pre5.zip
didnt worked for me, what have i exactly to do, tryed 1, 2 and 3 but nothing (cleared cache / temp)
Re: Category menu - opened as stanadard
We've added this: https://github.com/aimeos/ai-client-htm ... 327fd4222f
Then, this method will add the expression for limiting the categories to the configured level:
https://github.com/aimeos/ai-controller ... #L215-L285
Can you please see what happens in your case in the method and if the expression is added:
https://github.com/aimeos/ai-controller ... d.php#L254
Then, this method will add the expression for limiting the categories to the configured level:
https://github.com/aimeos/ai-controller ... #L215-L285
Can you please see what happens in your case in the method and if the expression is added:
https://github.com/aimeos/ai-controller ... d.php#L254
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: Category menu - opened as stanadard
1.) this file was OK:aimeos wrote: ↑03 Jun 2020, 17:10 We've added this: https://github.com/aimeos/ai-client-htm ... 327fd4222f
Then, this method will add the expression for limiting the categories to the configured level:
https://github.com/aimeos/ai-controller ... #L215-L285
Can you please see what happens in your case in the method and if the expression is added:
https://github.com/aimeos/ai-controller ... d.php#L254
httpdocs / typo3conf / ext / aimeos / Resources / Private / Extensions / ai-controller-frontend / controller / frontend / src / Controller / Frontend / Catalog / Standard.php
2.) This part didnt changed after update: i adjusted it to your change:
$view->treeCatalogPath = $catItems;
$view->treeCatalogTree = $cntl->visible( $catItems->keys()->toArray() ?: [$startid] )->getTree();
$view->treeFilterParams = $this->getClientParams( $view->param(), ['f'] );
... cleared cache / temp folder... still nothing, i have the feeling that the configuration "Always display these category levels " is dead somehow.
3.) sorry i have no idea how to debug it and check if there is something wrong.