Skip to Content Skip to Menu

Association concept does not work with a selected foreign profile

7 hours 5 minutes ago #343860 by erichburkhard
Hi
I have: Joomla 5.* and CB 2.11.* installed

My website covers 4 languages. In order to 'switch' / 'translate' a certain content into another language I use the association concept. This concept works fine in most cases but unfortunately not in all cases. Let me show some examples:

The language switch between articles e.g:
DE: https://my_website.com/de/hilfe/190-kann-ich-mein-profil-fuer-ein-bestimmte-zeit-deaktivieren
...and ...
EN: https://my_website.com/en/help/191-can-i-deactivate-my-profile-for-a-certain-time
... works


The language switch between menu items e.g
EN: https://my_website.com/en/cb-profile
...and ...
DE: https://my_website.com/de/cb-profile
... works, the above example shows the profile of the user who is logged in


The language switch between a selected (foreign) user profile does NOT  work
eg. I search & select the following user profile in DE:
DE: https://my_website.com/de/cb-profile/24930-cammy215
.... as soon as I switch to EN, the following URL appears:
EN: https://my_website.com/en/cb-profile

...this is not correct .... because of some reasons the user ID: 24930-cammy215 at the end of the original URL will be lost.... the correct URL should be https://my_website.com/en/cb-profile/24930-cammy215 .... (this URL is valid, because I can enter it manually into the address field of the browser an this works)

I have no clue why this does not work

regards



 

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 50396
  • Thanks: 8624
  • Karma: 1472
6 hours 34 minutes ago #343861 by krileon
The language switcher module only switches menu items. It discards other variables in the URL that are not a part of the menu item. You should be able to see this when you mouseover the flags if using flags mode as you'll see the URL is missing the user in it. I'm not really sure how to resolve that as we've no control over the language switcher behavior.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum