Coronaplein.nu

When the first wave of the coronavirus hit, it became clear that there is a chance that patients will develop (long-term) symptoms after infection. Because it was a novel virus, often these patients did not receive the specialist care and guidance they needed. In the initial phase doctors simply did not know enough about the long-term consequences of a corona infection. 

Sectors: 
Healthcare

Custom blocks cached so do not get updated

Hi

I have created some custom blocks. Everytime I change the content I need to rebuild caches. Is this default behaviour or something weird in my set up?

If other users enter the content, the block does not update until I rebuild cache.

Is there anyway to clear the block cache automatically when the block is saved?

cache_clear_all is deprecated in D8

Hi Guys, 

This cache_clear_all function is no more in D8 whats the actual replacement for this ? 

I want the actual replacement, In D7 I'm using this function as :

cache_clear_all($cid, 'cache_API_NAME_api', TRUE);

to clear the cache from the api. 

I want the function which will work similar to this. 

Note: I had tried drupal_flush_all_caches() as a replacement of this but it is only clearing the Drupal cache not from the api. 

Stuck in Maintenance Mode

hi,

at the weekend i put in some basic websites and set them all into maintenace mode.

It looks like ALL of them refuse to come out of maintenance mode.

The sessions table is empty

using the following URLS just results in refreshing the maintenance mode screen and NOT displaying any login prompt

 http://www.example.com/?q=user

http://www.example.com/admin

tried using different browsers / machines etc

How can I make this Drupal 8 custom module compatible with Drupal 9?

I am using a custom module to add an extra field to breadcrumbs, which was based on the accepted answer in this post on Drupal Answers.

I made a couple of changes to make the module Drupal 9-compatible, which I have marked by comments in the code below. As it stands, this modified mod ule still runs in Drupal 8.9, but it still will not work in Drupal 9.1. Can anyone spot why? 

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x