This project is read-only.

How to determine the part names in edit view for use in the

Topics: Customizing Orchard
Jan 2, 2013 at 8:42 PM
Edited Jan 2, 2013 at 10:00 PM

We've created a new content part which was used to create a new content type, which also uses some other parts, for example the autoroute part and image, I'd like to reorder the the edit view so that it is grouped better.  Since I don't have an edit view, where I can just specify the order and layout, I was going to use the file to manipulate the layout.  

Is there an easy way to get the names of the parts so that I can use these in the file?  For example, can I inspect an element using chrome tools, to get the name of the part?  FYI, we're currently running Orchard 1.4.

Here's an example fieldset.

    <label for="PartnerPart_HeTitle_Value">New Title</label>
    <input type="text" id="PartnerPart_HeTitle_Value" name="PartnerPart.HeTitle.Value" value="He Title here" class="textMedium">
    <span class="field-validation-valid" data-valmsg-for="PartnerPart.HeTitle.Value" data-valmsg-replace="true"></span>
    <span class="hint"></span>