This project is read-only.

Pb with Alternate in my theme for Fields.Common.Text.Edit

Topics: Core, Customizing Orchard, General, Troubleshooting
Dec 6, 2012 at 2:54 PM

I want to customize the UI of a custom form using a Custom Type but I am unable to name or place in View hierarchy the new model I defined.

I tried many combinations of renaming and folder placement but nothing seems working.

The basic idea - copying the modified file keeping the same name and folder hierarchy under my theme- which is working for other types of fields doesn't work for Text fields.

Should I create a special name to replace the Fields.Common.Text.Edit.cshtml and where to pace it.


I would say that the default model for text fields editing is rather ugly and impracticable using a fieldset which takes 100% of width in the form. Especially when you don't want fieldsets....and have 30 text fields in the form.

Dec 6, 2012 at 3:48 PM


Dec 6, 2012 at 4:23 PM

I have already tried it, no success. The fieldset which should have gone is still there.

I also found a discussion between Piedone and Bertrand Leroy where the conclusion was for Edit TextField alternates were not working ?

Dec 6, 2012 at 5:40 PM

Correction : Fields.Common.Text.cshtml  . not \ after Fields seems to work.


Dec 6, 2012 at 9:16 PM
Edited Dec 6, 2012 at 9:23 PM


\Themes\{YourTheme}\Views\EditorTemplates\Fields.Common.Text.Edit.cshtml ok