eeroma Posted January 6, 2019 Posted January 6, 2019 Hi guys. I'm a rather new PW user and have built a multilang website for a client. My client wants to have separate Mailchimp forms for all languages separately, so that the subscriptions end up in their own respective mailing lists. So I would just need to create a simple if statement that says that if language [en] is selected, then show this form. I tried something like this {if $languages->language->en} <p>Test</p> {/if} to test if the if statement works but no luck.
tpr Posted January 6, 2019 Posted January 6, 2019 It should be sg like this: $user->language->name === 'en' 2
eeroma Posted January 6, 2019 Author Posted January 6, 2019 Fantastic, works! Thx for the fast response tpr! 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now