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!

Autoactions and multilanguage

  • dyvymtvar
  • dyvymtvar
  • OFFLINE
  • Posts: 34
  • Thanks: 0
  • Karma: 0
12 years 1 month ago - 12 years 1 month ago #216828 by dyvymtvar
Autoactions and multilanguage was created by dyvymtvar
I wrote this post before asking about autoactions and users aprovement.

Well now I have another question. I configured autoactions and it works right, when an especified field is marked in registration form it send an e-mail to the user with some instructions but I want to configure it for two languages.

In the autoactions email configuration I set a condition based on the cb field but I don't know how to set another condition based on language.

I create another registration field (language) to create the condition but it doesn't work. Maybe I don't choose the correct operator.


Last edit: 12 years 1 month ago by dyvymtvar.

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 #216847 by krileon
Replied by krileon on topic Re: Autoactions and multilanguage
Please name your screenshot to be more specific then attempt to attach again (e.g. cb_email_action_12-12-12_cond2.png). Conditionals are always "AND" situations. For example it checks that the first one matches and if it doesn't then it stops and if it does then it checks the second and if it doesn't then it stops and if it does it performs the action.


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.

  • dyvymtvar
  • dyvymtvar
  • OFFLINE
  • Posts: 34
  • Thanks: 0
  • Karma: 0
12 years 1 month ago #216853 by dyvymtvar
Replied by dyvymtvar on topic Re: Autoactions and multilanguage
That's right, it works, finally I found the correct operator and condition.

I configure a field in register called cb_idioma and define a condition in autoactions based on this field too.
Attachments:

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

  • dyvymtvar
  • dyvymtvar
  • OFFLINE
  • Posts: 34
  • Thanks: 0
  • Karma: 0
12 years 1 month ago #216856 by dyvymtvar
Replied by dyvymtvar on topic Re: Autoactions and multilanguage
I have another question about multilanguage I try to configure the register e-mails,
pending aproval e-mail and welcome e-mail.

To do this I modify de language.php and the default_language.php whith some strings and I write a language code in CB configuration register tab.



Well, when I make a register in english i receive the pending e-mail in english but when I click on the confirm link I receive the welcome e-mail in spanish.

I think it is a problem with the confirm link because it redirect me to the spanish version althouth I register in english.
Attachments:

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 #216860 by krileon
Replied by krileon on topic Re: Autoactions and multilanguage
I'm not sure how you're assigning language to a user, but the params field is the field users select their language from. It also only takes affect if they're logged in otherwise it'll use whatever the default language is for you site.


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