We have legacy urls that don’t fit the default template group/entry model that EE enforces, and/or urls that can be logically grouped to use common templates and logic. Example below.
/wedding-dresses/designer/[designer name]/
/bridal-shoes/designer/[designer name]/
Both urls will show the same designer template, but the only way I can think of to make this work is to create two template groups, like the following, where each designer.html will have to load the same embedded template.
+ wedding-dresses.group
|- designer.html (loads shared _designer.html)
+ bridal-shoes.group
|- designer.html (loads shared _designer.html)I’d just like a way to define a route like /[^/]+/designer/([^/]+)/ to execute a particular template. Is this possible? I don’t want to have to create very generic index global templates and use a large switch statement over path segments.