Cant see category part properties

Topics: Customizing Orchard
Nov 17, 2011 at 6:07 AM

Hi,

I can see category under new. When i click category i can see only  body part and tag part only. I cant see any my category part property why that

 

Under view\parts\editortemplates

i have category.cshtml file like below

 

@model eProp.Category.Models.CategoryPart
<fieldset>
    <label class="sub" for="CategoryParentID">@T("CategoryParentID")</label><br />
    @Html.TextBoxFor(m => m.CategoryParentID, new { @class = "text" })<br />
    <label class="sub" for="Name">@T("Name")</label><br />
    @Html.TextBoxFor(m => m.Name, new { @class = "text" })

     <label class="sub" for="Description">@T("Description")</label><br />
    @Html.TextBoxFor(m => m.Description, new { @class = "text" })

     <label class="sub" for="SortOrder">@T("SortOrder")</label><br />
    @Html.TextBoxFor(m => m.SortOrder, new { @class = "text" })

     <label class="sub" for="IsActive">@T("IsActive")</label><br />
    @Html.TextBoxFor(m => m.IsActive, new { @class = "text" })

     <label class="sub" for="IsFront">@T("IsFront")</label><br />
    @Html.TextBoxFor(m => m.IsFront, new { @class = "text" })


</fieldset>

 

and project file i have following properties too

 

<ItemGroup>
    <Content Include="placement.info" />
    <Content Include="Views\Parts\Category.cshtml" />
    <Content Include="Views\Parts\EditorTemplates\Category.cshtml" />
  </ItemGroup>

 

lakmal

Coordinator
Nov 17, 2011 at 7:08 AM

Missing placement?

Nov 17, 2011 at 8:46 AM

Yes it is. Thanks very much