A new block is available starting with release v1.49: the Timeline Block, allowing web editors to load timelines on pages using P4 design. Other highlights of the current release are: UX improvements for the EN block and bug fixes.
PLANET-3324– Move campaign fields (dataLayer) to the P4 page backend
The campaign fields (campaign, basket, scope, department) and the dataLayer.push have been removed from the EN Form Block script and can now be found on the P4 page, in a section called Campaign information (dataLayer) displayed at the bottom of the page. This solution has been implemented in order to track page performance (pageviews etc.).
This means that each time a web editor adds the EN form block, it also has to fill in the details in the Campaign Information (dataLayer) section.
This is a new block, allowing editors to add timelines using the P4 design. The timeline block is build on the TimelineJS model. The web editor should first create a Google spreadsheet with all the information and then add the URL of the respective document to the Timeline block. More details on how to edit the block here.
PLANET-3335 – Add asterisk to required form fields
Asterisks have been added to the fields that are marked as required. These are visible in the front end and useful for the users landing on the pages displaying EN forms. Also, a “* Required” text at the bottom of the fields has been added at the bottom of the block.
PLANET-3329 – Store last visited NRO on ‘greenpeace’ cookie
When the user accepts the cookie notice, the site stores information that their last visited NRO is that specific one.
PLANET-3343– Explore client side validation options on form field entries
From now on, users will be alerted when they fill in invalid values to the fields before clicking on the Submit field button – especially on the required contact fields.
Bug Fixes 🐛
PLANET-3346 – Gallery Block, Three columns style: Uses full images instead of thumbnails
While the old Three Columns block used a smaller version of the image, the new Gallery block (while on the three Column style) uses a full version. This results in much bigger images than required (in a case: 1MB instead of the old 100kb). With this release, in the Three Column style of the new block, P4 now uses smaller version of the image.
PLANET-3376 – NewCovers: Publications don’t show correct link
In publications, all links in the html are empty, in essence linking to the page where the covers are. This has been fixed now and the correct URLs are displayed.
Geek alert
(this section is dedicated to developers or web editors with advanced tech knowledge)
PLANET-3332 – Use the countries json file to render countries dropdown menu
A Countries json file lives under master-theme. That file is now used to render the country dropdown, instead of having everything hardcoded inside the template.
PLANET-3372 – Blocks report: Add reporting on different styles of Carousel Header
The current plugins usage report does not differentiate between different styles of the Carousel Header. This info is needed for determining which NROs will be affected by changes. With the current release, two more data points, indicating how many times each style of the Carousel Header block is used.
Editors now can insert basic rich text in Blocks' descriptions and Hubspot signups are now tracked. Some accessibility improvements, bug fixes and system upgrades complete the release.
Please select which cookies you are willing to store.
Performance cookies Always enabled
These cookies will allow us to collect statistical and anonymised data, such as how long users stay on a page or which links are clicked, to ultimately improve Greenpeace.org and provide you with a better experience of our website. The acceptance of these cookies will also allow you to hide the cookies acceptance banner.
In addition to the Statistical cookies mentioned above, we may also place in your browser cookies from third-party services (e.g. Facebook or Google) to track the effectiveness of our online marketing strategies and to deliver adverts more relevant to you and your interests. These cookies may also be used to serve advertising to you after you have left our site (retargeting cookies).