Content type with menu

I need to create a new content type where the user can set the title, body and add a menu to the sidebar. I know I can create a menu separately and then make it visible only on this page, but I think the users will find this difficult to do. Is there a way, maybe with a module, to create and add the menu via the content creation page?

[hiring] Personal Drupal Tutor in Central London

Hello, I would like to accelerate my Drupal 8 site building knowledge. I have very limited time and I find myself getting stuck for hours on topics that I'd think should be relatively simple. Topics I would like to cover include:

Ubercart Free Sample option

I am setting up a website that sells fabric, but we would also like the option to provide a free sample.

How do I setup an Ubercart product to also offer a free sample of that product?

e.g.

£10   [QTY] <btn>Add to cart</btn>
THIS --> <btn>Order a free sample</btn>

Add a new custom field to "Site Infomation" Form in Drupal8

let's see that how to add the new fields in "Site Information" in Drupal8.
 

Consider module name is mymodule.
Example of a mymodule.services.yml file
Register an Event Subscriber in your mymodule.services.yml

services:
  mymodule.route_subscriber:
    class: Drupal\mymodule\Routing\RouteSubscriber
    tags:
      - { name: event_subscriber }

class : "Drupal\mymodule\Routing\RouteSubscriber" According to this class create a php file as given below.

trying to modify an installed theme in Drupal 8

Hi, this may be a naive question as I'm a real beginner to web development. I built a blog website using Drupal 8, and downloaded and installed a theme. I would like to modify the theme, as I want to make the site title smaller and the navigation menu bigger. I first used the browser's inspect element tool to modify the CSS, which did exactly what I wanted. However, when I attempted to modify the style.css file and upload the modified version to the server, my changes did not take effect.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x