Created
July 25, 2014 14:31
-
-
Save harmstyler/40d1ba5df71d9a67f5d7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ezpublish: | |
system: | |
front_siteaccess: | |
locaction_view: # This Works | |
embed: | |
folder: | |
controller: "AcmeWebBundle:Content:listAllFolderChildren" | |
template: AcmeWebBundle:embed:folder.html.twig | |
match: | |
Identifier\ContentType: [folder] | |
content_view: # providing a controller does not work here | |
embed: | |
folder: | |
controller: "AcmeWebBundle:Content:listAllFolderChildren" | |
template: AcmeWebBundle:embed:folder.html.twig | |
match: | |
Identifier\ContentType: [folder] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not possible yet.
I don't know what version of eZ Publish are you using but it isn't possible in 5.2 haven't tested on 5.3.
The way I tricked this is calling the controller from inside the template and using other twig template to render it
and from the controller is where we call the other template, I know it is not optimal but works
Good look with it