View more context

 

manueltomasir

is there something I can add to my theme.yml to modify that?

dorsetdigital

No.. that's the way it works now. It's actually a better way to do it, as it takes away the possibility of conflicts between modules

Hels

Is it possible to use logic in a page controller to choose between 2 different Layout templates? something like if $currentMember is in group A then use layout template A else use layout template B

Hels

tfft!! probably the first time I got a correct approach on the first try!!! 😉

dorsetdigital

You could use renderWith() to specify the template which is used to render the page.

or

You could probably have a separate function for the different pages, and use the template magic to render the right template automagically