EzCoreExtraBundle icon indicating copy to clipboard operation
EzCoreExtraBundle copied to clipboard

enable using dynamic settings in override match condition

Open flovntp opened this issue 9 years ago • 1 comments

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

flovntp avatar Oct 20 '16 07:10 flovntp

Hi

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

lolautruche avatar Oct 20 '16 07:10 lolautruche