❌

Normal view

It's time for a facelift. What's your theme recommendation?

I took over the maintenance of a website since the pre 8.7 days. We are now at version 11.

It's time I redo the theme. I also want to include Drupal Canvas.

Which starter themes do you guys recommend? And why?

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

Is Drupal Canvas not compatible with Hostinger?

Sorry to be bothering you all again.

The good news is thanks to your help I have a site working on local and I'm very happy with how it looks and how its functioning!

The bad news is I cannot seem to deploy it to Hostinger. I chose it for hosting because it was mentioned on the Drupal website.

But when I upload the files from my project I get a 403 error. I've tried just adding the necessary modules to remake my site, however when I enable the Drupal Canvas module I get a message saying "The website encountered an unexpected error. Try again later."

I'm not sure if I'm missing a step preparing my local project for deployment to Hostinger and I'm concerned it won't work at all because I used the Canvas module.

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

jdrupal-dev/drupal_ls: Now available in VSCode Marketplace!

jdrupal-dev/drupal_ls: Now available in VSCode Marketplace!

Hi community,

A while ago I announced the existence of "drupal_ls": https://www.reddit.com/r/drupal/comments/1nd6z36/announcement_new_language_server_for_drupal/

Drupal LS is a language server providing IDE-like intellisense features for Drupal 8+.

Until today the language server could only be used in Neovim, Emacs, or similar editors.

Now the language server can be used in VSCode as well! You can install the extension from the Marketplace: https://marketplace.visualstudio.com/items?itemName=jdrupal-dev.drupal-ls

Enjoy :)

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

Struggling with page logic in drupal (and drupal themes)

Struggling with page logic in drupal (and drupal themes)

I'm very new to drupal, so I apologize if this is a dumb question.

I'm trying to set up a drupal theme to use for my webcomic, however I'm struggling with the logic for the page navigation.
How do I point to the next/previous and first/last items? I found some resources using php, but I don't know where it would go in the code and I'm not sure if I should be setting up the page navigation as part of the custom theme.

this is not the drupal theme (though I do hope to get it here) I started in react before I abandoned my original idea of hooking a react front end to a drupal back end and instead just decided to do the whole thing in drupal

The goal is for each page to have buttons at the bottom that point to the next comic page, previous comic page, first page, and latest page (which is also the home page). I saw a post from 6 years ago with a similar question, but the top comment only said to 'theme it in HTML/CSS/JS' first, but I'm stuck on how to set up the page logic, which would be interacting with the cms?
I set up my project with composer and am currently using ddev if that is relevant.

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

The year in charts

30 December 2025 at 06:00
We at Rest of World love a good chart. So much so that this year we launched Charts, a page dedicated to preserving all the original charts we put into...

Β© Sebastian Cestaro for Rest of World

[Drupal 10] How are file-type icons handled after migrating from Drupal 7?

[Drupal 10] How are file-type icons handled after migrating from Drupal 7?

I'm new to Drupal development and recently migrated a Drupal 7 theme to Drupal 10. In Drupal 7, the file fields displays file-type icons (e.g., icons/application-pdf.png) next to file links, but after migrating to Drupal 10, those icons are no longer displayed, and I’m unsure how file-type icons are handled in the newer versions of Drupal. While searching the codebase, I found the following icon files:

$ find . -type f -iname "application-pdf.png" ./core/themes/claro/images/classy/icons/application-pdf.png ./core/themes/starterkit_theme/images/icons/application-pdf.png ./core/profiles/demo_umami/themes/umami/images/classy/icons/application-pdf.png 

I can confirm that file metadata (such as file size) is still available and rendered correctly via my custom Twig template my_custom_theme/templates/field/file-link.html.twig (this file is a copy of core/modules/file/templates/file-link.html.twig without any change. I can remove it when suggested) as shown below:

<!-- BEGIN OUTPUT from 'core/modules/system/templates/field.html.twig' --> <div> <div>Paper</div> <div> <!-- THEME DEBUG --> <!-- THEME HOOK: 'file_link' --> <!-- πŸ’‘ BEGIN CUSTOM TEMPLATE OUTPUT from 'themes/custom/my_custom_theme/templates/field/file-link.html.twig' --> <span class="file file--mime-application-pdf file--application-pdf"><a href="/sites/default/files/manual/computer.pdf" type="application/pdf">computer.pdf</a></span> <span>(2.26 MB)</span> <!-- END CUSTOM TEMPLATE OUTPUT from 'themes/custom/my_custom_theme/templates/field/file-link.html.twig' --> </div> </div> <!-- END OUTPUT from 'core/modules/system/templates/field.html.twig' --> 

