Relation with another table from admin
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!
- ЕвгенийРезонов
- Posts: 1
- Joined: 21 Feb 2025, 11:39
Relation with another table from admin
Good afternoon everyone. I didn't quite figure out how to create my own manager and settings page for the administrative part. How exactly do I organize a selection from another table? For example, users
Re: Relation with another table from admin
How to create managers is described here:
https://aimeos.org/docs/latest/models/create-managers/
You can find here how to implement panels in the admin backend:
https://aimeos.org/docs/latest/admin/jq ... nt-panels/
Joining from tables of other domains isn't supported, only from the same data domain (e.g. mshop_product and mshop_product_property but not to mshop_review). If you need to get data from other data domains, you have to fetch that data in the searchRefs() method of your new domain manager. You can see how this is done here:
https://github.com/aimeos/aimeos-core/b ... #L367-L381
https://aimeos.org/docs/latest/models/create-managers/
You can find here how to implement panels in the admin backend:
https://aimeos.org/docs/latest/admin/jq ... nt-panels/
Joining from tables of other domains isn't supported, only from the same data domain (e.g. mshop_product and mshop_product_property but not to mshop_review). If you need to get data from other data domains, you have to fetch that data in the searchRefs() method of your new domain manager. You can see how this is done here:
https://github.com/aimeos/aimeos-core/b ... #L367-L381
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
