yberges
Forum Replies Created
-
hi thanks for reply
as i test i can add pagination but i didn’t find how to display calculation field outside (on top or bottom) in order to display it allwaysno way ?
thanks for quick support that it !
have a good day
Samer error here !
hello this code works !
add_filter( 'forminator_custom_form_mail_admin_message', 'wpmudev_replace_link_bulletin', 10, 4 );
function wpmudev_replace_link_bulletin( $content, $custom_form, $data, $entry ) {
// Récupérer l'ID du formulaire
$form_id = is_object( $custom_form ) && isset( $custom_form->id ) ? $custom_form->id : 0;
// Filtre sur le formulaire spécifique
if( $form_id != 22560 ) {
return $content;
}
// Récupérer l'ID de la page/article
$post_id = 0;
if( isset( $_REQUEST['page_id'] ) ) {
$post_id = intval( $_REQUEST['page_id'] );
} elseif( isset( $_POST['page_id'] ) ) {
$post_id = intval( $_POST['page_id'] );
} elseif( isset( $_SERVER['HTTP_REFERER'] ) ) {
$post_id = url_to_postid( $_SERVER['HTTP_REFERER'] );
}
if( $post_id > 0 ) {
$bulletin = get_field( 'bulletin', $post_id );
if( is_array( $bulletin ) && isset( $bulletin['url'] ) ) {
$content = str_replace( '{bulletin}', esc_url( $bulletin['url'] ), $content );
} elseif( is_string( $bulletin ) && $bulletin != '' ) {
$content = str_replace( '{bulletin}', esc_url( $bulletin ), $content );
}
}
return $content;
}thanks
hello i am sure that previous code works …. but i try
add_filter( 'forminator_custom_form_mail_admin_message', 'wpmudev_replace_link_bulletin', 10, 3 );
function wpmudev_replace_link_bulletin( $content, $data, $original_content ){
if( $data['form_id'] != 22560 ){
return $content;
}
if( isset( $_REQUEST['page_id'] ) ){
//$post_link = get_post_meta($_REQUEST['page_id'], 'bulletin', true);
$post_link = get_field( 'bulletin', get_the_ID() );
if( $post_link != '' ){
$content = str_replace('{bulletin}', $post_link, $content);
}
}
return $content;
}but problem still here, how to work on this or way to debg it ? or a link to documentation
- This reply was modified 8 months ago by yberges.
thanks, if you have an other solution i am okay
hello
i try to do this
create an hidden field with custom value params and put {guide}
add_filter( 'forminator_replace_form_data', 'wpmudev_replace_link_post', 10, 3 );
function wpmudev_replace_link_post( $content, $data, $original_content ){
if( $data['form_id'] != 21653 ){
return $content;
}
if( isset( $_REQUEST['page_id'] ) ){
$post_link = get_post_meta($_REQUEST['page_id'], 'guide', true);
if( $post_link != '' ){
$content = str_replace('{guide}', $post_link, $content);
}
}
return $content;
}and after put {guide} in email body
but that doesn’t work can you help me more ?
Forum: Plugins
In reply to: [Image Carousel Module for Divi] Divi 5 compatibilitycool i am testing it, if you have a beta i can help you
in backend and in category view time is ok
the bug is only on post viewi have free version but link are inside contact view where i can find shortcode ?
ok but if i use social link and not cpf do we have a shortcode ?
- This reply was modified 1 year, 7 months ago by yberges.
hello sorry i didn’t receive notification
can i send you an access ?hello
the past : https://pastebin.com/598NUdzT
the submission list : https://www.screenpresso.com/=EAZoe
the wp smtp log : https://www.screenpresso.com/=AI5qf
as you can see i have many submission but no forminator event (7 days before)thanks for support
Hello as i say testing email, sending reset, and account creation working like a charm with wp smtp email
forminator use it but last 7 days nothing was sended by forminator via wp smtp …Forum: Plugins
In reply to: [AGCA - Custom Dashboard & Login Page] logo on login screen seems brokengreat !!!