However, there is no CSS style named file in Chrome developer tools. See the screenshot below:

Screenshot of the Chrome developer tools

What I’d like to achieve is to display a file-type icon (say icons/application-pdf.png or svg whatever Drupal 10 default is) before the file link, similar to Drupal 7.

A workaround would be to copy the icons from core/themes/claro/images/classy/ into my custom theme and adjust the CSS in my_custom_theme accordingly, but this doesn’t feel like a clean or recommended solution.

What is the proper way to display standard file-type icons next to file links in Drupal 10?

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

Migrating Gutenberg-based website to Drupal Canvas

I have gutenberg-based websites running with domain module to host multiple URLs. I had a bit of performance issues, and it was difficult to control 10+ domains with current setting, so I have waited for months to update the entire system.

Now that Drupal Canvas is rolled out its official version, I wonder if it is worth the try, or should I wait more.

Together with 11.3 upgrade (currently rolling 11.2.3), I want to put all these website issues behind, and move on. I am not sure how the Drupal Canvas's sub-module ecosystem is forming and how much dependency it still has to legacy ones like paragraph.

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

How to publish distributions as Composer templates

Hi folks, I've contributed a Drupal 11 distribution (install profile with distribution key in *.info.yml). Everything works as expected with that.

Nevertheless, now to install a new Drupal instance with my install profile, I need to create a Composer Drupal project, pull my installation profile and then proceed with the installation, which succeeds my needs.

Instead, I'd like to go for "composer create-project drupal/vikttorius-distribution" which does all the above in one step.

What I'm missing is the procedure for Drupal.org to publish Composer projects under drupal namespace. Something is slipping through my slipping my mind.

IA is telling me to open a support ticket in Infrastructure issue queue, which doesnt sound right to me.

Also I read, but unsure about that, the Drupal Recipe Initiative is related to me topic.

Could you add some light to this topic?

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

Governments welcomed data centers. Now they’re grappling with the fallout

19 December 2025 at 06:00
Countries around the world are investing millions of dollars in building data centers to meet the growing demand for generative artificial intelligence, while also storing data within their own borders....

Β© Tamara Merino for Rest of World

Law student and activist Rodrigo Vallejos stands in front of Google's data center water storage tanks in the Quilicura district. The data center extracts water from the district's underground wells. Vallejos has been monitoring data centers in Santiago's metropolitan area for the past two years.

New to Drupal , looking for beginner advice

Hi everyone,

I’m new to Drupal and just getting started with it. I’ve mostly worked with other CMSs before, so Drupal feels a bit different and powerful at the same time.

I wanted to ask: what are the best things a beginner should focus on first? (modules, theming, configuration, etc.)

Any tips, learning resources, or common mistakes to Avoid would be really helpful.

Thanks in advance,,,,,

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

People as content types

As I’ve been exploring Drupal more and more, it has dawn on me that β€œContent Types” do not necessarily have to only be public facing things for a site - articles, posts, videos, etc. It occurred to me that I could manage my organization’s roster of members and students by making each its own content type and building Views to display them.

I would appreciate hearing from some of the experienced site builders here about some of the less conventional Content Types you’ve used.

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

Rich editing with custom fields

I’m primarily a Laravel dev with a mix of React and Vue. I’ve been just barely dipped my toe into experimenting with Drupal since a lot of the things I build are really centered around content management.

My question is how much of an uphill battle down the road will it be to integrate very customized fields into the admin UI? I’m thinking things like maps, basic multimedia editing, niche drag-and-drop stuff. If there’s a library or I have the hours to build it out in React this is pretty straightforward in Laravel, but I haven’t found a ton on this in Drupal. I don’t believe in forcing systems to do things that aren’t a good fit, and I’m wondering if I’m trying to fit a square peg in a round hole by looking at Drupal for this kind of thing.

submitted by /u/Miserable-Claim-7370
[link] [comments]
❌