Highlights for release v1.54 are:

  • reattribute comments to different user
  • fix spacing issues with blocks

Release v1.54 (21/05/2019)

Design and UX Improvements 🎩

  • PLANET-3533Blocks vertical spacing consistency
    • Follow up ticket to make sure all vertical spacing and headings on current blocks is consistent.
  • PLANET-3320Add a new dataLayer field (Goal) on Form Block backend
    • A new dropdown field was built on the Form Backend, with the following goals:
      • Admins to be able to select the form goal on the backend (e.g Petition Signup, Action Alert, Contact Form, Other).
      • Data analysts to be able to have a cleaner setup on Google Tag Manager
  • PLANET-3536 – Apply new spacing rules to all blocks
    • Apply the new spacing rules to all blocks.
    • Some blocks got broken and Load more buttons appeared stuck to the blocks, but this will be fixed with this ticket.

Bug Fixes 🐛

  • PLANET-3293 – Unable to reattribute comments
    • There might be situations when editors would need to be able to reattribute a comment he or she submits to someone else so it looks like the comment come from Greenpeace. So far, this was possible only if the comment was submitted from a guest, meaning that NROs will be forced to allow anonymous commenting on their site in order to reattribute comments. This has been fixed now and comments can now be easily reattributed to another person.
  • PLANET-3507Search: limit results to full-text matches
    • When visitor sorts search results by “Most Recent”, the displayed results do not appear from most recent to oldest. The first few hits come up in order, but then when you load more stories, they load completely out of chronological order. The results were also not really accurate. In the end, the result of this ticket is that P4 now has more accurate search results!
      • In the screenshot below, you can see the results on the Search page were not in chronological order.
    • Below you can see that the results before the fix were many more and not all corresponding to the search terms.
    • And next you can see the accurate results.

Geek alert

(this section is dedicated to developers or web editors with advanced tech knowledge)

  • PLANET-3541Plugin Blocks: Allow overide of templates by child theme
    • NROs want to be able to overide the default twig templates of the plugin-blocks with twig templates they will add to their child themes.
      Task: Create the needed functionality in the Plugin Blocks, that will be doing the following:a) Before loading a twig template for a block (any .twid file in the /includes/blocks/ directory) check to see if a file with the same name exists in the directory wp-content/themes/ACTIVE_CHILD_THEME/plugins/planet4-plugin-blocks/includes/blocks/ )
      b) If a file exists, use that one instead.
Block: Form (Engaging Networks)

Insert Call to Action in your P4 pages and send data to your Engaging Networks account

Learn more