❌

Normal view

Creating Custom Theme Settings in Drupal 10 (D8)

I am running a multisite environment (70+ sites) where some sites need to have the same "ribbon menu" above my main navigation. I currently have one theme and would like to keep it that way.

How can I add a "checkbox" to my theme settings that, if checked, will insert a specific twig file in a region. Otherwise, that twig file is not inserted.

I was able to do something similar in D7, but can't figure out how to do it in D8/10 and Drupal's documentation isn't very clear.

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

I want to make a website for ski and snowboard courses β€” can Drupal help me?

I want to make a website for ski and snowboard courses β€” can Drupal help me?

I’m looking for a CMS to build a website for a ski and snowboard school to promote its courses. One of the website pages should display a list of course names with their cover photos, locations, and dates, with the ability to click through to a detail page where visitors can purchase the course. An example is attached.

Ideally, it would also be possible to organize courses by categories and provide a search functionality based on categories, locations, dates, and other criteria. However, this is more of a β€œnice to have” feature for the future rather than a top priority at the beginning.

The last time I worked on a website was more than 15 years ago, when I used Joomla. I have never used Drupal before, so now I’m looking for the right CMS to meet these needs. Could Drupal be a good option? Are there any free or one-time-purchase extensions that could cover these requirements? If not, how complex would the development be?

For context, I work as an SAP consultant and mainly code in ABAP. I assume I could handle some simple web development tasks myself, but in case of more complex requirements I would likely hire a specialist.

submitted by /u/Siberian-Boy
[link] [comments]

Announcement: New language server for Drupal!

Announcement: New language server for Drupal!

Hi community,

I have built a language server for Drupal and used it daily the last 8 months. This language server allows you to do Drupal development in LSP compatible code editors such as neovim or VSCode.

Some of the features include: - Completion for service names, permissions, route names, and various plugin IDs. - Go to definition on services, controllers, and routes. - Snippets for hooks, form elements, and render elements.

NB: I have not tested it in VSCode and it probably requires a small code change to write the integration, but it follows the standard LSP specification, so no major work is required to integrate it.

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

⭐ Registrations Now Open for DrupalSouth Community Day 2025 ⭐

⭐ Registrations Now Open for DrupalSouth Community Day 2025 ⭐

DrupalSouth Community Day is back!

Join us in Canberra on Thursday 6 November 2025 at the Canberra Southern Cross Club – Woden for a full day of learning, sharing, and connecting with the Drupal community.

This year’s program features a mix of 30 and 60-minute sessions running across two tracks, with something for everyone β€” whether you are building, designing, managing, or just curious about Drupal.

πŸ‘‰ Learn more: https://drupalsouth.org/events/drupalsouth-community-day-2025

🎟️ Register here: https://events.humanitix.com/drupalsouth-community-day-2025-canberra

https://preview.redd.it/7hcjwhwgr1of1.jpg?width=1200&format=pjpg&auto=webp&s=3641299ae2fd6769a86f7c1edfb22310f3c1776f

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

Rules/ECA not working for automatic content publishing based on a field value in Drupal 11

Hi everyone, I'm currently using Drupal 11 and I have a specific content type. Within this content type, there's a list field with an option, for example, "free." The content itself is not published by default, and users cannot change this setting. My goal is to automatically publish the content whenever the "free" option is selected in the list field. I've already tried using the Rules and ECA modules, but they haven't worked for me. I'm not sure why. Can you please help me?

submitted by /u/Spare-Sign1827
[link] [comments]

Using Flags multiple times per node

Has anyone else been in a situation where you were asked to use the same flag (like bookmark this node) at the top of the node and the bottom, and had to solve for the issue where AJAX will cause clicking one to scroll to the other since they’re identical?

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

EU devs: Will your site be faster, greener and cheaper?

First of all: Yes, I am trying to get the word out about my new product, and I want to be honest about that. Do know that I genuinely think this can be useful for all of you, and I’d really appreciate your feedback!

Anyway, getting a website ready for scale can be tricky. Caching is hard, cloud providers can be overwhelming, and it’s not the work you like to be doing. I know, I’ve been there πŸ˜‰

That’s why I’ve built Silvan Bolt. It sits in between your domain and your server (which can be a simple and cheap VPS, or whatever you’re used to). The pages and assets of your website will be cached automatically, even before the first user hits your site, making everything lightning fast.

