[SOLVED] How to overwrite aimeos/ai-cms-grapesjs html templates on my extension
					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!
- 
				unknow76616
 - Posts: 48
 - Joined: 30 Apr 2023, 12:46
 
[SOLVED] How to overwrite aimeos/ai-cms-grapesjs html templates on my extension
How to overwrite vendor/aimeos/ai-cms-grapesjs/templates/client/html/cms/page/cataloglist/list.php on my extension?
PHP: 8.2
env: Linux
			
			
			
													PHP: 8.2
env: Linux
					Last edited by unknow76616 on 07 Dec 2023, 10:47, edited 1 time in total.
									
			
									
						Re: How to overwrite aimeos/ai-cms-grapesjs html templates on my extension
Professional support and custom implementation are available at  Aimeos.com
If you like Aimeos,
 give us a star
						If you like Aimeos,
- 
				unknow76616
 - Posts: 48
 - Joined: 30 Apr 2023, 12:46
 
Re: How to overwrite aimeos/ai-cms-grapesjs html templates on my extension
BUT I am not able to overwrite Cataloglist/Standard.php:
Also, I tried : 
			
			
			
									
									
						Code: Select all
packages/{my_ext}/src/Client/Html/Cataloglist/Standard.phpCode: Select all
packages/{my_ext}/src/Client/Html/Cms/Page/Cataloglist/Standard.phpRe: How to overwrite aimeos/ai-cms-grapesjs html templates on my extension
You can't overwrite classes like templates. Instead, you have to give them another name (e.g. "Myproject") and configure using your new class using:alababdiy wrote: ↑22 Oct 2023, 08:33 BUT I am not able to overwrite Cataloglist/Standard.php:Code: Select all
packages/{my_ext}/src/Client/Html/Cms/Page/Cataloglist/Standard.php
Code: Select all
client/html/cms/page/cataloglist/name = 'Myproject'https://aimeos.org/docs/latest/laravel/ ... figuration
Professional support and custom implementation are available at  Aimeos.com
If you like Aimeos,
 give us a star
						If you like Aimeos,