This project is read-only. issue with contrib fields

Topics: Customizing Orchard, General, Troubleshooting, Writing themes
Dec 20, 2011 at 2:10 AM
Edited Dec 20, 2011 at 2:14 AM

Hello all.

I am trying to use my file to control the order of fields on the detail view of a content type called "Course"

Fields that aren't of the Fields_Contrib_* type get placed properly. Contrib fields always end up at the top of my content. :(

Here is a part of my file

    <Match ContentType="Course">
        <Place Parts_RoutableTitle="Content:1"/>
        <Place Fields_Common_Text-CourseNumber="Content:1.1"/>
        <Place Fields_Contrib_ChoiceList-Discipline="Content:1.2"/>
        ...A bunch of other place fields here

All of the Fields_Contrib_* fields end up at the top of my content before the title. :/ All other fields are in the correct spot. I turn on the developerr tools and I see that the Placement for the Contrib fields is still deriving from found in the module folder, not the one from my theme.

This is a critical issue for a client so help is VERY much appreciated.



Dec 20, 2011 at 2:16 AM

I think it's because the contrib field in question is not doing what it should from its driver to enable placement. Comparing the driver codes should confirm that.

Dec 20, 2011 at 3:02 AM

Recommendations? What am I looking for in the driver file?


Dec 20, 2011 at 5:55 AM


Dec 20, 2011 at 4:39 PM

Didn't get a chance to reply last night.

Thanks Bertrand! That gave me enough to fix the issue.