Add a "Create content type" link to the content listing page

Created on 12 April 2019, over 5 years ago
Updated 28 April 2023, over 1 year ago

Problem/Motivation

As first discussed in πŸ› New users have difficulty finding where to adjust the content model Needs work some users new to Drupal have trouble finding where to define new content types. One of the suggestions there was to add a secondary button to the Content page to make the option available there.

Proposed resolution

Add a button to the Content page, but visually clear as a secondary action, since we still want the primary action to the Add Content button.

Remaining tasks

A primary challenge is the lack of an obvious precedent for a secondary action, or a technical means to define this in node.links.action.yml

User interface changes

Addition of a button, and potentially the creation of a whole new "secondary action" class/treatment.

API changes

The means to designate an action as "secondary"

Data model changes

Release notes snippet

✨ Feature request
Status

Active

Version

10.1 ✨

Component
Menu systemΒ  β†’

Last updated 1 day ago

Created by

πŸ‡¨πŸ‡¦Canada mandclu

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡ΏNew Zealand danielveza Brisbane, AU

    I'm currently going through the old Menu issues - Is this something we still want? I can see the value in this, but it's not something I would personally want.

    This should be controlled by a permission and potentially also a setting to just hard disable it. Maybe checkbox in node.settings. All this functionality could also just be in it's own module so we can just turn that off, but that module would be so small I can understand why it might not be considered worth it.

Production build 0.71.5 2024