Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

[SOLVED] Language param in confirmation url

12 years 1 month ago - 12 years 1 month ago #216222 by philippekazek
[SOLVED] Language param in confirmation url was created by philippekazek
Hi,
Can you give me the way to include lang parameter in the url confirmation in the email sent to new user please ?

How to add &lang=xx in the url like /index.php?option=com_comprofiler&task=confirm&confirmcode=reg3cc9a9f9bcde2a3fbd606eb1797b7bca0d8

Thanks
BR
Philippe
Last edit: 12 years 1 month ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
12 years 1 month ago #216249 by krileon
Replied by krileon on topic Re: Language param in confirmation url
You can't, the URL is built internally and hardcoded. Normally when a user lands on your site Joomla will auto append it though so it shouldn't particularly matter.


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.

12 years 1 month ago #216696 by philippekazek
Replied by philippekazek on topic frontend language after login
Hi,

Another question with my site in multi language : how can I use the cb_login module to recover the frontend language (from field params of table users) and use in the url for the welcome page and all other page
Thanks
Philippe

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
12 years 1 month ago #216724 by krileon
Replied by krileon on topic Re: frontend language after login
Don't understand. You want to take what language they've selected and redirect with it appended to the URL? You shouldn't have to. Just redirect to the welcome page with no language appended and Joomla should append the correct language for their account (Joomlas language filter plugin should do this). Aside from that you'd need to use CB Auto Actions to do the redirect and use the below substitution to append language.

[cb:config param="lang" /]
or
[cb:config param="lang_name" /]
or
[cb:config param="lang_tag" /]


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.

12 years 1 month ago #216796 by philippekazek
Replied by philippekazek on topic Re: frontend language after login
Hi Kyle,
Thanks for your answer.
I've tried with autoactions but it dosen't work.
I've put following parameters :
- type : redirect
- trigger : onBeforeLogin and onAfterLogin (?)
- user : auto
- acces : everybody
- without condition
- redirect action url : [cb:config param="lang" /]

What is wrong please ?

Best regards
Philippe

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
12 years 1 month ago #216819 by krileon
Replied by krileon on topic Re: frontend language after login
The substitution doesn't output a URL. It outputs language, language name, or language tag. Add all 3 to a delimiter field then view it on your profile to have an idea of what it outputs.


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