Nov 3, 2012 at 7:31 PM
Edited Nov 3, 2012 at 7:43 PM
Thanks for the quick reply and suggestion.
Unfortunately both the blog and the "recent blog post widget" leverage Parts.Common.Body.Summary-BlogPost.cshtml just as they both leverage Parts.Common.Body.Summary.cshtml
That is, both offer it as an alternate and if I rename the cshtml to that it is still picked up by both.
Is there a way to have the cshtml choose itself based on the widget type? Something like: Parts.Common.Body.Summary-RecentBlogPostWidget.cshtml where it picks up this cshtml if it's a Body.Summary *and* finds itself in the RecentBlogPostWidget
For now, I enabled url alternates and used Parts.Common.Body.Summary-url-blog.cshtml but would be interested in seeing how others did this.