Adjusting the template zone location for the comment count and blog post metadata templates

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-06-01 11:39:56 -07:00
parent 2a7918f17c
commit dbbd1d2042
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ namespace Orchard.Blogs.Drivers {
protected override DriverResult Display(BlogPost post, string displayType) {
return Combined(
ContentItemTemplate("Items/Blogs.BlogPost").LongestMatch(displayType, "Summary", "SummaryAdmin"),
ContentPartTemplate(post, "Parts/Blogs.BlogPost.Metadata").LongestMatch(displayType, "Summary", "SummaryAdmin").Location("meta"));
ContentPartTemplate(post, "Parts/Blogs.BlogPost.Metadata").LongestMatch(displayType, "Summary", "SummaryAdmin").Location("meta", "1"));
}
protected override DriverResult Editor(BlogPost post) {

View File

@@ -26,7 +26,7 @@ namespace Orchard.Comments.Drivers {
}
else if (displayType.Contains("Summary")) {
var model = new CommentCountViewModel(part);
return ContentPartTemplate(model, "Parts/Comments.Count").Location("meta");
return ContentPartTemplate(model, "Parts/Comments.Count").Location("meta", "5");
}
else {
var model = new CommentCountViewModel(part);