Jump to:

1384 Posts in 493 Topics by 522 members

Themes

SilverStripe Forums » Themes » Signup 'thank you' on homepage

Discuss SilverStripe Themes.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1051 Views
  • BlueO
    Avatar
    Community Member
    52 Posts

    Signup 'thank you' on homepage Link to this post

    Hello,

    I'm hoping there might be a simple answer to this question: I'd like to have my newsletter signup form redirect users to the homepage and a small 'thank you' div pop up as I'd rather not redirect people to a dedicated 'thank you' page. I've got the redirect fine but i'm struggling to figure out how to make a part of the template dependent on this redirection.

    any ideas?

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Signup 'thank you' on homepage Link to this post

    I usually make the redirect to say home/thanks/ then you can make a HomePage_thanks.ss template in your project with the thanks information or you could use session values to store newsletter signup status.

  • BlueO
    Avatar
    Community Member
    52 Posts

    Re: Signup 'thank you' on homepage Link to this post

    Great, didn't realise the templates worked like that. thanks!

    1051 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.