mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-08 00:14:31 +08:00
Content item specific shapes
Content manager creating shape names based on display mode Template harvester converting known file patterns into appropriate shape names --HG-- branch : theming extra : rebase_source : a4d45b76ea0251bb3d6b7f24dba92563cc63addf
This commit is contained in:
@@ -63,13 +63,27 @@ Parts/Content
|
||||
|
||||
Fields/Content
|
||||
|
||||
"Items_Content"
|
||||
"Items_Content_Summary"
|
||||
"Items_Content_Edit"
|
||||
|
||||
base + "__" + id
|
||||
base + "__" + contenttype
|
||||
|
||||
|
||||
==template discovery strategy==
|
||||
Items/Content.cshtml -> "Items_Content"
|
||||
Items/Content.Summary.cshtml -> "Items_Content"
|
||||
Items/Content.Edit.cshtml -> "Items_Content"
|
||||
Items/Content-Page.cshtml -> "Items_Content__Page"
|
||||
Items/Content-45.cshtml -> "Items_Content__45"
|
||||
Items/Content-45.Summary.cshtml -> "Items_Content_Summary__45"
|
||||
Items/Content.Summary-45.cshtml -> "Items_Content_Summary__Page"
|
||||
Items/Page.cshtml -> "Items_Content__Page"
|
||||
|
||||
Items/BlogPost.cshtml -> "Items_Content__BlogPost"
|
||||
Items/BlogPost.Summary.cshtml -> "Items_Content__BlogPost"
|
||||
Items/BlogPost.Edit.cshtml -> "Items_Content__BlogPost"
|
||||
|
||||
Widgets-TwitterThing.cshtml -> "Widget__TwitterThing"
|
||||
|
||||
|
Reference in New Issue
Block a user