Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multidomain setup #8

Open
opaque01 opened this issue Jul 14, 2020 · 1 comment
Open

Multidomain setup #8

opaque01 opened this issue Jul 14, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@opaque01
Copy link

On a multidomain website with diverent storage folders all cookie groups are visible in available groups. Change line 164 to

'foreign_table_where' => 'AND tx_omcookiemanager_domain_model_cookiegroup.pid=###CURRENT_PID### AND tx_omcookiemanager_domain_model_cookiegroup.sys_language_uid = ###REC_FIELD_sys_language_uid###',

and only the cookie groups of the current pagetree are visible.

@Xippo
Copy link
Owner

Xippo commented Jul 17, 2020

Thx for your input. With this change you will be able to select only the groups which are stored on the same pid. For all my setups this will be fine, but im not 100% sure if there is some kind of edge case where this will be a issues. For example if we have a global folder outside of the different domain trees, where we store all kind of groups, and inside of each domain we setup a panel with the needed groups only. This will not work anymore. But from user view this change makes sense. I will add this change to the next version and see if there are complaints against. Maybe a change to a group field would be a good way to go.

//EDIT Evaluating options to improve this. Im looking for a better solution to limit the option to the storage folder and his childs. Alternatively the selection can be done over a specific entry browser (TCA Group field)

@Xippo Xippo added the enhancement New feature or request label Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants