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.

Release v1.49 (03/4/2019)

Design and UX Improvements 🎩

  • 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.
  • PLANET-2745 Timeline Block
    • 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-3335Add 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-3329Store 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-3343Explore 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-3346Gallery 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-3376NewCovers: 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-3332Use 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-3372Blocks 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.
Block: Timeline

Add timelines with the P4 design to display activities and milestones

Learn more