Page 1 of 1

Theming

Posted: 27 Jan 2018, 10:55
by Travin
Hi all
According to this page https://aimeos.org/docs/Configuration/C ... te/baseurl I want to change my theme folder. I did so, but it does not help. After my investigation i found
vendor\aimeos\aimeos-laravel\src\views\base.blade.php:

Code: Select all

@extends('app')

@section('aimeos_styles')
    <link type="text/css" rel="stylesheet" href="{{ asset('packages/aimeos/shop/themes/elegance/common.css') }}" />
    <link type="text/css" rel="stylesheet" href="{{ asset('packages/aimeos/shop/themes/elegance/aimeos.css') }}" />
@stop
As i see, the folder is defined strict, and /client/html/common/template/baseurl means nothing at this case. Is it right? Can I help to fix it up?

Re: Theming

Posted: 28 Jan 2018, 17:52
by aimeos
The baseurl setting is required for theming the emails. In the Laravel context you have to overwrite the Blade template that you mention. You can do that in the standard Laravel way be copying a modified template to ./resources/views/vendor/aimeos/shop/base.blade.php

Maybe you wan't do document that as well? Maybe here: https://aimeos.org/docs/Laravel/Adapt_pages

Re: Theming

Posted: 28 Jan 2018, 18:26
by Travin
I think it's because of it's my first Laravel project. I have to learn Laravel and Aimeos at the same time. And my first Stripe integration too :lol: I am on my way to improve skills

Re: Theming

Posted: 30 Jan 2018, 16:13
by gladgladwrap
I'm in the same position as you.

I wanted to download a payments extension so credit card payments with stripe could be made but it required the 2018 version of Aimeos. I had some errors with the most recent version so I had to revert to 2017.10 which isn't supported by the payment extension.

Re: Theming

Posted: 30 Jan 2018, 17:20
by Travin
Do you mean ai-payments? You can install ai-payments 2017, which is supporting Aimeos 2017.10. You just need to specify it at your composer.json: http://joxi.ru/BA06RpvtBxgbzm
Please take a look at this explanation:
http://joxi.ru/Vm6adQ7CxNy8Gr
https://packagist.org/packages/aimeos/a ... #2017.10.2