Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#3674 by chadd25
24 Nov 2016, 22:06
I was wondering if its possible create my own data domain. As a result I would be able to create my custom associate item for that domain and have access to in the expert mode of my admin.

#3677 by aimeos
25 Nov 2016, 09:45
Sure! The first step is to create the new data domain itself.

After you've created your own Aimeos extension (, you should set up the tables you need. Each table needs some default columns:
- id
- siteid
- ctime
- mtime
- editor

The tables can be automatically created during the setup phase if you create a setup task:

The easiest way is to let Doctrine DBAL do the work. Then, it will also work with other database servers. Take the setup task in the ai-laravel extension as reference:

If you implemented that part and the tables are created when running aimeos:setup, we can continue to with the necessary item and manager.
#3687 by chadd25
28 Nov 2016, 21:23
The other question I have, is how you I add my own custom tab in the panel of expert data domain. This tab will linked to information that I have within the database.
Expert Mode.JPG
Expert Mode.JPG (95.09 KiB) Viewed 763 times
#3688 by aimeos
28 Nov 2016, 22:25
You need to create the item/manager/controller first before you can add a tab for the new data domain.
#3689 by chadd25
29 Nov 2016, 00:00
Is this the right directory for the controller ; ext\ai-admin-extadm\controller\extjs\src\Controller ?
#3690 by aimeos
29 Nov 2016, 09:32
Yes, there are the ExtJS controllers of the core. The same structure exists in your own extension for the project and there you can store your own controllers.
#3693 by aimeos
29 Nov 2016, 18:49
You need the code for the list and item UI as well as the item picker. Have a look at the tags implementation:

Afterwards, you also need the item pickers for the domains you want your items to associate to, e.g. for the product domain: