Skip to Content Skip to Menu

[SOLVED] Cb conditionnal : how to make an OR rather than an AND (on two tabs conditional)

  • chanteur94
  • chanteur94
  • OFFLINE
  • Posts: 302
  • Thanks: 13
  • Karma: 1
6 years 10 months ago #299683 by chanteur94
Yes ..it was the only fields... I have an other website with Conditionnal 4.x and with the same type of Conditionnal Self.
If i migrate, I'm afraid to have to re-rewrite all conditionnals.


"For conditions to migrate you would've had to save CB > Plugin Management > CB Conditional parameters at least once." ????

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 10 months ago #299690 by krileon
With CB Conditional 4.x still installed navigate to CB > Plugin Management and edit CB Conditional. Next click Save & Close. What this does is save the old plugin parameters. Now install CB Conditional 5.x. It will see that those old plugin parameters exist and begin the migration process. If you have already installed CB Conditional 5.x then you're still ok; simple install CB Conditional 4.x again and perform the above steps.

The reason it is done this way is because querying for a checking potentially hundreds of tabs/fields on every install of CB Conditional would be too heavy.


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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 10 months ago #299692 by krileon
Ok, I've pushed a new release that doesn't depend on plugins being saved. I've improved the query so it's a fast check to see if there are any tabs/fields that need to be migrated. Since it cleans up the old parameters after a successful migration there won't be any performance problems with install and this helps eliminate some confusion as to why things aren't migrating.


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.
The following user(s) said Thank You: chanteur94

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

  • chanteur94
  • chanteur94
  • OFFLINE
  • Posts: 302
  • Thanks: 13
  • Karma: 1
6 years 10 months ago #299758 by chanteur94
Migration works fine with my other website and your new build.

Thank you.
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum