Adapting Aimeos theme

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
sbaca
Posts: 3
Joined: 27 Feb 2024, 20:42

Adapting Aimeos theme

Post by sbaca » 03 Mar 2024, 14:58

Hello everyone,

After having installed the Aimeos standalone application with Laravel, I would like to adapt the style of some parts of the theme (e.g., navbar, background color, etc.).

I have created the public/mytheme folder at the root of the project with the following files within it: aimeos.css and aimeos.js, then I have copied the vendor/aimeos/aimeos-laravel/views folder to the resources folder, at the root of the project.

I have also added the links to my custom CSS and JS files to the base.blade.php file that I have copied from the vendor/aimeos/aimeos-laravel/views folder, but none of my edits are working. However, when I edit the public/vendor/shop/themes/default/aimeos.css file, it works perfectly.

Can you help me? I am available to provide you with more information.

Thank you

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

Re: Adapting Aimeos theme

Post by aimeos » 04 Mar 2024, 08:11

Did you copy the base.blade.php template to ./resources/views/shop/base.blade.php?
See: https://aimeos.org/docs/latest/laravel/ ... -templates

Check if the generated page contains your links to your CSS/JS file.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

sbaca
Posts: 3
Joined: 27 Feb 2024, 20:42

Re: Adapting Aimeos theme

Post by sbaca » 04 Mar 2024, 17:13

Hello,

Thank you for your help!

I copied the base.blade.php file from vendor/aimeos/aimeos-laravel/views to resources/views/vendor/aimeos/shop/views

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

Re: Adapting Aimeos theme

Post by aimeos » 04 Mar 2024, 17:24

Your destination path is wrong, use the path mentioned above.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

sbaca
Posts: 3
Joined: 27 Feb 2024, 20:42

Re: Adapting Aimeos theme

Post by sbaca » 04 Mar 2024, 18:13

aimeos wrote: 04 Mar 2024, 17:24 Your destination path is wrong, use the path mentioned above.
Thank you! It works perfectly!

Post Reply