{text_column}
{/text_column}
All add-ons currently require PHP 7.4 or greater.
On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.
Please read about the changes to BoldMinded add-on licensing.
Ticket: Bloqs code is rendered to the browser for one block of template code, but not others
Status | Resolved |
Add-on / Version | Bloqs 4.7.1 |
Severity | |
EE Version | 5.4 |
Paul Larson
Jul 27, 2021Brian,
Hesitate to call this a bug, as it could be our template code. But, this page definitely used to work. I can’t tell if it’s a problem with our template code or something in the entry itself.
This Bloqs snippet works on the homepage, but not within an entry.
line 28 of site/.interior
{if '{scroll_header_bloqs:total_blocks}’ > ‘0’}
{scroll_header_bloqs}
{scroll_header_full_width_image}
{full_width_image}
{/full_width_image}
{close:scroll_header_full_width_image}
{/close:scroll_header_full_width_image}
{/scroll_header_full_width_image}
{scroll_header_slide}
{if blocks:count:of:type == '1'}
{/if}
{close:scroll_header_slide}
{if blocks:count:of:type == blocks:total_blocks:of:type}
{/if}
{/close:scroll_header_slide}
{/scroll_header_slide}
{scroll_header_two_columns_column_1}
{if text_column}
{/if}
{image}
{/image}
{close:scroll_header_two_columns_column_1}
{/close:scroll_header_two_columns_column_1}
{/scroll_header_two_columns_column_1}
{scroll_header_two_columns_column_2}
{text}
{/text}
{if image}
{image}
{/image}
{/if}
{close:scroll_header_two_columns_column_2}
{/close:scroll_header_two_columns_column_2}
{/scroll_header_two_columns_column_2}
{scroll_header_scrollable_content}
{slide_header}
{text}
{/text}
{close:scroll_header_scrollable_content}
{/close:scroll_header_scrollable_content}
{/scroll_header_scrollable_content}
{scrolling_header_homepage_content}
{content}
{/content}
{close:scrolling_header_homepage_content}
{/close:scrolling_header_homepage_content}
{/scrolling_header_homepage_content}
{/scroll_header_bloqs}
{/if}
Paul Larson
Comment has been marked private.
Paul Larson
This seems to be the offending code
When it is commented the other code works.
Paul Larson
Leaving the code broken for you to see. But on live, we found that removing this conditional (wrapped around a big Bloqs section)…fixes it.
{if ‘{scroll_header_bloqs:total_blocks}’ > ‘0’}
[stuff]
{/if}