View Templates For Part Created in Recipe

Topics: Customizing Orchard, Writing themes
Apr 18, 2011 at 12:56 PM

Hi,

I have a Part created in Recipe file:

 <InsightPart ContentPartSettings.Attachable="True">
              <Abstract.TextField />
              <Image.ImageField ImageFieldSettings.MaxWidth="250" ImageFieldSettings.MaxHeight="250" ImageFieldSettings.ResizeAction="Resize" ImageFieldSettings.FileName="Image" ImageFieldSettings.MediaFolder="Insight" />
              <Link.HyperlinkField />
</InsightPart>

How do I create a editor templates/view page and where to put them?
For example I want to use a text area instead of a text box for the Abstract on the editor templates.

Thanks!

Kai

Coordinator
Apr 18, 2011 at 5:45 PM

If you want to customize those templates, you should create full part types through code. See http://orchardproject.net/docs/Writing-a-content-part.ashx