Custom Block Template Controller1 user found helpful
I'm customizing a Autonav template that needs a different controller, but I want the other templates to continue using the default controller.
If I put the modified controller in Blocks > Autonav > Templates > TemplateNameFolder
it gets ignored. It only works if I put it in Blocks > Autonav but then it will affect all templates which is not good...
What's the solution for this?
Should be simple but I'm not seeing it..
It's about the principle.. If I were to make more drastic changes to the controller that would really affect the other templates, how would I go about it? Is it possible to have different controllers for different templates? Or does the controller have to be unique?
If you want a custom controller and a custom template, it usually makes more sense to create a completely new block type by copying from the existing block type.
Thanks for the help!