How to disable header and footer on custom module

Hello Im building a custom module that will only show a plain text, i have created everything and it works, but at this moment i can see the drupal header and footer, and need to hide any drupal reference.

What i have done:

customsg.default_controller_hello:
path: '/mypath.txt'
defaults:
_controller: '\Drupal\customsg\Controller\DefaultController::mypath'
_title: 'Hello World!'
requirements:
_permission: 'access content'

Controller:

Drupal 8 slideshow without a node for each slide

All the slideshow tutorials I can find seem to rely upon views, with a content type that creates a node for each image. But if you have a lot of images, this is incredibly tedious. Isn't there a way to create a slideshow from the pictures in a particular sites/default/files directory?

Proper way of updating a core module via composer

Hi,

Please anyone let me know to how to properly upgrade a drupal 8 module via composer.

Old drupal 7 Weblinks module -> drupal 8 links module, how to migrate?

Hi,

I did made the struggle to get my website from D6-D7. But now a new challenge to get from D7-D8.
I use more than 300 'special' nodes from the https://www.drupal.org/project/weblinks module. A great module till D7 to use content together with a link to an outside source. I used this module already in D5, D6 and D7. But now in D8 there is no convertion.

Can anybody may be help me to migrate my more than 300 weblinks nodes to D8 links nodes?
Thanks a lot in advance!

greetings, Martijn

Pre-packaged theme dies on updates

I admit I don't know much of anything about how D8 works with Composer and Drush.
I've been using Drupal since v4 but this the the first project I've tackled like this.

Question regarding hook_node_grants

Question to drupal ninjas here. Is it possible to make hook_node_grants() to use "AND" condition from realm instead of "OR"?
What I mean is if for example I have realm1 and realm2, the current functionality is that if the user has gid(grant id) to at least 1 realm, the user has a grant view. What I'm trying to do is to change it to an "AND" condition so that the user needs at least 1 gid from realm1 and realm2 to have grant view access.

Thanks a lot!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x