Home › Forums › Calendar Products › Community Events › Redirect to URL after event submission – assistance needed.
- This topic has 4 replies, 2 voices, and was last updated 11 years ago by
Niall.
-
AuthorPosts
-
March 25, 2015 at 1:25 am #950694
Niall
ParticipantHi
I’m trying to follow the instructions here: https://theeventscalendar.com/knowledgebase/redirect-to-different-url-after-event-submission/ But I can’t get it to work.
I have sucessfully updated the functions.php of my site to include this code (ie. add it without breaking my entire site). But the form still does not redirect to the homepage after an event has been submitted.
Additionally, the code breaks altogether when I try to add a custom url for redirect (the custom ‘event submitted’ page I created).
I’m a total php newb. What am I missing?
Thanks for your help in advance! 🙂
March 26, 2015 at 5:21 am #951083Gustavo Bordoni
KeymasterHi Niall,
Thanks for reaching out to us here on the support forum, and sorry for the delay on my answer.
I was doing a good solid plugin to solve your issue, just open the URL below and follow the instructions:
https://github.com/bordoni/tec-forum-support/tree/plugin-950694
After that you just need to setup the “Redirect after Submit” field on the General Tab of our Settings page.
My Best Regards,
March 26, 2015 at 6:05 pm #951342Niall
ParticipantYou’re amazing. Thanks so much!!! I installed the plugin on our staging site and it worked a treat. Before I activate it on our live site – I just have one more question…
When I installed the plugin I got the following warning messages. As I said, the plugin works fine – but just wondering if I should be worried about any of these?
Warning: array_map() [function.array-map]: Argument #2 should be an array in /nas/wp/www/staging/light2015/wp-content/mu-plugins/wpengine-common/plugin.php on line 2047
Warning: array_chunk() expects parameter 1 to be array, null given in /nas/wp/www/staging/light2015/wp-content/mu-plugins/wpengine-common/plugin.php on line 2048
Warning: Invalid argument supplied for foreach() in /nas/wp/www/staging/light2015/wp-content/mu-plugins/wpengine-common/plugin.php on line 2049
March 27, 2015 at 3:56 am #951391Gustavo Bordoni
KeymasterHi Niall,
These bugs are not related to this plugin I gave you, that seems to be a bug related to the WP Engine Common, I would say to try to reach their support if that is bugging you too much, but they shouldn’t be a big issue.
My Best Regards,
March 29, 2015 at 8:58 pm #951774Niall
ParticipantThanks very much Gustavo!
-
AuthorPosts
- The topic ‘Redirect to URL after event submission – assistance needed.’ is closed to new replies.
