pierremaitre
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Success message on a redirection pageHi Konrad,
Got it, thank you for this explanation.
Regards,
PierreOkay, Thanks a lot for all of this!
No, not only saving the form, but removing the second useless action.
No action at all from me lately on the form. When I revert to version 0.9.0.4 of ACFE, it works fine and when I apply 0.9.0.5, fatal error.
The second action has been there for a long time without any issue, although it was useless.
Thanks again. Best regards.
- This reply was modified 5 months ago by pierremaitre.
Another question: is it possible to go to another page after submitting the form?
Bonjour Konrad,
I removed the second post action. It doesn’t do anything indeed, I don’t know why I put it there. It works fine now, many thanks!
Hi Konrad,
Thank you for your fast reply. Here is the form in Json.
[
{
"name": "edition_reception",
"title": "édition de réception",
"active": true,
"field_groups": [
"group_5f66fbcb7ff51"
],
"settings": {
"location": 0,
"honeypot": 1,
"kses": 1,
"uploader": "default"
},
"attributes": {
"form": {
"element": "form",
"class": "acf-form",
"id": ""
},
"fields": {
"element": "div",
"wrapper_class": "",
"class": "",
"label": "top",
"instruction": "label"
},
"submit": {
"value": "Enregistrer",
"button": "<input type=\"submit\" class=\"acf-button button button-primary button-large\" value=\"%s\" \/>",
"spinner": "<span class=\"acf-spinner\"><\/span>"
}
},
"validation": {
"hide_error": 0,
"hide_revalidation": 0,
"hide_unload": 0,
"errors_position": "above",
"errors_class": ""
},
"success": {
"hide_form": 0,
"scroll": false,
"message": "Réception mise à jour",
"wrapper": "<div id=\"message\" class=\"updated\">%s<\/div>"
},
"actions": [
{
"action": "post",
"name": "ajout-reception",
"type": "update_post",
"save": {
"target": "{request:receptions_id}",
"post_type": "",
"post_status": "",
"post_title": "",
"post_name": "",
"post_content": "",
"post_excerpt": false,
"post_author": "",
"post_parent": "",
"post_date": "",
"post_thumbnail": "",
"post_terms": "",
"append_terms": "",
"acf_fields": [
"field_5f66fc0cc4f71",
"field_5f66fc20c4f72",
"field_5f66fc5603a37",
"field_5f66fc9b8db09",
"field_5f674852a79d7"
]
},
"load": {
"source": "{request:receptions_id}",
"post_type": "",
"post_status": "",
"post_title": "",
"post_name": "",
"post_content": "",
"post_excerpt": false,
"post_author": "",
"post_parent": "",
"post_date": "",
"post_thumbnail": "",
"post_terms": "",
"acf_fields": [
"field_5f66fc0cc4f71",
"field_5f66fc20c4f72",
"field_5f66fc5603a37",
"field_5f66fc9b8db09",
"field_5f674852a79d7"
]
}
},
{
"action": "post",
"name": "",
"type": "update_post",
"save": {
"target": "{post}",
"post_type": "",
"post_status": "",
"post_title": "",
"post_name": "",
"post_content": "",
"post_excerpt": false,
"post_author": "",
"post_parent": "",
"post_date": "",
"post_thumbnail": "",
"post_terms": "",
"append_terms": "",
"acf_fields": ""
},
"load": {
"source": "{post}",
"post_type": "",
"post_status": "",
"post_title": "",
"post_name": "",
"post_content": "",
"post_excerpt": false,
"post_author": "",
"post_parent": "",
"post_date": "",
"post_thumbnail": "",
"post_terms": "",
"acf_fields": ""
}
}
],
"render": ""
}
]Forum: Plugins
In reply to: [Kaya QR Code Generator] php in shortcodeI answer to myself, this code works:
<?php echo do_shortcode('[kaya_qrcode content="' . get_permalink() . '"]'); ?>
Forum: Plugins
In reply to: [Guest Author] Issue with WpdiscuzIn fact, the issue is with BuddyPress, not WPDiscuz.
I figured out why the mails were not triggered when I publish a new post.
For some reason, there was no default post category automatically assigned to the posts. I created a new category and I was able to define it as default.
It works fine now!
Cheers
Bonjour,
Il y avait une erreur de syntaxe dans ma feuille de style, désolé pour le dérangement !Bonjour,
Merci de votre réponse. C’est bien ce que j’ai fait, mais ?a ne fonctionne pas du tout.
CordialementForum: Plugins
In reply to: [Mondial Relay & Chronopost plugin for WooCommerce - WCMultiShipping] CSSBonjour,
Oui, en effet !Forum: Plugins
In reply to: [Mondial Relay & Chronopost plugin for WooCommerce - WCMultiShipping] CSSAinsi que le bouton permettant d’ouvrir le modal.
Forum: Plugins
In reply to: [Mondial Relay & Chronopost plugin for WooCommerce - WCMultiShipping] CSSBonjour,
Merci de votre réponse. Je voudrais personnaliser le modal de choix des points relais : couleur de fond, polices, sélecteur de pays, bouton, etc.
Cordialement.