Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300589

Add the option to add custom menus to a content type on menu creating/editing

$
0
0

Problem/Motivation

When creating a custom menu there isn't an option to link the menu to a content type.
I had the idea to make a custom menu where I could add some basic pages.

The steps I had in mind:
1) Create the menu
2) Create a basic page
3) When creating the page add it to my custom menu

I got stuck on 3 because I couldn't find the menu and I didn't had a clue where to start looking. Untill someone told me I had to edit the content type to allow the new custom menu. This is confusing and there are no hints in the UI you have to do this.

Proposed resolution

Add checkboxes containing the available content types when creating/editing the menu

Remaining tasks

- Current re-roll includes edits to admin page callbacks that no longer exist in Drupal 8.x, so the patch has no effect
- Need to integrate UI changes into the code that generates the menu creation/edit pages in Drupal 8.x
- If creating a new Menu module, needs to have an .info.yml file included
- Maybe change the description of the form element

User interface changes

A new checkboxes form element linking a menu to a content type, or multiple content types.

API changes

No API changes


Viewing all articles
Browse latest Browse all 300589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>