Reading view

Cloud Control Panel and Multiple Services

Oct 10, 23:58 UTC
Resolved - Our Engineering team has resolved the issue affecting multiple services, including the Cloud Control Panel and API.

Users should now be able to access their accounts and use the API without any errors.

If you still encounter any issues, please launch a ticket with our Support team.

Oct 10, 22:29 UTC
Monitoring - Our Engineering team has implemented a fix for the issue affecting the Cloud Control Panel, API, and related services. We are observing recovery, and users should now be able to access their accounts and use the API without errors.

We are continuing to monitor the situation closely and will provide an update once full resolution is confirmed.

Oct 10, 21:56 UTC
Investigating - Our Engineering team is investigating an issue impacting multiple services including the Cloud Control Panel and API.

Users may encounter errors when accessing their accounts or using the API.

We are actively working to resolve this issue and will provide updates as soon as more information becomes available.

  •  

Tesla starts slashing prices amid costly battle with BYD

Tesla has cut prices on its bestselling models to compete with Chinese rivals that have been giving it a run for its money. On October 7, the company reduced the...

© Dhiraj Singh/Bloomberg/Getty Images

A worker cleans a Tesla Model Y electric vehicle at the newly opened Tesla Inc. store at Bandra Kurla Complex (BKC) in Mumbai, India, on Tuesday, July 15, 2025. Tesla opened its first India showroom, showcasing Model Y cars priced at nearly $70,000, as Elon Musk's electric-vehicle maker looks to tap new markets and offset slowing sales where it's already well established. Photographer: Dhiraj Singh/Bloomberg via Getty Images
  •  

What is recommended when moving from Wordpress?

Hi. I am thinking of moving away from Wordpress. Has had a lot of suggestion to use this and that, ”headless”(I think it was)but I have earlier used Drupal as admin on a small firm. It was however installed and developed by a web company. Never worked with layout or so, but I gave done my own layout in WP, based on a Genesis child theme. So I am somewhat familiar with css and such. Many years ago I also buit a ”flat” webpage in html and css. I was tild that Drupal is difficult, but I am in no hurry. So what do you think would be the correct way: Drupal 11 or Core? I just read about Drupal CmS which seems to be a new version. Is that a better choise to me? I was also told that Bootstrap 5/Barrio is a good choise if I am used to work in Genesis. I think I could use some plugins though since coding those is above my limit of knowledge. What I think is essential for my current wordpress site(s) are: Autoptimize Contact form Social media button bars SEO Framework WP Optimize And some sort if gig calendar. I use EventON. I understand that these are probably not available forDrupal. And maybe not even needed. But those are the ones I feel are critical on my WP installation.my websites are personal and not commercial. Which gives me a limitrd budget. If needed I can buy theme and some plugins, but can’t afford to hire a web developer.

Thankful for any help.

submitted by /u/TomasComedian
[link] [comments]
  •  

The Chinese migrant workers powering the deadly EV nickel boom

This story was supported by the Pulitzer Center and The Uproot Project Environmental Justice Fellowship. It was produced by Grist and republished by Rest of World. As W.H. Wong hugged his family goodbye...

© Wufei Yu/Grist

traffic around one of the main crossings near an entrance of the industrial compound in Morowali
  •  

SYD1 Network Maintenance

Oct 9, 14:00 UTC
Completed - The scheduled maintenance has been completed.

Oct 9, 11:00 UTC
In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.

Oct 7, 11:26 UTC
Update - We will be undergoing scheduled maintenance during this time.

Oct 7, 11:24 UTC
Scheduled - Start: Oct 09, 2025, 11:00 UTC
End: Oct 09, 2025, 14:00 UTC

During the above window, our Networking team will be making changes to the core networking infrastructure to improve performance and scalability in the SYD1 region.

Expected impact:

We do not anticipate any downtime for Droplets or Droplet-related services, including Managed Databases, Load Balancers, App Platform, and Managed Kubernetes, as this maintenance has been carefully designed and tested to be seamless. In the unlikely event that an undetected misconfiguration occurs, a subset of customers could experience temporary network disruption. We will endeavor to keep this to a minimum for the duration of the change.

If you have any questions related to this issue, please send us a ticket from your cloud support page. https://cloudsupport.digitalocean.com/s/createticket

  •  

Is there a way to auto-translate user comments based on the interface language in Drupal?

Hi! I'd like to know if it's possible for users to post comments in the language they have selected on the language switcher, and then have those comments automatically translated when another user views the page in a different language.

For example: a user in Chicago browses the English version of the site and posts a comment in English. Later, someone in Bogotá visits the Spanish version of the same node and sees that comment automatically translated into Spanish.

My site is fully multilingual with a single content type. Content translation is enabled, so I manually translate each node to have two versions (Spanish and English). However, I’d like comments to be translated automatically by Drupal (or an integration), rather than doing it manually for every comment.

submitted by /u/kayograco
[link] [comments]
  •  

Removing a view link from /admin/content

Removing a view link from /admin/content

Hi everyone-

Running Drupal 10.3

You know the list of views across the top of one's admin/content screen?

https://preview.redd.it/k9vwlvdjmjtf1.png?width=1594&format=png&auto=webp&s=481bccf381ad6f53ab046635ef7dc87ca8794e6f

How do I delete one of those? Going to /admin/structure/views and disabling the view or even deleting it didn't seem to work. In fact, deleting it not only didn't disable the link, the link still took me to the admin view!

In our particular case we want to remove "Comments" from that list.

Thanks!
J

submitted by /u/dietdew72
[link] [comments]
  •  

Kubernetes Clusters in TOR1

