Embed (via iFrame) a "Subscribe" or engagement form in Planet 4 pages
Purpose of block: This block ends a page with an image that can include the default subscribe link. In the default P4, we use this block right before the footer on almost all pages to show a final inspirational photo and ask supporters to signup to a newsletter from Greenpeace.
Set up the Happy Point
Pages: Home, Act, Explore, Take Action, Issue, Campaign Tag
KEY INFO >> the Happy Point is never mandatory and should NOT affect the layout of any page.
KEY INFO >> the Happy Point can only be used once per page and we recommend always embedding it at the end of the page since it was designed with that scope, having different margins than the rest of the blocks.
Choose a background image
Editor is able to place an image and have it auto-centered.
select a background image from the media gallery or upload a new one using the Add media button
max width for image is 1920px. To ensure quality please supply images with a width of no less than 1920px. An ideal width would be 2500px to allow for any minimal cropping.
select focus point for background image
above the image previewed, there is a smaller icon where you can select the focus point: there is a circle displayed, so you can simply hover over the image and select where the focal point to be.
Overlay and iFrame settings
A couple of settings have moved on the right side. These are:
Overlay option/ Opacity
use a number from 1 to 100 to select how fade you would like the overlay to be on the image. If you leave this empty, the default of 30 will be used
Mailing list iframe option
tick the box Use mailing list iFrame for the signup to newsletter field to appear
there is also an Iframe URL field available – If a url is set in this field and the ‘mailing list iframe’ option is enabled, it will override the planet4 engaging network setting.
It is possible to add alternative Subscription forms in the Block, if for example you need forms in multiple languages.
By ticking “Use Mailing List iFrame” and adding the custom url your non-standard Happy Point form will be iFramed in that page.
Setup the form in Engaging Networks
Once you logged in into Engaging Networks account, here are the steps to create the Engaging Networks “Subscribe” form
Go to Pages ⇒ Create Page
Select List Management page ⇒ Sign Up Form ⇒ Next
Next will lead to Page settings.
Fill up the name, public title etc
Once done, in the same page click on Manage Templates. You will be redirected to the template listing page
click on “New Template”
Add the template name and Add the header, footer content. You can copy the demo header and footer content from this repo
Copy the URL of your live form and go to P4Settings ⇒ Planet4 ⇒
Paste the form URL in Engaging Network ID
Hit “Save” at the bottom
Set up the Happy Point form in other tools
If your office is not using Engaging Networks then there is also the possibility to configure a form hosted in another source. You can do this by adding the URL of your form in the Engaging Network ID field like is shown below.
Multilingual domains: Set up different form for each language
In order to set up a different form for each of the languages in your site you need to follow the same set up procedure for each language. If your site has more than one language, you’ll see at the top of the page a language option:
Make sure you fill in the Engaging Network Id for the corresponding language selected on top and save changes
Then switch the language and fill in the corresponding Engaging Network ID for the language selected
Insert the happy point in Planet 4 pages
Hit “Add Page Element” in the edit mode of the P4 page (the ideal place for the Happy Point is the bottom of the page, right before the footer) and select the Happy Point block
Select the Background image and identify its focal point
NOTE >> The ideal size for a Happy Point image is 1745px width X 500px height
In any case, never use an image of less than 1200 px width
Edit the image overlay, if you want to modify the opacity of the happy point, the higher the number, the more faded the image will look. If you leave this empty, the default of 30 will be used.