Extend Admin Customer Standard Administration Interface

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
barbala4o
Posts: 2
Joined: 16 Jan 2020, 06:54

Extend Admin Customer Standard Administration Interface

Post by barbala4o » 16 Jan 2020, 10:34

Laravel 6.*, Aimeos ~2019.10, php 7.3-7.4 & windows 10

Hello,
I have created a new Standard Interface
...\ext\ai-myextension\admin\jqadm\src\Admin\JQAdm\Customer\Standard.php
but when i search in that table the
....\ext\ai-admin-jqadm\admin\jqadm\src\Admin\JQAdm\Customer\Standard.php
always gets triggered. How do I override this. This is in \ext\ai-myextension\config\admin.php

Code: Select all

return [
	'jqadm' => [
        'customer' => [
            'standard' => [],
        ]
	],
	'jsonadm' => [
	],
];
I can't find instructions anywhere.

Thank you.

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

Re: Extend Admin Customer Standard Administration Interface

Post by aimeos » 17 Jan 2020, 09:34

It's the same as for managers:
- Rename your file to "Myproject" or anything else different from "Standard"
- Add that class name to the ./ext/my-extension/config/admin.php file:

Code: Select all

return [
    'jqadm' => [
        'customer' => [
            'name' => 'Myproject'
        ]
    ]
];
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

barbala4o
Posts: 2
Joined: 16 Jan 2020, 06:54

Re: Extend Admin Customer Standard Administration Interface

Post by barbala4o » 20 Jan 2020, 16:36

I forgot to include my config folder in the maifest.php file. Now it works. Thank you.

Post Reply