Footer link change

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!
PM OFC
Posts: 6
Joined: 11 Dec 2022, 08:21

Footer link change

Post by PM OFC » 11 Dec 2022, 09:55

Hello Dear,

How can i change footer link or add new page link in footer.

Thank You

PHP 7.3
imeos:~2021.10
Attachments
Screenshot_3.png
Screenshot_3.png (15.8 KiB) Viewed 2825 times
Last edited by PM OFC on 11 Dec 2022, 10:44, edited 1 time in total.

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

Re: Footer link change

Post by aimeos » 11 Dec 2022, 10:41

Copy the ./vendor/aimeos/aimeos-laravel/src/views/base.blade.php file to ./resources/views/vendor/shop/base.blade.php and adapt that file.

You can also copy it to your own Aimeos theme extension for Laravel if you want to have different themes for each shop:
https://aimeos.org/docs/latest/laravel/ ... -templates
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

SharpNick
Posts: 1
Joined: 21 Mar 2023, 13:54

Re: Footer link change

Post by SharpNick » 21 Mar 2023, 14:16

Hi!

I'm using aimeos-laravel 2023-01 and following your instructions worked for changing the base.blade.php, but the problem is I do want to have different themes for each shop. After looking through the documentation, it's still not clear where to put the new base.blade.php...

My extension is under ./packages/(my-extension)/ and then they mention a ./views here that simply isn't there.

can you help me by telling me where I'm suppose to place my new base.blade.php if it will be different for every shop I make.

Thank you very much for your time, :)

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

Re: Footer link change

Post by aimeos » 23 Mar 2023, 08:15

Should the theme be different for each installation (= separate Laravel applications) or in a SaaS setup in one common Laravel application?

In the first case, you only need to copy the ./vendor/aimeos/aimeos-laravel/src/views/base.blade.php file to your ./resources/views/vendor/shop/ directory like described here:
https://aimeos.org/docs/latest/laravel/ ... -templates

In the second case, you need to create an Aimeos Theme package and adapt the base.blade.php file in that package. When you install the package and select the theme in the Aimeos backend for that SaaS site, it will be used for that site only. More about Laravel theme packages is available here:
https://aimeos.org/docs/latest/laravel/themes/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply