[SOLVED] Cannot overwrite some template/view
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!
[SOLVED] Cannot overwrite some template/view
I am trying to overwrite the template with my own custom template in my extension theme (). However, the original template is still being rendered, even after I have successfully installed my extension and cleared the cache with php artisan aimeos:clear.
I have already tried the following:
Customizing index.blade.php in the packages/<my-ext>/views/jqadm/ directory.
Making sure that the contents of my custom template are correct.
Clearing the cache with
However, the original template is still being rendered.
Can anyone please help me to resolve this issue?
Additional information:
I have tried Overwriting other templates in my extension theme and it has worked fine.
PHP: 8.2
env: Linux
Code: Select all
vendor/aimeos/aimeos-laravel/views/jqadm/index.blade.php
Code: Select all
packages/<my-ext>/views/jqadm/index.blade.php
I have already tried the following:
Customizing index.blade.php in the packages/<my-ext>/views/jqadm/ directory.
Making sure that the contents of my custom template are correct.
Clearing the cache with
Code: Select all
php artisan aimeos:clear.
Can anyone please help me to resolve this issue?
Additional information:
I have tried Overwriting other templates in my extension theme and it has worked fine.
PHP: 8.2
env: Linux
Last edited by alababdiy on 26 Sep 2023, 17:40, edited 1 time in total.
Re: Cannot overwrite some template/view
Backend templates can not be overwritten by Aimeos theme packages. Instead, you have to use the standard Laravel directory for that (./resources/views/vendor/shop/jqadm).
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
Re: Cannot overwrite some template/view
[SOLVED] Thanks for your reply. It works! I wrote a positive review for your team on Trustpilot !
Re: Cannot overwrite some template/view
Thanks a lot!
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