OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.38k stars 1.12k forks source link

Orchard should be able to manage 'extended ContentTypes' #3334

Open orchardbot opened 11 years ago

orchardbot commented 11 years ago

@csurieux created: https://orchard.codeplex.com/workitem/19505

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 :) )

orchardbot commented 11 years ago

@Piedone commented:

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.

orchardbot commented 11 years ago

@csurieux commented:

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:)

orchardbot commented 11 years ago

@csurieux commented:

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

orchardbot commented 11 years ago

@bleroy commented:

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.

orchardbot commented 11 years ago

@csurieux commented:

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....

orchardbot commented 11 years ago

@bleroy commented:

Sure, where's the bug?