Control panel blade page, doesn't loaded from the extension package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- ahmed31916
- Advanced
- Posts: 148
- Joined: 14 Apr 2022, 12:15
Control panel blade page, doesn't loaded from the extension package
Hello Aimeos,
I encountered a strange thing. All the blade pages loaded from the path "packages\theme1\views", except the control panel blade page. I don't know why?
This is what I did:
- In "packages\theme1\manifest.php":
- In "config\view.php":
I encountered a strange thing. All the blade pages loaded from the path "packages\theme1\views", except the control panel blade page. I don't know why?
This is what I did:
- In "packages\theme1\manifest.php":
Code: Select all
'template' => [
'theme2' => [
'client/jsonapi/templates' => [
'templates/client/jsonapi',
],
'client/html/templates' => [
'templates/client/html',
],
'controller/jobs/templates' => [
'templates/controller/jobs',
],
],
'admin/jqadm/templates' => [
'templates/admin/jqadm',
],
'admin/jsonadm/templates' => [
'templates/admin/jsonadm',
],
],
Code: Select all
'paths' => [
realpath(base_path('packages/theme1/views')),
],
Re: Control panel blade page, doesn't loaded from the extension package
The templates for the admin backend can't be replaced by multiple themes at the moment. You can only have one Blade template for the admin backend, which you can overwrite at ./resources/views/vendor/shop/jqadm/index.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
- ahmed31916
- Advanced
- Posts: 148
- Joined: 14 Apr 2022, 12:15
Re: Control panel blade page, doesn't loaded from the extension package
Thanks for replying. The problem was from changing the path of the view of laravel (from it's config file).
But actually, I had to do this Because the Aimeos is loading the Blade files from the path "resources/views", not from "packages/theme2/views".
I tried many times to customize the html files from the package view and the jqadm from the "resources/views" but I couldn't.
But actually, I had to do this Because the Aimeos is loading the Blade files from the path "resources/views", not from "packages/theme2/views".
I tried many times to customize the html files from the package view and the jqadm from the "resources/views" but I couldn't.
- ahmed31916
- Advanced
- Posts: 148
- Joined: 14 Apr 2022, 12:15
Re: Control panel blade page, doesn't loaded from the extension package
@aimeos, help me please.