-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NFR]: Volt extends from virable or from absolute path #175
Comments
we really need this
At that moment you will need to edit every partial file and change the path ... Thanks greetings. |
@yassinrais Give your vote in this issue - phalcon/cphalcon#14608 |
Hello Also, There is no post for this issue to vote on issue phalcon/cphalcon#14608 |
@AliShareei It will be done in |
Hi @Jeckerson |
@AliShareei Hello, benefits are relative from view to view. But if generalize:
|
Hello guys, |
Sometimes there are need to extend layout dynamically. Now it is possible to do only with relative path, ex:
{% extends "layouts/base" %}
.Related topic from forum - https://forum.phalcon.io/discussion/19331/volt-extends-from-virable
I would like to have possibility to set variable, relative path with
../
and absolute path inside{% extends ? %}
Examples:
{% extends "../another-theme/layouts/base" %}
{% extends $dynamicLayout %}
{% extends "/var/absolute/path/to/layout" %}
The text was updated successfully, but these errors were encountered: