Last active
February 26, 2019 20:08
-
-
Save ahmed-bhs/d9225a82d7b088d5164b4a49a6ccbf28 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
Au niveau de full type view: | |
taste: | |
template: "@ezdesign/full/taste.html.twig" | |
match: | |
Identifier\ContentType: [article] | |
# Tastes page | |
taste_list: | |
controller: "ez_query:contentQueryAction" | |
template: "@ezdesign/full/taste_list.html.twig" | |
match: | |
Identifier\ContentType: [folder] | |
params: | |
query: | |
query_type: "AppBundle:Children" | |
parameters: | |
parent_location_id: "@=location.id" | |
assign_results_to: children | |
Nom de view 'taste' pour la page full qui représente le contenue de l'objet. | |
- ConType identifier and name alwas singulier | |
Nom de view 'taste_list' pour la page full qui représente la liste des objets. | |
Et on respect le meme nommage pour les templates. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment