juniorjef
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] display “no” in email when checkbox is not checkedWordPress 6.5.5
CF7 Version 5.8.4
Forum: Plugins
In reply to: [Contact Form 7] display “no” in email when checkbox is not checkedI had to use $submitted[0]==” in place of empty($submitted). Is it correct?
Forum: Plugins
In reply to: [Contact Form 7] display “no” in email when checkbox is not checkedseems that the problem comes from :
empty($submitted)
Forum: Plugins
In reply to: [Contact Form 7] display “no” in email when checkbox is not checkedHere it is: https://www.sleepmobile.be/contact-contact-etude-a-domicile/
the field is “J’ai déjà réalisé une polysomnographie au cours des 12 derniers mois”
Forum: Plugins
In reply to: [Contact Form 7] display “no” in email when checkbox is not checkedActually, I’ve tried and it worked for text field but not for checkbox field.
Here is the code:
add_filter('wpcf7_mail_tag_replaced', 'cf7_custom_checkbox_value', 10, 4); function cf7_custom_checkbox_value($replaced, $submitted, $html,
$mail_tag) {
???? // Vérifiez si le champ est 'test-checkbox'
???? if ('your-doctor' == $mail_tag->field_name()) {
???????? // Si la case est décochée, définissez la valeur sur "non"
???????? if (empty($submitted)) {
???????????? return 'non';
???????? }
???? }
???? return $replaced;
}thank you very much!
Fonally, I’ve deleted permantently the video from YT.
thank you for your answer. BUT
I Cannot change the file now that cause my client has already deleted (clicked on the X next to the button Choose File) the old file and added a new one.
Maybe the code could help, indeed. But I will have to manually update all the previous order. Let’s see ?? Thank you
- This reply was modified 1 year, 7 months ago by juniorjef.
Thank you for your answser. That’s how my client should have done (I told her, but it was too late…).
BUT, that’s not how she has done…
So, my question is: now that she deleted the file (and uploaded a new one), how can I easily do to make the new file available to download to the people who ordered before that change?
I’ve read that I need to set up a new permission to the new file to all the old orders and send them an notification email, one by one. Is there a faster way to do that?
thank you so much!
Hello Bernhard and thank you for your help,
I think there was a misunderstanding.
My problem is that I don’t have a .json file with json data inside.
To get the json data i want to display, I need to query an API (the url of the public end point of the API is: https://api.tech.ec.europa.eu/search-api/prod/rest/search?apiKey=SEDIA&text=***) and I have to add parameter (and parameter has json structure: {“bool”:{“must”:[{“terms”:{“type”:[“1″,”2”]}},{“terms”:{“status”:[“31094502”]}},{“terms”:{“frameworkProgramme”:[“43108390”]}},{“terms”:{“programmeDivision”:[“43108406”]}}]}}) to my request .
Is it possible? Do I need the PRO version?
thank you very much!
Forum: Plugins
In reply to: [FG Joomla to WordPress] Importing to Posts and Pagesthank you very much!
okkkkk, I had an old version.
I ve updated it. Now I see the tab.
thank you very much!
Hello Javier,
i don’t see that tab. Where is it?
thank you so much!