[SOLVED] Module to load contextual filtered views from node url

Hello

I need a Drupal Module.

A tiny module.

What it has to do is to take a node path from url and load its node ID and then send it to a View with a Node Id contextual filter.

A Get request to the node URL must return the view content, contextually filtered by node id.

Some string will be added to the node path for it to be loaded by the module instead of loading the default node content.

Something like ?path_to_nid=views&views_id=[views_id]

Example :

Hide Status and revision information on display form view mode

Can I ask if anyone knows how I can remove the status and revision information please, I can't figure it out.

Thanks

The "file_delete_action" plugin does not exist

After upgrading from 8.5.6 to 8.6.1, I am unable to update the site. I get the following error message (translated to english):

Is MAMP "outdated"/"unnecessary"?

I've been using Drupal for 6-7 years now, and have been developing in the MAMP environment the whole time. Over time, I've started using Composer, and more recently, I have started looking at things like Docksal and similar; many of which seem to have the servers included. My question I'm tossing out for discussion is, Is MAMP "unnecessary"? Should I just abandon MAMP and move everything to the Docker environment? or is there a reason to keep it?

Your thoughts?

How do I add links to previous/next nodes of content types with their titles?

Hey guys, I'm trying to add links to the previous and next nodes for a content type to be displayed on a node, with their respective titles as the text, kind of like a pager.  Currently I'm using Flippy, which works pretty well, but I've noticed that it doesn't auto update when I create new nodes (the new nodes have links to the previous nodes, but not the other way around). The last commit to the module was over a year ago, so I don't think its being maintained anymore.

I was wondering if there are other modules that provide similar functionality that are well maintained?

Creating a custom function and calling it

Hi All, 

New to Drupal 8 coding so right at the start of my journey and I have a question.

I want to create some reusable custom functions for my custom module, and I'm trying to follow what I believe is the correct approach by putting my reusable custom functions inside the src directory and then using as a namespace, but I have never tried this before and can't get it to work.

I have tried the following which doesn't work so hoping someone will be kind enough to explain what I am doing wrong.

in my .module file I have

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x