This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

dynamic content without hosing cacheability

I have been asked to implement a feature that displays a block of frequently-changing content on each page in our site.  That is, the block will show a list of data pulled from an external source that will change once daily.  I'm trying to figure out how to handle this in a way that a) will be permformant, especially with respect to caching; and b) isn't more complicated than it needs to be.

how do i develop a new module ?

Hello, I'm a junior developper and I want to create a module on Drupal 9, but i don't know where to start.
I first want to create like an "hello world" module to see how it works, can I have some help ? :)

Thanks,
Mélissandre

SimpleSAMLphp module : install error

Hi,

I'm trying to install the SimpleSAMLphp module for my Drupal 9 site (https://www.drupal.org/project/simplesamlphp_auth) but I get this error after activation:

SimpleSAMLphp module requires the simplesamlphp library, version 1.18.2 or later.

The version is good but I still tried others, without success.

Has anyone figured out how to fix the error?

Thanks in advance !

Attach Custom Controller to Page

Hi,

we created a Page in the Backend and we would like to add a Custom Controller to this page.

we searched a lot and we are aware that we can create a complete Module (incl. Page) to perform this task. 

But what if we just want to add a custom controler to an already existing page created in the Backend. Is this still posible?

Git instructions say refresh for more, but nothing happened

I somewhat botched initial repo setup for my project https://www.drupal.org/project/image_to_media_filters (didn't follow instructions because I wanted a smaller version number) but even after creating the named branch still nothing happens when I reload https://www.drupal.org/project/image_to_media_filters/git-instructions

Drupal behaviors.

Hello Community. It's too much to ask for code examples about: Drupal behaviors a way to attach JavaScript functionality. With variables executed with php from/to javascript. If someone can share specific cases to understand how it works. Thank you very much.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions