Gilles Vauvarin
Forum Replies Created
-
Forum: Plugins
In reply to: [Map Multi Marker] CSV import, latitude, longitude not setIs it a bug? does someone can replicate this issue?
… or did I miss something?
Forum: Plugins
In reply to: [Carbon Fields] front-end formHello,
I’ve got the same need as Marc: build a front-end form with a repeater field and process the data in the background in a complex field type.
To build the repeater field in the front-end form, I use this github Jquery script: https://github.com/DubFriend/jquery.repeater
In a CPT, I’ve got a complex field type:
Container::make( 'post_meta', esc_html__( 'Schedule' , 'katt' ) ) ->show_on_post_type( 'presentation' ) ->add_fields( array( Field::make( 'complex', 'complex_presentation_speakers' , esc_html__( 'Speaker(s)' , 'katt' ) )->add_fields( array( Field::make( 'select' , 'katt_presentation_speakers' , esc_html__( 'Speaker' , 'katt' ) ) ->add_options( $katt_presentations_users_dropdown_menu ), )), ));
– How to structure the array() with the data get from the front Jquery repeater to set it in the complex field ?
– How to name the complex field when setting the array() with add_post_meta ?
add_post_meta(“post_ID” , “field_name-structure ?”, array() );Thanks for your help.
Forum: Plugins
In reply to: [WPS Hide Login] prevent redirect overwritingSame problem for me.
I use the add_filter( ‘login_redirect’ , ”) hook to redirect some roles to a specific page but “WPS Hide Login” overwrite this redirection.
Is there any solution to avoid this ?
This is the link to the website where the bug appear :
https://raft.globalhealthforum.net
Go to “Cours” and switch to English (the EM labels stay in French)
Same problem if I switch to TwentyTwelve theme :-/
See screenshot below:
https://imgur.com/oeJPqkqRemark: Whatever the theme, translation seems to work in Spanish and Portuges, at list for the research page (i don’t have event in Spanish and Portuges yet)
See screenshot below:
My default language is French and my entire English site use the French versions translated by WPML.
Forum: Plugins
In reply to: [Events Manager and WPML Compatibility] Event translation issues… in fact, Events Manager and WPML Compatibility 0.3 doesn’t translate anymore all the pages (Search Event, single event, location …) in English !
Forum: Plugins
In reply to: [OptionTree] [Plugin: OptionTree] Theme IntegrationMy version number reference in index.php is ok and not comment.
Maybe you might send me your index.php and functions.php to compare with mine.
gillesvauvarin[at]gmail[dot]com
Thank you for your help.
Forum: Plugins
In reply to: [OptionTree] [Plugin: OptionTree] Theme IntegrationSorry but i’ve got a problem, i’m not php developper, just a designer ??
So i did that :
I putted the option-tree folder in my theme folder: MyTheme > option-tree
I commented this two lines in the option-tree index.php
// define( 'OT_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . dirname( plugin_basename( __FILE__ ) ) ); // define( 'OT_PLUGIN_URL', WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) );
I added this in my functions.php theme
require_once (TEMPLATEPATH . '/option-tree/index.php'); define( 'OT_PLUGIN_DIR', get_template_directory_uri() . '/option-tree'); define( 'OT_PLUGIN_URL', get_template_directory_uri() . '/option-tree');
The first line seems ok, i think the problem comes from the second and third line of code.
Result :
I see the option-tree box in my left admin sidebare but the center of the page is empty (no forms in the center of the admin page) but just this message display : “No direct script access allowed”
Any idea of my mistake ?
Forum: Plugins
In reply to: [OptionTree] [Plugin: OptionTree] Theme Integration… did you write … sorry
Forum: Plugins
In reply to: [OptionTree] [Plugin: OptionTree] Theme IntegrationGreat job Derek, very usefull plugin !
GhostPool, did you right a post to explain how integrate Derek’s plugin into the theme ? I’m very interesting.
Thank you