Override AIMEOS laravel shop frontend templates
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!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 5
- Joined: 07 Mar 2018, 11:33
Override AIMEOS laravel shop frontend templates
Hi,
I am using aiemos dev-master on laravel 5.4
How i can add my custom css and theme in shop frontend. Is there any way to override the templates and put those template in resources folder of laravel ?
Please help me on this
I am using aiemos dev-master on laravel 5.4
How i can add my custom css and theme in shop frontend. Is there any way to override the templates and put those template in resources folder of laravel ?
Please help me on this
Re: Override AIMEOS laravel shop frontend templates
Overwrite that file in your ./resources/views/vendor/aimeos/shop/ folder and use or add your own CSS files:
https://github.com/aimeos/aimeos-larave ... .blade.php
https://github.com/aimeos/aimeos-larave ... .blade.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 5
- Joined: 07 Mar 2018, 11:33
Re: Override AIMEOS laravel shop frontend templates
Hi,
Thanks for your reply,
But I have purchased a template from theme forest. I want to implement that template for aimeos.
Is there any way, that I can copy aimeos templates in resources and apply my html on aimeos blades ?
Thanks for your reply,
But I have purchased a template from theme forest. I want to implement that template for aimeos.
Is there any way, that I can copy aimeos templates in resources and apply my html on aimeos blades ?
-
- Posts: 10
- Joined: 27 Jan 2018, 22:10
Re: Override AIMEOS laravel shop frontend templates
https://aimeos.org/docs/Laravel/Adapt_pages
Read the documentation under the heading "Don't Change the Package". Follow the instructions for adapting specific pages by making your own copies of the aimeos templates into your resources/views directory. You will have to create a vendor/shop/ directory within your views/ . You can then break up your purchased theme into partial files within your views/ and @include those partials.
Check out Laracasts tutorials. It will show you how to split up your template into partials and include those partials into your files.
You are to create a layouts/ directory within your resources/views/ directory.
Inside this layouts/ dir you make files for your nav and/or header, sidebar, footer, errors, etc.
You can also have a master blade file, or other variant files, which can contain variations of the other blade files. Structure your master.blade.php as follows:
And then you will @extend your master.blade in your other views/ directories. From our resources/views/, this can be done by making alligator-sales/index.blade.php as follows:
Read the documentation under the heading "Don't Change the Package". Follow the instructions for adapting specific pages by making your own copies of the aimeos templates into your resources/views directory. You will have to create a vendor/shop/ directory within your views/ . You can then break up your purchased theme into partial files within your views/ and @include those partials.
Check out Laracasts tutorials. It will show you how to split up your template into partials and include those partials into your files.
You are to create a layouts/ directory within your resources/views/ directory.
Inside this layouts/ dir you make files for your nav and/or header, sidebar, footer, errors, etc.
You can also have a master blade file, or other variant files, which can contain variations of the other blade files. Structure your master.blade.php as follows:
Code: Select all
<html>
<head>
<!-- all your meta details -->
</head>
<body>
@include ('layouts.nav')
<div class="main-content">
@yield ('content')
</div>
@include ('layouts.sidebar')
@include ('layouts.footer')
</body>
</html>
Code: Select all
@extends ('layouts.master')
@section ('content')
<div>All your content for this view.</div>
@include ('layouts.error')
@endsection
PHP 7.1.14, Aimeos 2017.10, Laravel 5.5.39 (php artisan --version)