Add link to MediaLibraryPickerField

Topics: Customizing Orchard
Dec 15, 2013 at 9:31 PM
Hi Orchard Team,

I have a content type with a number of input fields and a part containing a MediaLibraryPickerField. I've looked at both the Parts.Image.cshtml and the Common.Body.Summary to merge the two as either a ItemDisplayLink or as a anchor. How can I do this?
Dec 16, 2013 at 10:46 PM
Can you give a better description of exactly what you are trying to do and why?
Dec 19, 2013 at 6:07 AM
Edited Dec 19, 2013 at 6:08 AM
hi Bertrand,

I suppose I'm stuck between coding the module from scratch and using the UI. I've create parts and types using both methods, however the first method is too onerous for rapid development, the other (using the UI) I can't seem to re-define the shape objects. Is there a halfway point of using the UI then adding custom templates and views?
Dec 19, 2013 at 7:47 AM
Sure. use alternates.
Dec 20, 2013 at 3:43 AM
Edited Dec 20, 2013 at 3:57 AM
Hi Bertrand,

Are tokens available for Media Picker Images in v.

Basically I've added a Media Library Picker Field to a part and then added it to a content type. I've created a bodyPartRecord to a query, which is part of a projection on a widget. I'm trying to add a token to reference the Media Library Picker Image, however none of the tokens seem to be working?

Jan 5, 2014 at 6:36 AM
What tokens have you tried?
Jan 22, 2014 at 9:08 AM
Thanks Bertrand,

Seemed to have worked my way through the problem. Alternates was key.

Marked as answer by paulking on 1/22/2014 at 2:09 AM