Forum

Thread tagged as: Question, Runway, MailChimp

Mailchimp Perch:Content

Hi,

I've installed the MailChimp app and seems to be working fine, I've added it into my page with:

<?php perch_mailchimp_form('subscribe.html'); ?>

My question is inside that form I've got Perch:Content, but using Runway where can I find that content listed so I can add text?

(Not sure I've explained that very well)

Chris Comben

Chris Comben 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

If you're using <perch:content /> tags, you need to use a perch_content function to display the template.

Thanks, but then how will it display the Mailchimp form? Or is the perch_mailchimp_form part not necessary if the perch:form is correctly formatted?

<perch:form id="subscribe" app="perch_mailchimp" double-optin="true" send-welcome="true">
Drew McLellan

Drew McLellan 2638 points
Perch Support

You can put the MailChimp form markup in your content template. It should work just the same.

The perch_mailchimp_form() function is really just a convenience for displaying a form without a content region. It doesn't do anything specific itself - just displays the form.