❌

Normal view

Received β€” 14 January 2026 ⏭ Drupal - Open Source Content Platform | #Celebr8D8

Can't set cache age on custom block

I have a weather block I built. Obviously I don't want it cached for the next week, but this is what Drupal is doing using its out of the box page caching.

That would be fine if I could find a way to override this, but I can't. I've tried everything suggested on various forums, but nothing is working.

The last thing I tried was creating a lazy builder but I couldn't even get that to work.

I don't entirely understand how Drupal caching works. But all I want to do is set the cache of the entire node (or ideally just the block) to an hour or two.

I have Redis caching set up if this makes any difference.

Any ideas? Thanks

EDIT:

I seem to have something working, although it's possibly not as granular as I would like. I did 3 things, and I'm not sure which worked and whether it was individually or in combination.

  1. Installed the Cache Control Override mod - https://www.drupal.org/project/cache_control_override

  2. Added this to my settings file:
    $config['system.performance']['cache']['page']['max_age'] = 3600;

  3. Added this to the block build array (in conjunction with existing 'max-age' => 3600,):
    'tags' => ['weather:' . $nid],

Will now do some experimenting to figure out which is essential. Note - It didn't work without 3.

submitted by /u/gwenver
[link] [comments]

What’s the most frustrating thing about maintaining a Drupal site?

I’ve been working with Drupal for a while and I’m curious how others handle ongoing support and maintenance.

When you run into Drupal bugs, configuration issues, or performance problems:

- Do you rely on forums?

- Slack/Discord?

- Internal devs?

- External support?

What works well for you, and what doesn’t?

I’m genuinely interested in how different people manage this, especially for smaller teams or solo developers.

submitted by /u/Common-Sign-2535
[link] [comments]

Drupal Canvas - a deep dive with Lauri and Balint

Drupal Canvas - a deep dive with Lauri and Balint

In this podcast like video, I sat together with Lauri and Balint and talked about Drupal Canvas, from the very beginning, to the strategy, technical details like the data structure, react and astro islands as well as the future of Drupal Canvas.

There are a lot of learnings and insights - not only about Drupal Canvas as a product, but also about how the CMS market will eventually evolve, how AI is changing the way we build products and React coming to the Drupal project.

submitted by /u/Hopeful-Fly-5292
[link] [comments]
Received β€” 13 January 2026 ⏭ Drupal - Open Source Content Platform | #Celebr8D8
Received β€” 12 January 2026 ⏭ Drupal - Open Source Content Platform | #Celebr8D8

I'm hitting a dependency conflict

I just started with Drupal in my current company(fresher, no prev knowledge either)

I'm in a project where they are running Drupal 10.2.7 on XAMPP with PHP 8.3.27 installed locally. I'm trying to install the config_split module and upgrade to Drupal 11, but I'm hitting a dependency conflict.

The Error:

When I run composer require drupal/config_split, I get:

drupal/search_api_solr 4.3.10 requires maennchen/zipstream-php ^2.2.1|^3.0.2 maennchen/zipstream-php 3.2.0 requires php-64bit ^8.3 Your php-64bit version (8.1; overridden via config.platform, actual: 8.3.27) does not satisfy that requirement. 

This issue is repetitive, for upgrade_status as well as Keys Module.

