Umami page.tpl.php breaks block placeholders

Created on 6 April 2024, 9 months ago
Updated 4 June 2024, 7 months ago

Problem/Motivation

Trying to use #create_placeholder on a block causes blocks not to render at all in the Umami theme.

I did some debugging, and the #lazy_builder callback for those blocks gets called and works OK, but it seems like the block placeholder markup doesn't get into page markup at all, meaning there's nothing to replace. This is because Umami calls striptags in its page template, which when you have a bigpipe placeholder without any non-tag content, strips the entire thing.

Found in 📌 Use placeholdering for more elements to optimize asset serving Needs work .

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

10.3

Component
Umami 

Last updated about 1 month ago

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024