Mar 6, 2012 at 8:53 AM
Edited Mar 6, 2012 at 8:59 AM
I've been going round in circles with this one, hope someone can help.
I've created a new module for some additional data, added the Model, Handler, Driver, Migrations, Placement and Module.txt.
Everything appears OK initially, and I've enabled the module, added the part to the Page content type and when I create the page the new table is added to the database as per the Migrations.cs, however I cannot get the fields defined in the EditorTemplate/Parts
folder to show.
I'm thinking it must be something to do with Placement.info but that's not exactly a very complicated set-up (see screenshot of the Module folders):
Here's the appropriate code from the Driver:
protected override DriverResult Editor(
EstateManagerPart part, dynamic shapeHelper)
() => shapeHelper.EditorTemplate(
There are no errors when I create a new page, just no fields - so what is it that orchard is looking for, I must have something miss-matching but I've been through everything twice. Frustratingly I had this working, but then needed to move it to a fresh
Orchard installation for various reasons, and it won't work now.
As I said, the table has been created in the database so I guess the Model and Migrations has been set correctly, but something clearly isn't quite right for Orchard to use the fields.
Anyone any ideas?