aozcorap
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] ON_SENT_OK code deprecatedYes, the code is as following
<script>
document.addEventListener( ‘wpcf7mailsent’, function( event ) {
location = ‘https://www.example.com’;
}, false );
</script>and I added it right before the Facebook Pixel code, but still does not work ??
Forum: Plugins
In reply to: [Contact Form 7] ON_SENT_OK code deprecatedThis is very strange to be honest.
I added the code
<script>document.addEventListener( ‘wpcf7mailsent’, function( event ) {location = ‘https://www.personal-training-mittelhessen.de/confirm’;}, false );</script>in the theme admin panel where I can insert scripts in the head of the page. This area contains also the facebook pixel code.
But if I add the code just below the facebook pixel code, it does not work.
Forum: Plugins
In reply to: [Contact Form 7] ON_SENT_OK code deprecatedI added in the <head> following code:
<!– Contact Form Code redirect to URL after Submit –>
<script>
document.addEventListener( ‘wpcf7mailsent’, function( event ) {
location = ‘https://www.example.com’;
}, false );
</script>
<!– END: Contact Form Code redirect to URL after Submit –>Forum: Plugins
In reply to: [Contact Form 7] ON_SENT_OK code deprecatedit’s a commercial one.
Elegant Themes
Forum: Plugins
In reply to: [Contact Form 7] ON_SENT_OK code deprecatedwhere exactly did you put it in the admin theme panel?
Forum: Plugins
In reply to: [Contact Form 7] ON_SENT_OK code deprecatedHi,
I have following code in the addtional setting of Contact Form
on_sent_ok: “location = ‘https://www.exampel.com’;”
and would like to know, how does the code look like in function.php.
Please notice, that I am not a developer.
Thanks
Forum: Plugins
In reply to: [Contact Form 7] Integration with AutoresponderThank you.
My question is, how do I pass a field a hardcoded value, e.g
Website = “www.google.com”
What is the syntax notation for that
Forum: Plugins
In reply to: [Contact Form 7] Forwarding to a confirmation URL after send in new windowIs this maybe related to the recent update ?
Forum: Plugins
In reply to: [Contact Form 7] Forwarding to a confirmation URL after send in new windowThanks for your mail.
If the first command works I don’t know, it did not forwarded me. The second seems to work, but my popup blocker disabled it, means the second one is not useful.
We need to make sure, that a new browser tab is opened.
All of them does not really work. I tried four times and got 4 times following error message
<[email protected]>: Command died with status 255:
“/srv/www/klick-tipp.com/cli/requests-wrapper.sh”. Command output:
/srv/www/klick-tipp.com/cli/requests-wrapper.sh: I am running as 65534
(ptm) /srv/www/klick-tipp.com/cli/requests-wrapper.sh: line 9: cd:
/srv/www/klick-tipp.com/htdocs: Permission denied PHP Warning:
require_once(./includes/bootstrap.inc): failed to open stream: No such file
or directory in /srv/www/klick-tipp.com/htdocs/data/config.inc.php on line
7 PHP Fatal error: require_once(): Failed opening required
‘./includes/bootstrap.inc’
(include_path=’.:/usr/share/php:/usr/share/pear’) in
/srv/www/klick-tipp.com/htdocs/data/config.inc.php on line 7Forum: Plugins
In reply to: [Contact Form 7] Forwarding to a confirmation URL after send in new windowOk, thanks. But how does is the correct code ?
on_sent_ok: “location = ‘<url>’;target=_blank”
I tried this syntax and it does not work
Forum: Plugins
In reply to: [Contact Form 7] Forwarding to a confirmation URL after sendThanks. Works fine
Forum: Plugins
In reply to: [Contact Form 7] Senders name is set to "WordPress"The form looks like
<p>Vorname (Pflichtfeld)
[text* your-firstname] </p><p>Nachnname (Pflichtfeld)
[text* your-lastname] </p><p>E-Mail-Adresse (Pflichtfeld)
[email* your-email] </p><p>Nachricht
[textarea your-message] </p><p>[submit “Senden”]</p>
The From field just contains [your-firstname] [your-lastname], cause I thought it will replace the word “WordPress” with the senders mail, as mentioned in the form and as like the Divi theme is working.
The form is working fine, apart from “WordPress” in the From field.
Forum: Plugins
In reply to: [Contact Form 7] Senders name is set to "WordPress"I have done this.
I do have to [your-firstname] [your-lastname] defined in my from field and it still appears as “WordPress”