Files
Orchard/src/Shapes.txt
Nathan Heskew 1506a588db pushing the composition branch
--HG--
branch : composition
2010-10-12 10:18:19 -07:00

105 lines
2.2 KiB
Plaintext

==context==
WorkContext.Layout == Layout shape
==shapes==
Document [:Layout]
Layout (Body) (.Wrappers[Document])
.Zones (meta-property)
.Title
Zone
.ZoneName
Menu (in Body.Navigation)
.MenuName
MenuItem
-Text
-Href
-RouteValues
-Item (clr object)
List: ul|ol + li*
.Items (meta-property, bound to shape children or passed in)
.Id
.Classes
.Attributes
.ItemClasses
.ItemAttributes
Items_Content (a single content item)
.Zones (meta-property)
.ContentItem (clr object)
.Path (from Orchard.Core.Routable(.Handlers.RoutePartHandler))
.Slug (*necessary?* from Orchard.Core.Routable(.Handlers.RoutePartHandler))
.Title (from Orchard.Core.Routable(.Handlers.RoutePartHandler))
.Description (from Orchard.Blogs(.Handlers.BlogPartHandler))
PlaceChildContent
.Source (another shape, presumed rendered)
Partial
.TemplateName
.Model (optional - default use current)
DisplayTemplate
.TemplateName
.Model (optional - default use current)
.Prefix (optional - default use current)
EditorTemplate
.TemplateName
.Model (optional - default use current)
.Prefix (optional - default use current)
Pager
-CurrentPage
-RouteValues
-Count
?PageSize ?? 1
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"
Items/User.cshtml -> "Items_User"
Parts/Yarg -> "Parts_Yarg"
Parts/Yarg-BlogPost -> "Parts_Yarg__BlogPost"
==template discovery strategy==
==templates==
Header
Footer