[SOLVED] Cannot overwrite some template/view

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!
alababdiy
Posts: 40
Joined: 30 Apr 2023, 12:46

[SOLVED] Cannot overwrite some template/view

Post by alababdiy » 26 Sep 2023, 16:18

I am trying to overwrite the

Code: Select all

 vendor/aimeos/aimeos-laravel/views/jqadm/index.blade.php
template with my own custom template in my extension theme (

Code: Select all

packages/<my-ext>/views/jqadm/index.blade.php
). 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

Code: Select all

php artisan aimeos:clear.
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
Last edited by alababdiy on 26 Sep 2023, 17:40, edited 1 time in total.

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

Re: Cannot overwrite some template/view

Post by aimeos » 26 Sep 2023, 16:39

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, Image give us a star

alababdiy
Posts: 40
Joined: 30 Apr 2023, 12:46

Re: Cannot overwrite some template/view

Post by alababdiy » 26 Sep 2023, 17:39

[SOLVED] Thanks for your reply. It works! I wrote a positive review for your team on Trustpilot 🔥⭐️⭐️⭐️⭐️⭐️!

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

Re: Cannot overwrite some template/view

Post by aimeos » 27 Sep 2023, 06:48

alababdiy wrote: 26 Sep 2023, 17:39 [SOLVED] Thanks for your reply. It works! I wrote a positive review for your team on Trustpilot 🔥⭐️⭐️⭐️⭐️⭐️!
Thanks a lot! :-)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply