Jump to content

IF statement for a specific language


eeroma
 Share

Recommended Posts

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. 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...