gestad2019
Forum Replies Created
-
Forum: Plugins
In reply to: [Admin Columns] Confusing display in a dropdownthanks Stefan for considering my issue. I’ll mark it a completed as I just have to update the DB with SQL. I’ve started and AC is rendering in the right way.
Forum: Plugins
In reply to: [Admin Columns] Confusing display in a dropdownOn ACF settings, the custom field is a checkbox with no fancy parameters. There’s just a list of options. I tried the ACF column as I was using the Custom Field one (BTW thanks for the hint) and it’s outputting different results. I’ve checked in the DB for the user meta field and actually what I previously had was actually the reality of the values… It’s a mess between slugs, readable labels and json :-/.
You’re probably right to point that we might have switched single and multiple select.I’ve just tried to edit an account in the user page and checking in DB proved that ACF is also using json (not surprising) so in the DB it changed from
Air Austral
toa:1:{i:0;s:11:"Air Austral";}
.
As far I understand, changing the field type induced a mess in the DB and I should change everything from readable label or slug to json value.
What do you think ?Forum: Plugins
In reply to: [Import and export users and customers] cronjob with REST apiMake is a bit like Zapier. Anyway, I’ll get in touch with them directly. thanks.
Forum: Plugins
In reply to: [Import and export users and customers] cronjob with REST apiHi Javier, thanks for you answer. I guess my issue comes from the authentication. Have you been able the run the import cron from Make (I’ll check on their documentation, but may be you are aware of it)?
Forum: Plugins
In reply to: [Signature Field For Contact Form 7 - CF7Sign] Change the ‘Clear’ textI changed through the .pot file
Forum: Plugins
In reply to: [Groups] Compatibility with Elementor theme builderok thanks, we are trying in a different way
Forum: Plugins
In reply to: [Conditional Fields for Contact Form 7] Nested OR operatorYou’re right. Anyway, I wish you could add it a front-end setting. Would you need some funding for that?
Forum: Plugins
In reply to: [Conditional Fields for Contact Form 7] Nested OR operatorHi Jules, thanks for your answer. I was aware i could add custom JS with the pro version. I would be a better option (even a paid one) to deal with conditions on the front end as not everybody is about to use JS (and also access to functions.php file).
Forum: Plugins
In reply to: [Conditional Fields for Contact Form 7] Nested OR operatorhere is a copy of my form: https://conditional-fields-cf7.bdwm.be/form-tester/?hash=1359cada87fd46e42737d3945f40bdf2
for example, you’ll see that I had to repeat all last lines instead of just writing something like:show [prix9] if [compagnie] equals "La Compagnie || Lux Aviation || Norse || ..."
using the php syntax for OR
I’m looking forward reading your alternative but I’m used to conditional logic and couldn’t figure out how to make it easier.
(btw, it’s a cool tool to test a form)Forum: Plugins
In reply to: [Conditional Fields for Contact Form 7] Nested OR operatorok, so it’s not possible. This was just one part of my code and in my form I need to use many conditions and as pointed I want to avoid redundancy. I dealt by repeating each options and thanks to the text editor I could may that quickly. What would be a great enhancement would be the ability to create such a logic:
if condition 1 equals "a" or "b" and condition 2 equals "1" or "2" then field-x is shown
Could you add this to your plugin? I’m used to the extraordinary webform on Drupal and I dream of such power in Contact form7 ??Forum: Plugins
In reply to: [Contact Form 7] New syntax for $posted_dataadd_action( 'wpcf7_before_send_mail', function( $contact_form, &$abort, $submission ) { $posted_data = $submission->get_posted_data( 'enquiry-type' ); $posted_data = implode( ', ', (array) $posted_data ); if ( $posted_data == 'Option A' ) { $recipient_email = '[email protected]'; } elseif ( $posted_data == 'Option B' ) { $recipient_email = '[email protected]'; } elseif ( $posted_data == 'Option C' ) { $recipient_email = '[email protected]'; } else { // If no dropdown option is selected $recipient_email = '[email protected]'; } $mailProp = $contact_form->get_properties('mail'); $mailProp['mail']['recipient'] = $recipient_email; $contact_form->set_properties(array('mail' => $mailProp['mail'])); }, 10, 3 );
Thanks for your answer, this is what works for me to conditionally change the recipient according to the value of a drop-down field.
Using CF7 5.7.6 on WP 6.2- This reply was modified 1 year, 6 months ago by gestad2019.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Mix CPT and Taxonomiesok thanks Paul, we’ll try
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Mix CPT and TaxonomiesI think I’m getting closer to my goal. I’ve created a short code this way
[pods name="compagnie" nom_compagnie.slug="{@permalink}" template="single-page-8628"]
I’ve also tried with a condition
[pods name="compagnie" where "nom_compagnie.slug = {@permalink}" template="single-page-8628"]
I want to show posts according to a certain taxonomy – here ‘
compagnie
‘ – and according to a certain field – here ‘nom_compagnie.slug
‘ – but the slug’s term should be dynamical and get from the post slug or permalink (according to here)It doesn’t show any thing yet, could that work?
- This reply was modified 1 year, 9 months ago by gestad2019.
- This reply was modified 1 year, 9 months ago by gestad2019.
Forum: Plugins
In reply to: [Sync Post With Other Site] Sync Post can’t synchronize custom post typeThank for your answer @kp4coder. I try and let you know
Forum: Plugins
In reply to: [Sync Post With Other Site] Sync Post can’t synchronize custom post typeHi Kamlesh,
I tried with the document but it doesn’t work as we want.
How much it will cost us to develop this functionality ?