Skip to content

Conversation

@CySSoO
Copy link
Contributor

@CySSoO CySSoO commented Jan 30, 2026

Motivation

  • Allow editors to add content (top/bottom zones) that appears only on the first guides listing page and provide a flag for template-level customizations (e.g. header/footer text on page 1).

Description

  • Compute $showPageOneBlocks as isPrettyBlocksEnabled && $currentPage === 1 in controllers/front/pages.php.
  • Use $showPageOneBlocks to set everblock_prettyblocks_enabled and the top/bottom zone names passed to Smarty.
  • Expose everblock_is_first_page boolean to the template for future use.
  • Changes are limited to controllers/front/pages.php template variable assignments.

Testing

  • No automated tests were executed for this change.

Codex Task

@CySSoO CySSoO merged commit d8505dc into master Jan 30, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants