Extensions for aimeos/aimeos-laravel/views

Help for integrating the Laravel 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!
iwpress
Posts: 16
Joined: 04 Feb 2024, 17:22

Extensions for aimeos/aimeos-laravel/views

Post by iwpress » 08 Feb 2024, 20:54

Hello,

aimeos/ai-laravel v.2023.10.4, Laravel v.10.43.0, PHP v.8.1.27, MacOS 14.2
I'm sorry for the complete beginner's question.
I'm reading the documentation, everything is well described about the ai-client-html extension, but I can't figure out where to put the files in my extension (packages/shop) from the aimeos-laravel/views folder to change something in them.

Is it possible that aimeos-laravel as demo data is not expanded at all?

I don't want to use the Extension!

Excuse me, but if I rephrase the question to:
How to change the location of the aimeos-laravel/views folder in the settings config/shop.php (without using the Extension), for example: resources/views/front/shop

I tried the following:
config/shop.php

Code: Select all

return [

	...

	
	'view' => [
		'client' => [
			'html' => [
				'standard' => [
					'name' => 'html',
					'package' => 'resources/views/front/shop'
				],
			],
		],
	],

];
But it doesn't work :(

BR

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

Re: Extensions for aimeos/aimeos-laravel/views

Post by aimeos » 10 Feb 2024, 10:51

Laravel expects Blade views overwriting those from packages in ./resources/views/vendor/shop/ and subdirectories:
https://aimeos.org/docs/latest/laravel/ ... -templates
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

iwpress
Posts: 16
Joined: 04 Feb 2024, 17:22

Re: Extensions for aimeos/aimeos-laravel/views

Post by iwpress » 10 Feb 2024, 12:23

Thank you, it works.

I'm sorry, for some reason I thought that somewhere in the settings you override the location of your template directory, for example, for Extensions?

I wanted to do something similar.

Best Regards.

Post Reply