I have a menu block that is applied to pages with urls /health and /health/*. On the same site I wanted to add a different menu block but has the same base url with a few more levels /health/something/somepage. Adding this as a block causes a conflict of course since we have the first one using /health/*.
Any suggestions on maybe adding the second block via hook saying apply it to pages with url pattern of /health/blah/blahhh?
We're on D9 and was trying to avoid installing a module to do this.
Hi, I have some large files (upto 1GB) that arrive via FTP, and these need adding to Drupal.
I had been using file_save_data and using a handle, but this code no longer seems to work after upgrading to 9.3.0. file_save_data() has also been deprecated, so I've updated my code to use writedata()
Absolute neophyte to Drupal module development. I am basically still working on my own 'Hello World' module. I have the basics down regarding what files to put where, etc.; and, my stupid simple module works, sort of. However, my problem right now is, I can get a function that sends HTML ('#type' => 'markup') to the screen; OR, I can get a function that sends a Table ('#type' => 'table') to the screen, but I cannot do BOTH. I think, ideally, I would want the Table-making function to be called by the HTML-making fu