How to handle multiple Media_Picker Fields in Placement.info?

Topics: Writing themes
Aug 22, 2012 at 7:23 AM

Hello,

I have two Media Picker Fields attached to my Blog Post Content Type. One is called "videofile" and the other is "blogimage"

What I want is to show "blogimage" in summary view of blog post but not "videofile". If I hide the media picker shape in placement.info like this:


<Match DisplayType="Summary">

<Place Fields_MediaPicker="-"/>

</Match>

 

both of the shapes dissapear. Is there any way to show one of them?

Developer
Aug 25, 2012 at 3:17 AM

<Match DisplayType="Summary">

<Place Fields_MediaPicker-videofile="-"/>

</Match>

Aug 27, 2012 at 9:11 AM

Ahh so easy!

Thanks a lot!