I'm posting this discussion here instead of http://orchardcustomforms.codeplex.com because the code I'm referring to in the Item\Edit.cshtml of the CustomForms is only available in
Please advice if going forward we should start using this for module discussions/issues that are no longer in sub-repo's?
Basically I'm trying to get the title part onto another zone, I've tried all sorts of placement.info variations, matching CustomForm contenttype and also the backing contentype for the fields to no success.
I've also tried modifying the code to forcibly set the content type of the part being created in the Item\Edit.cshtml view like so: @Display(New.Parts_Title(ContentType:customForm).Title(Html.ItemDisplayText(customForm)))
But that didn't work either. Is there a reason why this part is only being created in the view and not in the controller?
How could I add it to the existing shape model so placement kicks in?
I've tried Model.Add(Display(New.Parts_Title().Title(Html.ItemDisplayText(customForm)))) in the view but that didn't work.
I'm still a bit new to shape factoring, and am not sure how to append it to the model in the controller, could anyone advise on how this could be accomplished?