I have a custom design for splash that has a signup form. The form has an email address and address field. I have designed the splash page and signup works fine but it redirects to main page of splash. I want the form to redirect to home page.
Official response from NationBuilder Support
On the sign up settings for the join page, put the slug for your home page in the field "After signing up, what page should they land on next?"
Share this post
Showing 18 reactions
Sign in with
NationBuilder employee
Tony – that default login page is not editable but shouldn’t be used as your default/go-to signup page; I’d highly recommend making another signup page and directing users there.
Kamal – You should utilize the “subpage” tag for creating forms so that you can control the point people, tagging, followup, and redirect settings as you’re wanting to here. This technique is described here: http://nationbuilder.com/theme_documentation#display_content_from_one_page_on_another_page
That /login page is hosted by Nationbuilder, it does not show as a page in our system so we can not use the next page slug method.
That page’s content is in the theme so I can edit it. Is there a way to set the next page using liquid?
Thanks!
Tony
and no matter what I put into the “After signing up, what page should they land on next?” field on the signup page’s settings, the value of the hidden input field on the splash page for “return_to” is always “”http://www.danbenishek.com/splash">http://www.danbenishek.com/splash"
We can talk on skype. My skyp ID is kamal.kafle.
i updated the site so it works better for me. now I want to remove the signup from the front page and still let people login. so maybe a login button somewhere?
www.birthintobeing.com
if you have time, i’d love a call at 530.566.0199
thanks!
i updated the site so it works better for me. now I want to remove the signup from the front page and still let people login. so maybe a login button somewhere?
www.birthintobeing.com
if you have time, i’d love a call at 530.566.0199
thanks!
I am not sure what you are suggesting I do. I want the signup button (which doesn’t even say email, it just has a blank text box) that is on the home page by default, to go to to my default join page, which I have set up the way I like, with a nice auto response and landing page after they sign up.
if i take the code you gave me and added it to the layout.html template , will that fix my problem? (the problem is that people who signup on from that button don’t get the auto response or see the landing page).
thanks!
For the redirection, put the slug in the setting for join page. This will use the same settings on the join page.
For the actual snippet code, I ended up replacing the page’s copied code with the simplified code Kamal had. Worked like a charm.
{% form_for signup }
<div class=“form_errors”>{ error_messages_for signup }</div>
<h2>Sign up for updates</h2>
{ text_field “email”, class:“text”, value:“Email Address” }
{ text_field “address.zip”, class:“zip”, value:“Zip Code” }
{ submit_tag "", class:“submit” }
<div class=“form_submit”></div>
{ endform_for %}
to generate a sign up form, it creates a hidden field return_to. I want to change the value of this field.
Thank you.