Orchard - placement.info文件
抄录一段(来自Modules/Orchard.Taxonomies项目下)
1 <Placement> 2 <!-- Location of field edition --> 3 <Place Fields_TaxonomyField_Edit="Content:9"/> 4 5 <!-- Display terms in front-end summaries --> 6 <Match DisplayType="Summary"> 7 <Place Fields_TaxonomyField="Content:after"/> 8 </Match> 9 10 <!-- Display terms in content item details --> 11 <Match DisplayType="Detail"> 12 <Place Fields_TaxonomyField="Content:5"/> 13 </Match> 14 15 <!-- Display terms in admin summaries --> 16 <Match DisplayType="SummaryAdmin"> 17 <Place Fields_TaxonomyField="Content:5"/> 18 </Match> 19 20 <!-- Display in admin --> 21 <Place Parts_Taxonomies_Term_Fields="Content:2"/> 22 23 <!-- New Shapes --> 24 <Place Parts_TaxonomyPart="Content:5" /> 25 <Place Parts_TermPart="Content:5" /> 26 <Place Parts_TermPart_Feed="Content" /> 27 28 <!-- Navigation --> 29 <Place Parts_Navigation_Taxonomy_Edit="Content:5"/> 30 31 </Placement>
-------------------------------------------
放置文件,定义部件呈现出来的位置
约定的格式为
<Placement>
<Place Parts_TaxonomyPart="Content:5" />
</Placement>
更加具体的说明在这里 二十四画生 http://www.cnblogs.com/esshs/archive/2011/08/02/2124836.html