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

enable using dynamic settings in override match condition #11

Open
flovntp opened this issue Oct 20, 2016 · 1 comment
Open

enable using dynamic settings in override match condition #11

flovntp opened this issue Oct 20, 2016 · 1 comment

Comments

@flovntp
Copy link
Contributor

flovntp commented Oct 20, 2016

It should be really helpfull to enable dynamic settings in override condition, like :

ezpublish:
    system:
         site_group:
            location_view:
                 full:
                     my_override_condition:
                         template: "@ezdesign/full/myGenericTemplate.html.twig"
                         match:
                              Id\Location: $locationId;acme$

and then, you just have to defined your dynamics settings for all your siteaccess in parameters.yml

parameters:
      acme.fre.locationId: 123
      acme.en.locationId: 456
@lolautruche
Copy link
Owner

Hi

That's indeed an interesting feature request. I'll look into it 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants