Locale template (separate language and currency)

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
aloniwe
Posts: 10
Joined: 21 Nov 2019, 12:45

Locale template (separate language and currency)

Post by aloniwe » 21 Nov 2019, 13:00

Hi, i want to separate language and currency subparts from the locale template to paste them in different places of my page.
If there are opportunity to divide theme like filter component into tree/attribute? What should i do?

User avatar
aimeos
Administrator
Posts: 4137
Joined: 01 Jan 1970, 00:00

Re: Locale template (separate language and currency)

Post by aimeos » 23 Nov 2019, 08:21

The best way might be to implement that code in your Laravel application and generate output for both drop-down in the main Blade template:
https://github.com/aimeos/ai-client-htm ... #L356-L373

Here you can learn how to get the context:
https://aimeos.org/docs/Laravel/Extend_Aimeos
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

aloniwe
Posts: 10
Joined: 21 Nov 2019, 12:45

Re: Locale template (separate language and currency)

Post by aloniwe » 27 Nov 2019, 13:46

It works, thank you aimeos!

Post Reply