for field added to Page ContentType

Topics: Writing themes
Sep 1, 2012 at 9:24 PM

I added the MediaPickerField to the Page ContentType and called it "Header Image".

I want it to render in the zone "header"; so I tried:

<Place Fields_MediaPicker-HeaderImage="Header:Before"/>

 And it didn't render at all; without the above placement; the image renders at below the "Body" field (that field is already part of the Default orchard Page ContentType).

What needs to be done with this to make it render in the header zone and not the Content zone.

I know that the name is correct above because if I change Header to Content - it does move it around.

I'm making this change to my themes

Any help would be appreciated.


Sep 1, 2012 at 9:49 PM

Well I discovered my problem - I forgot to use a "/" before header to specify the Header zone.

I found the answer in David Hayden's blog:

thanks David & Bing!