pixelant / pxa_dealers

Extension to display searchable dealers/shops or other points of interests on Google maps
GNU General Public License v2.0
0 stars 1 forks source link

Category menu does not work in multilingual sites #49

Closed stephangrass closed 1 year ago

stephangrass commented 2 years ago

Hello, I have created a category menu. It works in the default language. The menu is not displayed in other languages. The categories and all elements have been localized.

stephangrass commented 1 year ago

No reaction? Pity! ...

MattiasNilsson commented 1 year ago

@stephangrass Do you use languages layers with mixed mode?

stephangrass commented 1 year ago

Thanks for the reaction. No, I use the connected mode.

stephangrass commented 1 year ago

$this->settings['demand'] in the categoriesFilterAction will return the Category-Id's of the default language, and $this->categoriesRepository->findDemanded use this id's directly.

MattiasNilsson commented 1 year ago

Have you tried changing the Categories in TypoScript?

Screenshot 2022-12-21 at 08 23 38

stephangrass commented 1 year ago

Yes, that doesn't seem to have any effect.

I think you have to do something like in tx_news by Georg Ringer in the repository or controller: https://github.com/georgringer/news/blob/main/Classes/Domain/Repository/CategoryRepository.php#L193

MattiasNilsson commented 1 year ago

@stephangrass A new release is out with the fix: https://github.com/pixelant/pxa_dealers/releases/tag/v4.2.2