Set up the P4 Settings

How to control 404 page, Date & Time, Copyright, Cookies, Donate, Anti-spam, Redirects and much more

Read more

Highlights: Greenpeace New Zealand (GPNZ) has changed its name to Greenpeace Aotearoa (GPAo), unused colours were deleted from the codebase, the lightbox solution for images got shipped, fb graph API to serve the FB & IG oembed functionality in social media block were done..


🎩Features

  • PLANET-5928Name and URL change for GPNZ > GPAo
    • The Greenpeace NZ board and SMT has made the decision to change our name from Greenpeace New Zealand (GPNZ) to Greenpeace Aotearoa (GPAo).
  • PLANET-5324Implement lightbox solution for images
    • When clicked, all P4 images will be displayed by filling the screen and dimming out the rest of the web page.
    • Apply the design attached for lightbox solution to all images
  • PLANET-5842 Delete unused colours from the codebase
    • There is a list of colours which we made sure are not used by some live elements and delete them from the codebase.
  • PLANET-5840Implement fb graph API to serve the FB & IG oembed functionality in social media block
    •  Since Facebook (+ Instagram) changed their embed requirements, a default token for  the social media block to use has been added. This default token can be overridden (if you want to, not compulsory!) in Settings > Planet 4 > Social
    • Add FB app access token setting in P4 backendThe App access token is generated using App ID and App secrete (for more details check here)
  • PLANET-5509Disable xmlrpc
    • xmlrpc is enabled in all of our instances (is enabled by default in WP). We probably don’t rely on that anywhere in our code and it’s safe to disable it. Having this enabled is a target for brute-force attacks.
  • PLANET-5870Purge specific pages from Cloudflare cache on demand
    • Currently pages are only purged from Cloudflare when content is changed or deleted. In some cases we need to purge after a code change.
    • If we want to run lighthouse against test instances, we need to purge these specific pages.
    • It’s also possible we want to do a purge of all posts in a site, perhaps by post type. This could be useful if we’re experiencing issues with stale content after a deploy.
  • PLANET-5752jQuery: remove jQuery from enhancedDonateButton.js
  • PLANET-5850Investigate alternative to loading CSS variables ponyfill on all browsers

🐛Bug Fixes

  • PLANET-5939In campaign pages the text is set too high and is hidden by the top bar
    • When creating campaign pages and it seems that the first line is hidden under the top GP bar.
  • PLANET-5865Submenu block removes other blocks
    • When adding the submenu block anywhere on the page – the articles block disappears as well as the submenu block.
  • PLANET-5950Remove the yellow color from the 3 columns gallery block
    • Remove the yellow color between the images (diagonal stripes), from the 3 columns gallery block by either:
      • ideally, replacing it by a transparent background color
      • or, replacing it by a white color, so it fits the white background color
  • PLANET-5945Image credits are missing in gallery block
    • Image credits are usually added at the end of the image caption on the frontend.
    • They are not visible in the current Gallery version.
  • PLANET-5812Colors not working for Spreadsheet block
    • In the backend it is possible to select a color for the Spreadsheet block table (grey, green, blue) in the sidebar, but it currently doesn’t change anything and the table remains grey.
  • PLANET-5849 Columns block buttons too wide in campaign pages
    • The buttons are too wide on all screen sizes and go outside of their respective columns.
  • PLANET-5817Weird mega comment bubble in Ideas content type (Handbook)
    • A mega comment bubble seems to have appeared as the first thing you see in the ideas content type (only available in the handbook)

🔧Infrastructure