mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Removing an unused IShapeTableProvider
--HG-- branch : dev
This commit is contained in:
@@ -109,7 +109,6 @@
|
|||||||
<Compile Include="Services\IBlogService.cs" />
|
<Compile Include="Services\IBlogService.cs" />
|
||||||
<Compile Include="Services\XmlRpcHandler.cs" />
|
<Compile Include="Services\XmlRpcHandler.cs" />
|
||||||
<Compile Include="RemoteBlogPublishingShapes.cs" />
|
<Compile Include="RemoteBlogPublishingShapes.cs" />
|
||||||
<Compile Include="Shapes.cs" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="Content\Admin\images\draft.gif" />
|
<Content Include="Content\Admin\images\draft.gif" />
|
||||||
|
@@ -1,22 +0,0 @@
|
|||||||
//using Orchard.ContentManagement;
|
|
||||||
//using Orchard.DisplayManagement.Descriptors;
|
|
||||||
|
|
||||||
//namespace Orchard.Blogs {
|
|
||||||
// public class Shapes : IShapeTableProvider {
|
|
||||||
// public void Discover(ShapeTableBuilder builder) {
|
|
||||||
// builder.Describe("Items_Content__Blog")
|
|
||||||
// .OnCreated(created => {
|
|
||||||
// var blog = created.Shape;
|
|
||||||
// blog.Content.Add(created.New.Parts_Blogs_BlogPost_List(ContentPart: blog.ContentItem, ContentItems: blog.));
|
|
||||||
// })
|
|
||||||
// .OnDisplaying(displaying => {
|
|
||||||
// ContentItem contentItem = displaying.Shape.ContentItem;
|
|
||||||
// if (contentItem != null) {
|
|
||||||
// var zoneName = contentItem.As<WidgetPart>().Zone;
|
|
||||||
// displaying.ShapeMetadata.Alternates.Add("Items_Widget__" + contentItem.ContentType);
|
|
||||||
// displaying.ShapeMetadata.Alternates.Add("Items_Widget__" + zoneName);
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
//}
|
|
Reference in New Issue
Block a user