Yes, this is kinda like CloudFlare, but much simpler and with a different mission: This is all about the environment. From every euro we make, half of it goes to planting trees and other planet-restoring-initiatives.

At this point I’m hosting it the Netherlands, because that’s where I’ve found the most green provider I know. Running on renewable energy, and reusing the heat from servers to warm public buildings and water for showers. If you know anything like this elsewhere in the world I’m very interested in that! But at this point I’m looking for devs in the EU, to start things out.

So, would this be something you’d use? What are the results of the test on the page? Is your site getting much faster and is everything still working properly? Please let me know ☺️

https://silvan.earth/bolt

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

Deploy Drupal in docker with nginx - Suggestion for improvements

Hello, 2 years ago, I was working for a customer and I needed to install Drupal inside a VPS, and I was facing many issues with the typical PHP configuration, so I decided to use Docker, in which I set up the configuration.

I created an article for my company website and a GitHub repository, and unexpectedly, the SEO ranked a lot, and it was receiving traffic daily. And for this reason, due to another customer's work, I had the opportunity to update the codebase recently, specifically for SSL and Drupal 11.

I want to share because I would like to receive feedback for further improvements, and it can even be helpful for other people with the same issue as me.

The configuration I had been using is:
- Nginx for public access with a reverse proxy that manages SSL certificates
- PHP FPM + Drupal + Composer
- MariaDB / MySQL
- PhpMyAdmin as extra.

And the issue I was facing is the permission management with SSL certificates generated by the hosting machine, in which Docker has trouble reading, as it doesn't have root access to read the SSL certificates, and I must do a local copy, making trouble every 3 months. And I was considering a solution like certbot image.

Feel free to be critical, but not offensive.

Thanks:

Github link: https://github.com/AndreaCorda01/drupal-docker-boilerplate

Website blog: https://www.geonovation.it/article/how-deploy-drupal-website-linux-nginx-and-docker

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

Why is so hard to make custom twig templates for Drupal?

Hi all,

Drupal is great for creating custom content types, setting up layouts, placing reusuable blocks but the one thing it is terrible at is making custom templates.

Why is there no option in views for me to simple select that i want all fields to simple come back in a certain tag and just get the text value, for example

<span>field_blog_title.value</span>

<img src="{{ field\_blog\_featured\_img.url }}" />

<p>field_blog_summary.value</p>

If Drupal was better at this i swear the usage would sky rocket.

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

Should Junior devs learn Drupal?

I have six months of experience working with PHP (Laravel, Wordpress) and have been wanting to find a job with Drupal for a long time, but I can't find any junior positions, and there are only a couple of mid-level positions. Is Drupal generally relevant for junior/mid-level positions anywhere?

submitted by /u/Admirable-Way2687
[link] [comments]

Views responsive grid doesn't work in D10.5

I use the default responsive grid for the view, but its not responsive on browser and mobile, am i possibly missing something ? Drupal 10.51 ,
I am using the bartik theme , it's not responsive on desktop and mobile both.
I change to Olivero theme, it's responsive on mobile but not on desktop
I tested on Chrome and Edge both on desktop.
If you have experience with this, please advise, Thank you.

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

Being a freelance developer without speaking English well

I'm a Drupal developer with approximately 4 years of experience. I've worked in both the backend and frontend. I've also worked in devops (with Docker or Kubernetes).

Is there a freelance market in the United States for Drupal developers (Spanish-speaking) who can speak English fairly well, but not so well?

I'm from South America and I'm currently earning around $15 an hour. I'd like to reach around $20-$25 an hour.

Is this a pipe dream, or is it possible?

To illustrate what I can do, I can list some tasks such as:
- Configuring content types

- Configuring custom block types

- Using these blocks in page layout builders

- Creating twig templates, along with their necessary style sheets or JS files. That is, I can convert a Figma design into a reusable block configuration in Layout Builder.

- Custom modules for settings forms or third-party integrations.

- The entire theme includes hooks, whether entity or preprocessing.

- Building Docker images and deploying with Docker Compose or Kubernetes (manifests).

Well, I think that sums up a bit of what I can do with Drupal.

Thanks.

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