Files
Orchard/src/Shapes.txt
T

117 lines
2.3 KiB
Plaintext
Raw Normal View History

2010-09-08 19:30:30 -07:00
==context==
WorkContext.Layout == Layout shape
2010-09-08 19:30:30 -07:00
==shapes==
(IShape)
.Metadata (ShapeMetadata)
.Type
.DisplayType
.Position
.Prefix
.Wrappers
.Alternates
.WasExecuted
.ChildContent
2010-09-08 19:30:30 -07:00
Document [:Layout]
Layout (Body) (.Wrappers[Document])
.Zones (meta-property)
.Title
2010-09-08 19:30:30 -07:00
Zone
.ZoneName
2010-09-08 19:30:30 -07:00
Menu (in Body.Navigation)
.MenuName
2010-09-08 19:30:30 -07:00
MenuItem
-Text
-Href
-RouteValues
-Item (clr object)
2010-09-08 19:30:30 -07:00
List: ul|ol + li*
.Items (meta-property, bound to shape children or passed in)
.Id
.Classes
.Attributes
.ItemClasses
.ItemAttributes
2010-09-08 19:30:30 -07:00
Content (a single content item)
.Zones (meta-property)
.ContentItem (clr object)
2010-09-17 01:00:24 -07:00
.Path (from Orchard.Core.Routable(.Handlers.RoutePartHandler))
.Slug (*necessary?* from Orchard.Core.Routable(.Handlers.RoutePartHandler))
.Title (from Orchard.Core.Routable(.Handlers.RoutePartHandler))
2010-09-17 01:00:24 -07:00
.Description (from Orchard.Blogs(.Handlers.BlogPartHandler))
2010-09-08 19:30:30 -07:00
PlaceChildContent
.Source (another shape, presumed rendered)
2010-09-08 19:30:30 -07:00
Partial
.TemplateName
.Model (optional - default use current)
2010-09-08 19:30:30 -07:00
DisplayTemplate
.TemplateName
.Model (optional - default use current)
.Prefix (optional - default use current)
2010-09-08 19:30:30 -07:00
EditorTemplate
.TemplateName
.Model (optional - default use current)
.Prefix (optional - default use current)
2010-09-08 19:30:30 -07:00
(todo: find usage)
Pager
-CurrentPage
-RouteValues
-Count
?PageSize ?? 1
2010-09-08 19:30:30 -07:00
(todo: update)
2010-09-08 19:30:30 -07:00
Parts/Content
Fields/Content
2010-09-09 17:14:38 -07:00
"Items_Content"
"Items_Content_Summary"
"Items_Content_Edit"
base + "__" + id
base + "__" + contenttype
2010-09-08 19:30:30 -07:00
==template discovery strategy==
2010-11-24 16:18:02 -08:00
Items/Content.cshtml -> "Content"
Items/Content.Summary.cshtml -> "Content_Summary"
Items/Content.Edit.cshtml -> "Content_Edit"
Items/Content-Page.cshtml -> "Content__Page"
Items/Content-45.cshtml -> "Content__45"
Items/Content-45.Summary.cshtml -> "Content_Summary__45"
Items/Content.Summary-45.cshtml -> "Content_Summary__Page"
Items/Page.cshtml -> "Content__Page"
Items/BlogPost.cshtml -> "Content__BlogPost"
Items/BlogPost.Summary.cshtml -> "Content_Summary__BlogPost"
Items/BlogPost.Edit.cshtml -> "Content_Edit__BlogPost"
2010-09-08 19:30:30 -07:00
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