codefog / contao-cookiebar

Display the information about cookies on your Contao website
MIT License
26 stars 9 forks source link

Link to details page, doesn't work across other website roots. #17

Closed justinwasilenko closed 7 years ago

justinwasilenko commented 8 years ago

First, thanks for the plugin and the work you are putting in.

Second, I have a few websites with multiple languages. When setting the details page from one language to another in a different root the link won't work to the other website root. Example: German Site -> German Details Page English Site -> English Details Page Russian Site -> English Details Page --- This doesn't work. The link in the back end is set correctly. But on the front end the link points to a Russian details page.

Site is running the changelanguage extension and has folders enabled for the url i.e. website.com/de

qzminski commented 8 years ago

Do I understand correctly that you want the cookiebar link point to http://example.com/en/cookie-policy.html when someone enters http://example.com/ru/?

justinwasilenko commented 8 years ago

Yep you got it.

qzminski commented 8 years ago

Can you try the hotfix/1.1.2 branch?

https://github.com/codefog/contao-cookiebar/tree/hotfix/1.1.2