[Plugin: TDO Mini Forms] Redirect to blog after submit?
I’m using a simple form for registered used to submit without moderation.
The default sequence is:
fill out the form -> submit -> “Your submission “test8″ has been automatically published. You can see it here. Thank you for using this service.” -> view post
I would like to make two changes: (1)skip the acknowledgement and (2)go directly to the blog rather than the post (which would show my new post as the first post)
submit -> Blog.
I have a static home page and the blog is accessed from a tab.
So far I have tried this:
change line 168 of tdomf-form-post.php
// $redirect_url = $_POST[‘redirect’];
$redirect_url = ‘/?page_id=35’;
This works fine as regards my objectives 1&2, but the next time I access the form I somehow see the “Your submission xxx has been automatically published….” instead of the form.
Is there a better solution? / what have I done wrong?
Many thanks for a fantastic plugin.
- The topic ‘[Plugin: TDO Mini Forms] Redirect to blog after submit?’ is closed to new replies.