Skip to content
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

The twig globals variables for a siteaccess not work #52

Open
jbcr opened this issue Jun 14, 2019 · 1 comment
Open

The twig globals variables for a siteaccess not work #52

jbcr opened this issue Jun 14, 2019 · 1 comment

Comments

@jbcr
Copy link

jbcr commented Jun 14, 2019

The twig global variable is not available on twig template:

lolautruche/ez-core-extra-bundle version 2.2.1
ezsystems/ezpublish-kernel version 6.13.6

Bundle configuration:

ez_core_extra:
    system:
        front_end:
            twig_globals:
                app_name: 'frontend'

Twig template:

App name: {{ app_name }}

Result:

The variable app_name is not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants