Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Medium
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2015.11.2
-
Component/s: None
-
Labels:
Description
A standard symfony installation contains an app/Resource folder, allowing to finally override any resources from Bundles. I don't know the reason why eZ has chosen not to implement this logic - there is no ezpublish/Resource folder and creating one does not suffice to re-instantiate the behaviour.
As an application developer I need this functionality badly. I see no other way to override bundle resources as this was possible with the legacy extension logic.
According to https://confluence.ez.no/pages/viewpage.action?pageId=2720567, ezpublish/Resource is supported.
A test with 2013.06 revealed that this is true. To override the pagelayout of the demo bundle, you would set up the directory structure as follows (note the bundle name):
ezpublish
Resources
eZDemoBundle
view
pagelayout.html.twig
It would certainly make sense to add this to the documentation.