J’ai un bug depuis la dernière mise à jour : Lorsqu’un visiteur choisit une des options d’un choix de type “radio”, tous les choix apparaissent sur le PDF généré, au lieu de ne faire appara?tre QUE la valeur du bouton radio sur laquelle le visiteur a cliqué
J’explique le process en détail, si ce n’est pas assez clair :
Avec mon formulaire CF7, je crée un choix radio de type [radio XXXX default:1 “1” “2” “3” “4”] où le visiteur peut choisir de cocher “1”, “2”, “3” ou “4”
Suite à la soumission, dans le modèle d’email envoyé à l’admin suite à la soumission du formulaire, j’indique au préalable :
XXXX : [competence-securite-firewall-cisco-asa]
–> Et ?a affiche donc bien (encore aujourd’hui) ce que le visiteur a choisi, soit “1”, “2”, “3” ou “4”
Dans le PDF généré grace à votre module (dont je vous remercie, qui est excellent et qui a jusqu’ici fonctionné depuis des années), j’indique, dans le template :
XXXX : [competence-securite-firewall-cisco-asa]
–> D’habitude, ?a affiche ce que le visiteur a choisi, soit “1”, “2”, “3” ou “4” ; mais depuis la mise à jour, ?a affiche TOUTES les valeurs, soit ?a affiche “1 2 3 4” (au lieu de juste “3” par exemple)
J’espère que c’est clair, merci d’avance pour votre réponse
Thomas
]]>Main query:
SELECT SQL_CALC_FOUND_ROWS ses_posts.ID
FROM ses_posts
LEFT JOIN ses_term_relationships
ON (ses_posts.ID = ses_term_relationships.object_id)
LEFT JOIN ses_term_relationships AS tt1
ON (ses_posts.ID = tt1.object_id)
LEFT JOIN ses_term_relationships AS tt2
ON (ses_posts.ID = tt2.object_id)
WHERE 1=1
AND ( ses_term_relationships.term_taxonomy_id IN (90)
AND tt1.term_taxonomy_id IN (369,371)
AND tt2.term_taxonomy_id IN (90) )
AND ((ses_posts.post_type = 'product'
AND (ses_posts.post_status = 'publish'
OR ses_posts.post_status = 'acf-disabled'
OR ses_posts.post_status = 'private')))
GROUP BY ses_posts.ID
ORDER BY ses_posts.menu_order ASC, ses_posts.post_title ASC
LIMIT 0, 20 /* Current SQL Query is filtered by Filter Everything plugin */
And Elementor Pro query:
SELECT SQL_CALC_FOUND_ROWS ses_posts.ID
FROM ses_posts
LEFT JOIN ses_term_relationships
ON (ses_posts.ID = ses_term_relationships.object_id)
LEFT JOIN ses_term_relationships AS tt1
ON (ses_posts.ID = tt1.object_id)
LEFT JOIN ses_term_relationships AS tt2
ON (ses_posts.ID = tt2.object_id)
LEFT JOIN ses_term_relationships AS tt3
ON (ses_posts.ID = tt3.object_id)
WHERE 1=1
AND ( ses_term_relationships.term_taxonomy_id IN (90)
AND tt1.term_taxonomy_id IN (369,371)
AND tt2.term_taxonomy_id IN (369)
AND tt3.term_taxonomy_id IN (90) )
AND ((ses_posts.post_type = 'product'
AND (ses_posts.post_status = 'publish'
OR ses_posts.post_status = 'acf-disabled'
OR ses_posts.post_status = 'private')))
GROUP BY ses_posts.ID
ORDER BY ses_posts.menu_order ASC, ses_posts.post_title ASC
LIMIT 0, 20 /* Current SQL Query is filtered by Filter Everything plugin */
Line AND tt2.term_taxonomy_id IN (369) causes problems.
Can You tell me how to fix this problem?
]]>I have discovered an easy way to have repeatable field/multiple values for a field using WordPress custom fields option (activated as described in wordpress-custom-fields-101-tips-tricks-and-hacks.
But I have 2 “problems”:
Hope there are solutions for these 2 issues.
]]>default:get
on a menu.
When adding default:get
my dropdown menu disappears from the contact form.
This is what I’m using in the form:
<label>Subject
[select* your-subject-menu "Workshops and courses" "Photo safaris" "Stock videos" "Prints" "Store item" "Licences" "Services" "Consulting" "Time-lapse production" "Time-lapse post-production" "Other" default:get]</label>
I also tried adding default:post_meta
with no luck.
I am using Events Manager and am trying to make the events_list shortcode output both events occurring on the current day and events occurring in the future. What should I set the scope attribute to equal so that today’s events and future events are returned by the shortcode?
I don’t know how to retrieve the current date from WordPress in the regular text editor, so I can’t use the method using two comma-seperated dates for the scope attribute. I have tried using the following shortcodes, and none of them have outputted what I want:
[events_list]
[events_list scope="future"]
[events_list scope="today,future"]
[events_list scope="today&future"]
I would really like some help finding a solution for my problem, please. I can provide further information as necessary. Thank you!
This is the link to the Event Manager documentation for shortcodes: https://wp-events-plugin.com/documentation/shortcodes/
This is the link to the Event Manager documentation for search attributes: https://wp-events-plugin.com/documentation/event-search-attributes/
I am using WordPress version 5.2.2. and the most recent version of Events Manager. I am developing locally on my Mac using MAMP and Local by Flywheel.
]]>For example: I have the fields “input_1,input_2,input_3,input_4 and input_5” which are dropdown select fields that, lets say, should be mapped to the 3rd-party field “location”.
The work around that I’ve worked on is creating a “fields to 3rd-party Mapping” for each one and each one of those fields point to the “location” field.
This works but not in the way I intended.
If user picks a value for “input_3” the rest of the fields are automatically disabled and the data sent is blank but within the 3rd-party platform the received value shows up as “,,Value,,”.
Is there anyway to work this out? Thanks a lot.
]]>Great plugin. Any possibility that the Radio buttons can be Checkboxes, where more than 1 option can be selected? Example: Monday, Tuesday & Friday?
]]>thanks for any help.
]]>