Oct 6, 19:11 UTC
Resolved - Our Engineering team has resolved the issue impacting Managed Kubernetes clusters in our TOR1 region. We apologize for the inconvenience and appreciate your patience throughout this event. If you experience any further problems or have any questions, please open a support ticket within your account.

Oct 6, 18:15 UTC
Investigating - Our Engineering team is investigating an issue impacting Managed Kubernetes cluster creation and management operations in TOR1 region. During this time, some users may experience errors provisioning new Kubernetes clusters as well as making changes to existing clusters. Workloads on existing clusters are not impacted at this time. We apologize for the inconvenience and will share an update once we have more information.

  •  

Question Json API sur site Multilingue

Bonjour à tous !

J’ai une question pour les experts de JSON:API

J’ai un site Next.js en front et un Drupal en back-end. La communication se fait via JSON:API, et le site est multilingue.

J’utilise Redis pour améliorer les performances, et je souhaite pré-générer les caches Redis via une cron.

Le problème : lorsque j’exécute le cron, les données mises en cache sont toujours dans la langue par défaut (ou celle du back-office), au lieu de respecter la langue que je passe dans ma boucle.

→ Connaissez-vous une manière fiable de forcer la langue de contexte lors de l’exécution d’une cron ou d’une sous-requête JSON:API en PHP (via $this->kernel->handle() par exemple) ?

Pour donner plus de contexte, voici un extrait du code utilisé dans mon cron :

$cache = \Drupal::service('lagoon_global.cache'); $languages = ['en', 'fr', 'de', 'es', 'it', 'pt-pt']; foreach ($languages as $language) { $cache->lifeOnBoardListJsonApi($language); } 

La méthode appelée :

 $collection = $this->jsonapi_client->getNodeCollection('life_on_board', $filters, $options, true, $language, true); 

et ensuite la méthode getNodeCollection est :

public function getNodeCollection(string $bundle, array $filters = [], array $options = [], bool $decode = true, ?string $language = null, ?int $runAsUid = null) { $prefix = $language ? sprintf('/%s', $language) : ''; $path = sprintf('%s/jsonapi/node/%s', $prefix, $bundle); $query = [ "filter" => $filters, ...$options ]; return $this->requestJsonApi('GET', $path, $query, null, $decode, $runAsUid); } 

et finalement :

public function requestJsonApi(string $method, string $path, array $query = [], $body = null, bool $decode = true, ?int $runAsUid = null) { $server = [ 'HTTP_ACCEPT' => 'application/vnd.api+json', 'CONTENT_TYPE' => 'application/vnd.api+json', ]; $query[] = []; $secret = getenv('JSONAPI_SECRET_KEY'); if ($secret) { $server['HTTP_secret-key'] = $secret; } $request = Request::create($path, $method, $query, [], [], $server, is_array($body) ? json_encode($body) : $body); $response = null; if ($response === null) { $response = $this->kernel->handle($request, HttpKernelInterface::SUB_REQUEST); } $status = $response->getStatusCode(); $content = $response->getContent(); if ($status < 200 || $status >= 300) { $this->logger?->error('JSON:API {method} {path} a renvoyé {status}: {body}', [ 'method' => $method, 'path' => $path, 'status' => $status, 'body' => $content, ]); throw new \RuntimeException(sprintf('Erreur JSON:API %s %s (%d)', $method, $path, $status)); } return $decode ? json_decode($content, true, flags: JSON_THROW_ON_ERROR) : $content; } 

Merci d’avance pour vos idées ou retours d’expérience !

submitted by /u/One-Peace4941
[link] [comments]
  •  

How to reliably add Bootstrap classes to blocks in a specific region in Drupal 11?

Hi everyone,

I’m working on a custom Drupal 11 subtheme based on Bootstrap 5 and I want to achieve the following:

Goal:
I have a footer region called footerblocks and I want all blocks placed in this region to automatically get Bootstrap 5 classes like col-md-4 and mb-4, so they layout nicely in 3 columns.

What I’ve tried:

  1. Using hook_preprocess_region()Problem:foreach (Element::children($variables['content']) as $key) { $variables['content'][$key]['#is_in_footerblocks'] = TRUE; }
    • I iterate through $variables['content'] with Element::children() to flag blocks inside footerblocks.
    • Then, in hook_preprocess_block(), I check for this flag and add the classes.
    • Sometimes $variables['content'] is a Markup object instead of an array, which causes a TypeError.
    • Even after fixing with is_array($variables['content']), some blocks in footerblocks are never flagged, and I get logs like: Block b5subtheme_belangrijkelinks_3 processed. Region: NONE. (No footerblocks flag found)
  2. Trying to detect region in preprocess_block()
    • I check $variables['elements']['#configuration']['region'] or $variables['elements']['#block']->getRegion().
    • This works for some blocks but not reliably for all, and I’m not sure if I’m missing something about render arrays or region naming.
  3. Using block--footerblocks.html.twig I considered creating a custom block template for the footerblocks region (e.g., block--footerblocks.html.twig) and adding the Bootstrap classes there. Problem: Some blocks still don’t render with the correct classes, and I want a method that works for all blocks automatically, without creating a separate template for each block.

Questions:

  • What is the best/reliable way in Drupal 11 to detect if a block is placed in a specific region?
  • Is there a safer way than preprocess_region() + flags to automatically add classes to all blocks in a region?
  • Could there be a problem with how my region footerblocks is defined or rendered in a Bootstrap 5 subtheme?

Thanks in advance for any guidance or examples!

submitted by /u/Prof-ChromeOS
[link] [comments]
  •  

Young people in China are embracing AI therapy

Jiying Zhang, a nutritionist and health coach, saw a therapist for four years before she decided to try DeepSeek. She was immediately impressed. The artificial intelligence model provided support instantly,...

© Rest of World/Getty Images

  •  
❌