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

find better way to handle environments without cookie support #503

Open
ghost opened this issue May 4, 2021 · 1 comment
Open

find better way to handle environments without cookie support #503

ghost opened this issue May 4, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented May 4, 2021

Some core parts and / or functions only work if cookies are supported in the browser.

We should find a solution for this

@ghost ghost added this to the Backlog milestone May 4, 2021
@digitalbricks
Copy link

Just as a reminder for the time this topic comes up again: In the files attached to this forum post I already did some digging in the code and found a solution (or better a potential cornerstone) for a language switch independent from cookies. Essentially this was done by moving the frontend class from the index.php to the initialize.php, making the language setting of the page ($wb->page['language']) available there. Also I had to do some other small adaptions but basically that worked fine, switched the language even with cookies disabled, doesn't needed any redirect and modules were able to react and load the correct language file.

BUT Unfortunately this solutions broke as soon as the site setting "Multilingual website" is enabled (PAGE_LANGUAGES == true) and I wasn't unable to figure out what's the reason. :-/

But possibly this could help you as a staring point for futher investigation.

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

No branches or pull requests

1 participant