1
Vote

Orchard should be able to manage 'extended ContentTypes'

description

We should be able to create a content type with
Part A
Part B
and variable number of Part C


or
Part A
Part B
and PartC or Part D

then when using Contentmanager load the full chunck of parts.

Actually you must be a developper to do this.
(but I like Orchard :) )

comments

Piedone wrote Mar 7, 2013 at 1:33 PM

I'm not sure I follow. First of all you can't have the same part attached multiple time, i.e. "variable number of Part C" is not a valid request. For the second case I really don't understand what you'd like Orchard to support for your "PartC or Part D" scenario.

CSADNT wrote Mar 7, 2013 at 4:34 PM

Its just a proposal.
I know the actual limits.

look, for the variable options, this is clearly the most widspeard organisationnal schema in .... the world.

Imagine you have a content name slideshow....

Part C and part D structure sample would be the case where you buy some Lasagnes at Findus: you have pasta+tomatoes and beef or... horse meat:)

CSADNT wrote Mar 7, 2013 at 4:35 PM

But I have the sensation that these 2 structures could be managed with some light modifications ?

BertrandLeRoy wrote Mar 7, 2013 at 5:10 PM

Variable number of fields is already supported. If you want multiple instances of a part on a type, I'm afraid you don't understand what a part is for (admittedly the difference between field and part is confusing).

About the second one, why don't you include both parts and use them as required.

But in general, my main beef with such requests is that they are rather vague and general. It would really help to give a real-world scenario where this would help. Giving a real scenario helps us understand what you mean, and it may also give us enough clues to show you how to implement your scenario with the current tools.

CSADNT wrote Mar 7, 2013 at 5:54 PM

Hoaaa .... captain america thanks, I admit sometimes I feel stupid reading your gatekeeper comments on forums.
But I know you have provided a lot of time in this projet, so....its part of your child.
One lesson I learned through years is that the doors must stay opened and the bug fixed....

BertrandLeRoy wrote Mar 7, 2013 at 7:47 PM

Sure, where's the bug?