[META] Content Model for Drupal.org
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #2481519. --> Reported by: [tvn](https://www.drupal.org/user/999848) >>> <h2>Background</h2> <p>Per <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/content/issues/2481435" title="Status: Closed (fixed)">#2481435: [META] Analyzing current state of Drupal.org content and IA</a></span>:<br> We need a better way to organize content on the site. This does not mean we need too many content types to meet all the different use cases and personas.</p> <p><img src="https://www.drupal.org/files/issues/sections-2.png" alt=""></p> <p>We need to separate content from structure. Use content types to create content, use other means to bring structure.</p> <p>Per <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/content/issues/2481441" title="Status: Closed (fixed)">#2481441: [META] Analyzing Drupal.org content types</a></span>:<br> Single content type is often used for too many very different use cases, which require different field structure, layout, permissions and access restrictions.</p> <p>At the same time single use case is often met by multiple content types, making it unclear for users (especially Newcomers and Learners) to know which content type to use for X.</p> <h2>Proposed solution</h2> <ul> <li>Generic content types, with specific clear use case for each.</li> <li>Use them to create content.</li> <li>Use separate set of content and entity types to create structure.</li> </ul> <p><a href="https://www.drupal.org/files/issues/drupalorg-content-model.png"><img src="https://www.drupal.org/files/issues/drupalorg-content-model.png"></a></p> <p>Green boxes are the new content types, which do no exist currently on Drupal.org.<br> Yellow are content types, which currently exist on Drupal.org, but will be slightly modified (e.g. fields change, display modes change).<br> Grey boxes are the content types, which currently exist and are not going to be changed.</p> <p><strong>Basic content types</strong></p> <ul> <li>Generic content types used for content creation.</li> <li>Can be created inside group content types.</li> <li>Used across various Sections of the site and various group types.</li> <li>Permissions are set per group the content is being created in.</li> </ul> <p><strong>Helper content types</strong></p> <ul> <li>Very specific content types, exist for definite purpose.</li> <li>Likely exist only in one Section of the site.</li> <li>Mostly not the usual user generated content.</li> </ul> <p><strong>Group content types</strong></p> <ul> <li>Used to structure and organize content.</li> <li>Basic content types can be created inside of these.</li> <li>In some cases can be also created inside of each other (e.g. top level section 'Contribute' includes 'Initiative' group content type).</li> </ul> <p><strong>Entity types</strong><br> Entity types, which exist on Drupal.org and are used for various purposes.</p> <p>---<br> Issues per content type with more information on how each content type could look and work will follow.</p> <h3>Deployment</h3> <ul> <li>Add the latest stable of<br> <pre>projects[panels][version] = "3.5"<br>projects[draggableviews][version] = "2.1"<br>projects[og][version] = "2.7"</pre></li> <li>drush en og, og_context, og_ui, page_manager, panels, strongarm, draggableviews</li> <li>Revert drupalorg_content_model and drupalorg_permissions features.</li> <li>Flush caches</li> <li>Josh builds a test section.</li> </ul> > Related issue: [Issue #2481441](https://www.drupal.org/node/2481441)
issue