How to put different instances of the same field in different zones

Topics: Customizing Orchard, General, Writing themes
Sep 5, 2011 at 12:51 AM

Hi

So I'm finally started to click with orchard. Reading blogs I've read 100 times and now things are eventually going in. My new favourite is that the placement.info affects local zones. This was a revelation :)

But now I have a new problem; I have two media fields, and I'd like to place them at different points in my document. How do I do that with placement.info? 

All help as always much appreciated!

Coordinator
Sep 9, 2011 at 12:09 AM

Yes, field placement can include the name of the field: http://orchardproject.net/docs/Understanding-placement-info.ashx 

<Place Fields_Common_Text-Occupation="-"/>

Sep 9, 2011 at 12:41 AM

I re-read the docs around custom fields and now it makes sense. 

I was reading field.name to be the name of the shape. 

Amazing what assumptions can do!


Thanks again