Skip to content

CP-17269 volt extends variables - #17272

Merged
niden merged 5 commits into
5.0.xfrom
CP-17269-volt-extends-variables
Jul 6, 2026
Merged

niden merged 5 commits into
5.0.xfrom
CP-17269-volt-extends-variables

Conversation

@niden

@niden niden commented Jul 6, 2026

Copy link
Copy Markdown
Member

Hello!

In raising this pull request, I confirm the following:

  • I have read and understood the Contributing Guidelines
  • I have checked that another pull request for this purpose does not exist
  • I wrote some tests for this PR
  • I have updated the relevant CHANGELOG
  • I have created a PR for the documentation about this change

Added support for absolute and current-template-relative paths in the Volt {% extends %} and {% include %} tags (Phalcon\Mvc\View\Engine\Volt\Compiler): an absolute path (Unix /..., or a Windows drive/UNC path) is now used as-is, and a path beginning with ./ or ../ is resolved against the directory of the template currently being compiled instead of the views directory; every other path keeps the existing views-directory-relative resolution.

Thanks

@niden
niden requested a review from Jeckerson July 6, 2026 15:17
@niden niden self-assigned this Jul 6, 2026
@niden niden added new feature request Planned Feature or New Feature Request 5.0 The issues we want to solve in the 5.0 release labels Jul 6, 2026
niden added 2 commits July 6, 2026 10:50
Assisted-by: Claude Code
Assisted-by: Claude Code
@niden
niden merged commit d986724 into 5.0.x Jul 6, 2026
192 checks passed
@niden
niden deleted the CP-17269-volt-extends-variables branch July 6, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5.0 The issues we want to solve in the 5.0 release new feature request Planned Feature or New Feature Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant