Search found 27 matches

by Sabir_Ali
27 May 2024, 10:06
Forum: Laravel package
Topic: How to translate Category name on adding new languages?
Replies: 2
Views: 281

Re: How to translate Category name on adding new languages?

Yes. I found where to add new language :D - in the Locales menu of Admin Panel.
But when I add third language in the Admin Panel for the Category - it still doesn't work.
by Sabir_Ali
27 May 2024, 09:46
Forum: Laravel package
Topic: How to translate Category name on adding new languages?
Replies: 2
Views: 281

Re: How to translate Category name on adding new languages?

I added new record into the mshop_locale table for one of the new languages and it works as expected. But what to do if a language (the third one in my case) that I want to add to the Name of Category is not listed in the Language field of Text option in the Admin Panel? Should I also add this langu...
by Sabir_Ali
27 May 2024, 09:01
Forum: Laravel package
Topic: How to translate Category name on adding new languages?
Replies: 2
Views: 281

How to translate Category name on adding new languages?

PHP: 8.2.7 Laravel Framework: 10.48.4 System: Debian GNU/Linux 12 Aimeos Laravel v2023.10 Hello! The task is adding new locales. I removed DE and added two new locales (languages) into the app. I modified the language selection menu in the packages/ourpackage/templates/client/html/locale/select/lang...
by Sabir_Ali
17 May 2024, 09:44
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 20
Views: 32662

Re: New added product preview image (in 720) is not shown in product details page.

Yes! It works! :D Actually I must add all elements and into 'controller' array to make the function to see all of them: 'controller' => [ 'frontend' => [ 'catalog' => [ 'levels-always' => 3, // number of category levels for mega menu ], ], 'common' => [ 'media' => [ 'product' => [ 'previews' => arra...
by Sabir_Ali
17 May 2024, 08:48
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 20
Views: 32662

Re: New added product preview image (in 720) is not shown in product details page.

I asked this question about configuration because I was trying to use this approach before, and had no result. I know, that this is normal practice to use config/shop.php file to add our own configurations. But it doesn't work for me. I spent almost two days in searching a way to merge this configur...
by Sabir_Ali
15 May 2024, 13:43
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 20
Views: 32662

Re: New added product preview image (in 720) is not shown in product details page.

But I forgot one thing. How to add the following configuration as external 'common' => [ 'media' => [ 'product' => [ 'previews' => [ [ 'maxwidth' => 720, 'maxheight' => 960, 'force-size' => 1, ], ], ] ], ], to avoid edit configuration in the aimeos-core/config/controller.php ?
by Sabir_Ali
15 May 2024, 06:57
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 20
Views: 32662

Re: New added product preview image (in 720) is not shown in product details page.

Yes. The solution accepted by us is changing default directory for media files in config/shop.php in 'fs-media'.
Thanks a lot!
by Sabir_Ali
14 May 2024, 08:22
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 20
Views: 32662

Re: New added product preview image (in 720) is not shown in product details page.

Did you enable/change the ASSET_URL in your .env file? https://github.com/aimeos/aimeos/blob/m ... example#L7 No. I did not edit it. Today I was trying to use it but I get only loosing all styles and media on the site. Is there any file system configuration (I mean config/filesystem.php or somewher...
by Sabir_Ali
13 May 2024, 13:15
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 20
Views: 32662

Re: New added product preview image (in 720) is not shown in product details page.

Everything is OK, except the fact, that browser looks for image without the '/aimeos/' prefix to URL. If I add it manually or hard code it into our template's image src it works as expected. When I debug the media Item, media.previews array contains all previews without this directory. If I phisical...