Behnam Esmaili
Behnam Esmaili

Reputation: 5967

How to add a Content Picker field to orchard ContentType?

Suppose I have a ContentType called Product. I wanna have a field called RelatedProducts in my custom type(e.g:Product) so that in admin panel, when user is editing (or adding a new product) a ContentPicker button displayed for user and user clicks on that button and a list of product appears, that gives user ability of selecting contents of type product.

Is there any implemented module in orchard for accomplishing this?

Upvotes: 1

Views: 1871

Answers (1)

Piotr Szmyd
Piotr Szmyd

Reputation: 13366

Yes, ContentPicker field is exactly what you're looking for. Enable ContentPicker module (if it's not enabled already), add Content Picker Field to your content type and you're set.

The Content Picker module is available starting from Orchard 1.5.

Upvotes: 3

Related Questions