This project is read-only.

Help needed on alternate template for fields in a custom form

Topics: Customizing Orchard
Nov 23, 2012 at 10:32 AM


I nead to create an alternate display for the input, boolean and text area fields inserted in a Custom Form.
I was understanding, from Orchard documentation->Alternates, that I have to install a variant of Input.Edit.cshtml and Bolean.Edit.cshtml in a folder (under my Theme )\views\EditorTemplats\Fields but it is Nok.

Is the alternate template the solution fo this problem ?

I don't want to modify the original module edit templates.

Any help welcome


Nov 23, 2012 at 10:47 AM
Edited Nov 23, 2012 at 1:26 PM

Correction, it works, I was loosing the .chtml extension....
but actually with Inpout.Edit.cshtml as file name, I am changing all the inputs, I would only change the ones from my custom type ?