Context:

  • I manually installed PHP 8.3.27 (outside XAMPP's bundled version)
  • My composer.json still declares PHP 8.1 in the config.platform section
  • I can't wait for XAMPP to update or switch to Docker/Landoβ€”need a quick solution
  • I'm using SearchStax (so I need to keep search_api_solr and its dependencies)
  • Eventually want to upgrade Drupal 10.2.7 β†’ 10.3 β†’ 11.x

And have been told to not update composer since it brings about multiple thousand changes.

can somebody pls tell me any solution for this?

submitted by /u/Beneficial_Fudge6737
[link] [comments]
Received β€” 11 January 2026 ⏭ Drupal - Open Source Content Platform | #Celebr8D8

Best Use Cases for Drupal Canvas?

UPDATE: See end for some things I figured out.

I'm giving Drupal Canvas a look through and I'm trying to figure out where it works into the kind of sites I work on. It looks to me that Drupal Canvas is (currently) only a solution for building stand alone pages.

Is this accurate or am I missing something?

The sites I work on are highly structured and template driven. I'm just looking for something that will allow me and my users some flexibility within that structure, but not something that would require every publishing action to be a design decision. My current favored approach is to break the pages down into component blocks that can be manipulated with Layout Builder.

For the forseeable future, it looks like that might still be the most sensible approach?

---

UPDATE: I'm wrong that Drupal Canvas is only for building stand alone pages. It can also be used to manage a Display Mode layout or your site wrapper. The latter is evident since Canvas will actually disable your ability to use the Blocks Layout admin console for any theme that's added to Canvas.

However, speaking from the viewpoint of someone who builds sites with highly structured content, Canvas still appears to be most appealing to someone who would *want* to build stand alone pages with it.

Also, the best demo of Canvas I've found is the one in Drupal CMS 2.0 Beta. All the other ones I've tried are worthless.
https://www.drupal.org/project/cms/releases/2.0.0-beta2

submitted by /u/sysop408
[link] [comments]
Received β€” 9 January 2026 ⏭ Drupal - Open Source Content Platform | #Celebr8D8

Where does drupal 11 write data?

Just trying to learn Drupal, I'm working on a mac. I created a simple drupal11 project using ddev, in a directory 'my-drupal11-site.

Then I created a new page and linked it, and created a new user. So fine.

I'm trying to understand where drupal puts things on the filesystem, but I don't see any changes there, in the directory 'my-drupal11-site'. Where did Drupal put the new user and it's password? I haven't yet installed a db.

I do see modules that I added, but otherwise the filesystem seems untouched.

I'm also using drush, the set of commands I used to make this project:

mkdir my-drupal11-site

cd my-drupal11-site

ddev config --project-type=drupal11 --docroot=web

ddev start

ddev composer create drupal/recommended-project

ddev composer require drush/drush

drush site:install --account-name=admin --account-pass=admin -y

ddev drush uli (optional)

ddev launch

tldr: Where does drupal11 write to on a mac?

submitted by /u/Severe-Distance6867
[link] [comments]
Received β€” 8 January 2026 ⏭ Drupal - Open Source Content Platform | #Celebr8D8

Empty states, YUK!

Empty states, YUK!

I'm currently building Webhaven, a better way to build with Drupal.

In the video you can see the "empty state" when setting up a new Drupal project with Webhaven.

I'm curious if everything is clear and if you miss something? All feedback is welcome!

I'm currently working hard on getting Drupal Canvas in, feels like I'm almost there. Really excited with how good Canvas works and the editor experience.

If you want to get notified when Webhaven launches you can sign up on webhaven.io/get-notified

submitted by /u/Fonucci
[link] [comments]
Received β€” 7 January 2026 ⏭ Drupal - Open Source Content Platform | #Celebr8D8

Drupal mapping

Anyone have experience with Drupal 10/11 and building maps using Geofield. We did it before but now the site is deprecated and we want to start over. Chipping away but it's taking too long. We have a database of industrial points and want to put them on a leaflet map. Some additional feeds from public sources including parcel data. Looking to use AI for searching location data. Does that make any sense?

submitted by /u/semajnielk
[link] [comments]

Looking to build my first website on Drupal

Hi, may any of you recommend free hosting options most suitable for Drupal? The reason I seek free hosting is the fact that I would like to evaluate it myself first before making any kind of commitment with a hosting provider. I'm pretty new with Drupal and am in the course of building my first e-commerce website.

submitted by /u/jefferymr15
[link] [comments]
Received β€” 6 January 2026 ⏭ Drupal - Open Source Content Platform | #Celebr8D8
Received β€” 5 January 2026 ⏭ Drupal - Open Source Content Platform | #Celebr8D8

Drupal 11 / Drupal CMS: real onboarding issues (migration, UX, docs, basics)

Drupal 11 / Drupal CMS: real onboarding issues (migration, UX, docs, basics)

TL;DR

After working with Drupal 11 / Drupal CMS on a real WordPress β†’ Drupal migration, I found that many common tasks (migration, search, comments, avatars, backend usability, Views) are harder than expected due to outdated or fragmented documentation. Drupal is extremely powerful, but onboarding and "basic" workflows still feel unnecessarily complex, especially for newcomers or people coming from other CMSs.


I'm writing this after several weeks of hands-on work with Drupal 11 / Drupal CMS, mainly while migrating a real blog from WordPress.

This is not a rant, but a collection of real difficulties I ran into, which I believe are mostly caused by outdated, fragmented, or overly implicit documentation. Maybe this can help others, or spark a constructive discussion.

1) WordPress β†’ Drupal migration: common use case, weak tooling

