Hello People,
I have created a custom extension in which I have registered a separate PageType. I want to create another Module and create a child view for that Page Type. What will I be getting in the entrypoint file of that second module? Will I use getComponent? What would be my parameter? If anyone can help, Thank you.
s
Steve Goldberg
09/25/2023, 9:36 AM
Conceptually that doesn't make sense. A page type can only have one view, which will be its layout. Within that layout you can either:
• Add multiple child views
• Register different templates for that view
Steve Goldberg
09/25/2023, 9:36 AM
If there's some logic that you need to apply, then you will need to decide in one of the modules whether, for example, you want to add that child view to the layout page or not.
a
Anas Jakwani
09/25/2023, 11:55 AM
I want to add child view to my layout. Can you guide me to the documentation please?