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:
Louis DeJardin
2010-09-09 17:14:38 -07:00
parent 646aab07b0
commit a03da9496a
10 changed files with 218 additions and 9 deletions

View File

@@ -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"