In theory, WP β†’ Drupal migration should be a well-covered scenario. In practice:

  • Migration modules did not work reliably in my case
  • Very little guidance for real-world data (comments, authors, media, taxonomy)
  • I eventually had to write a custom migration script to get full control

Drupal's flexibility is great, but for such a common task I expected something more robust and better documented.

2) Even basic things are not really "basic"

A simple example: adding search. It's doable, but:

  • Too many steps
  • Too many alternative approaches
  • Unclear which one is the recommended way today (Drupal 11 / CMS)

Most guides assume prior Drupal knowledge, which makes onboarding harder than necessary.

3) Comment form UX: subject, required fields, placeholders

The comment form was one of the most frustrating parts:

The subject field: - Even if disabled, it still appears in the frontend - Not obvious how to make it properly required or fully removed

Placeholders for name and email are not easily configurable

Default UX feels outdated. I solved everything with a custom module, but for such basic UX requirements this feels excessive.

4) Avatars / Gravatar: unclear and undocumented

Another confusing area is avatars / Gravatar:

  • It's not clear how avatar rendering is supposed to work today
  • Fallback behavior (initials, default images, anonymous users) is poorly explained
  • Configuration feels scattered or implicit

Again, I ended up writing a custom module just to have predictable and understandable behavior.

5) Backend usability: missing global search

In the admin UI I often thought: "I know this thing exists… but where is it?"

A global backend search (config, views, fields, content) would greatly improve usability, especially for newcomers.

6) Views: extremely powerful, but hard to internalize

I know Views is one of Drupal's core strengths, but honestly:

  • Very steep learning curve
  • Common use cases vs advanced ones are not clearly separated
  • Documentation often assumes you already "get it"

I still haven't fully internalized Views, and I suspect I'm not alone.

7) Drupal CMS vs Core: not always clearer

The idea behind Drupal CMS is great, but paradoxically:

  • Some things feel more direct in plain Drupal core
  • It's not always clear when CMS helps and when it adds abstraction
  • There's no clear "decision guide"

Final thought

I think Drupal today would really benefit from modern, practical, up-to-date documentation, especially focused on:

  • Drupal CMS
  • Real projects (blog, editorial site, comments, avatars, search, basic SEO)
  • "How to start from zero and reach a complete, usable site"

Many resources feel: - Written for much older Drupal versions - Or aimed at long-time Drupal developers

Drupal has huge potential, but onboarding is still its weakest point.

If others had similar (or opposite) experiences, I'd be very interested in hearing them.

submitted by /u/lupastro82
[link] [comments]
Received β€” 4 January 2026 ⏭ Drupal - Open Source Content Platform | #Celebr8D8

Can some gauge my skill set level?

I consider myself a junior dev. I have been with a Drupal site building company almost 3 years now.

I started with zero experience in mid 22'.

Now I have or can: - Built sites from scratch in 9, 10 and 11 - Built easy to somewhat complex custom modules - Built custom themes - Maintain and added custom features(modules, views) to drupal 7 sites - Installed Solr on the servers and configured with multiple sites - Installed Varnish on servers and configuring for multiple sites (not complete, Plesk has been difficult) - Installed and configured DDos and bot attack mitigation software on server eg fail2ban, warden, etc - Written custom scripts in bash to run periodically on servers the recognize http(s) request patterns from logs and bann IPs that fit patterns using with firewall and fail2ban - Considered the jump in dev for any issues with servers (my familiarity with linux systems) eg bots, ddos, slow, etc - I use drush and composer almost daily - Wrote a bash script, that would install Drupal 9 or 10 site, using composer and drush. Along with installing and enabling modules to be used. That had cut out like a 1-2 hour process to 5 minutes for the company. You just provided a list of the modules you want installed in a .txt file and site/db usrname/pswd in the script. - Also use version control everyday Git. - Know my way around plesk and some other server management systems. - Recently set up a paypal webhook for a site - Built custom modules to work with ubercart - Done migrating with feeds import and the migration toolkit. From d7 to d9 and d10 - Upgraded sites from d9 to d10 and 11 - Use DDev

Things I have not done: - Set up a site for payment with Ubercarts or Ecommerce - made contributions to any contrib modules or themes - uploaded any contrib modules of my own

What would you'll suggest to get me, so I could get to mid and senior level? I know there is a lot of necessary unknown unknowns.

Additionally, I like server and security stuff. Any certification recommendation? I am preparing for a RHCSA and Security+ to start.

submitted by /u/Queasy_Rule3768
[link] [comments]
❌