How to organize the summary of a book ?

I created a book with the module provided by Drupal 8, but I am unable to organize the pages of the book correctly in a view.

I want to organize the book in this way.

https://i.stack.imgur.com/SEnmC.png

In the left block, pages and sub-pages are correctly organized, but in the content (it's a view), pages and subpages don't match my ranking.

https://i.stack.imgur.com/6qTCx.png

salz.ch - Swiss Saltworks - Headless Experience Platform

salz.ch is the website of Swiss Saltworks and their main marketing tool as well as a B2C web shop. The website consolidates several previously independent websites and technologies in a modern headless experience platform combining Drupal and Magento with a state-of-the-art Nuxt.js (Vue.js) front end.

Sectors: 
Enterprise
Manufacturing and Energy
Retail and Distribution
Technology

Using TWIG template for a page loaded into a modal

I have a page (form) that I've created a twig template for, it's called `form--edit-communication-method-form.html.twig`, it loads in my actual form items as well as some other markup to polish everything up. However, now I need to present this form in a modal, and I'm attempting to do so by loading the form like so

How to get a custom ...?id=... from my URL?

I want to have an ID in my URL and the controller of my module should take the ID from the URL and display it. If the ID is changed in the browser and the side is reloaded, the page should print out the new ID. My problem is, that I can't get the ID out of the URL.

Example: /node/31?id=930bcae8-f8e5-491f-84fc-cdf104ca7e40

I have tried to following lines of code, to get the id and print it out:

'text' => \Drupal::request()->query->all(), <- prints out nothing

Disable default behaviors of the Dialog Modal

I am attempting to use a modal on a particular page using the following link to get there

<a class="use-ajax" data-dialog-type="modal" href="/my-modal-page">

However, there is some default modal behaviors I would like to disable:

How to implement the RDF concept in Drupal 8?

Hi All,

I am a beginner in Drupal. I have to implement the RDF concept in Drupal 8 for a new project. Could you please guide me how to achieve the same? Kindly help me on this.

Note: I have tried to install RDFUI. But that installation throws some errors. It is not working as it is explained in the documentation.

Thanks in advance.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x