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

Not able to activate second website root #9

Closed
ghost opened this issue Aug 18, 2022 · 3 comments
Closed

Not able to activate second website root #9

ghost opened this issue Aug 18, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 18, 2022

Today I've installed the plugin, generated the API key and set up everything as the helpful setup video told me to. It worked like a charm for the first page root.
Our company uses a Contao installation with two website roots that mirror the whole website (german and english version) together with terminal42's changelanguage plugin. When I try to enter the API key in the second (english) website root and click on save, I get the following error message:

A client with the URL https://www.domain.tld/_er24/push already exists.

Am I doing something wrong here?
Thanks for your time and efforts in developing the plugin so far!

@fenepedia
Copy link
Owner

You only have to enter the API key once for the main language. If the page tree is not German, the English language will be used automatically.
Provided that the text was also created in English via the eRecht24 Project Manager.

@ghost
Copy link
Author

ghost commented Aug 18, 2022

Okay, now after setting a new API key in the english website root (which is the main language), it seems to work. Having to enter the API key in the website root element made me think it has to be done per root. Maybe it would useful to clarify this in the documentation.

Thanks for the fast response!

@ghost ghost closed this as completed Aug 18, 2022
@fritzmg
Copy link
Collaborator

fritzmg commented Aug 18, 2022

Hm, I guess we should remove

->applyToPalette('root', 'tl_page')

if it really works with only the fallback root.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants