User groups
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Re: User groups
No, the content of the files.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: User groups
Code: Select all
<?php
return [
'customer' => [
'manager' => [
'typo3' => [
'pid-default' => 171
],
'group' => [
'typo3' => [
'pid-default' => 171
]
]
]
]
];
Re: User groups
If this configuration is in the mshop.php file of the Config directory, this should be OK.
You should also set this in your controller.php config file:
You should also set this in your controller.php config file:
Code: Select all
'frontend' => [
'customer' => [
'groupids' => xxx
]
]
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: User groups
Now, my code in controller.php looks like that:
Unfortunately, it's not working. The admin user still sees all groups in aimeos. Or, is that wanted?
And this is not working, too:
Code: Select all
<?php
return [
'customer' => [
'manager' => [
'typo3' => [
'pid-default' => 171
],
'group' => [
'typo3' => [
'pid-default' => 171
]
]
]
],
'frontend' => [
'customer' => [
'groupids' => 48
]
]
];
And this is not working, too:
Code: Select all
return [
'customer' => [
'manager' => [
'typo3' => [
'pid-default' => 171
],
'group' => [
'typo3' => [
'pid-default' => 171
]
],
'frontend' => [
'customer' => [
'groupids' => 48
]
]
]
]
];
Re: User groups
There's no way to distinguish groups between sites in TYPO3 because the fe_groups table doesn't have any "siteid" column and doesn't know about multi-tenancy. The only way would be to assign different PIDs to the groups and implement some custom code to map those PIDs to different sites somehow.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star