Reading view

First time code contribution

Maybe a dumb question but can any old schlub, like myself, push code to an issue fork to the fork's gitlab branch? There's an issue on a contrib module, and it has a patch that almost works. I made a small fix on my local that seems to completely fix it. I see the instructions on the issue page for pulling and pushing with git. Is that it?

I've been a long time Drupal dev, and I've always wanted to contribute back to the community but haven't been sure about the process.

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

Canvas and Display Builder comparison on building a page layout (1/3 article series)

Drupal site-builders rejoice! We currently have two major page building projects approaching production-maturity: Canvas and Display Builder.

In the first part of our hands-on article series we show you how to build a page layout and highlight the strengths and weaknesses of both solutions. If you ever wondered what is best for your next project but never had the time to do the testing yourself, this is for you. 🖖

Edit: Any feedback is appreciated!

submitted by /u/Andi-HOOK_DEV_ALTER
[link] [comments]
  •  

Why Drupal Needs Its Own Create-React-App — Meet the One-Line Installer

Why Drupal Needs Its Own Create-React-App — Meet the One-Line Installer

These are toughs that you got when you join the Drupal from other ecosystems. How can we help ourselves and our AI agents boostrap new projects in a way that is fast, reliable, repeatable and not involves the prompt-tweaking just to get the functional starting point for the site?

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

Un sito in italiano per imparare Drupal da site builder

Ciao a tutti 👋

sto lavorando a un progetto chiamato MieApp, pensato per chi vuole imparare ad usare Drupal per costruire web app senza saper programmare, cioè come un site builder puro.

Non è un progetto commerciale, ma un contributo alla crescita di Drupal, che uso da anni per scopi personali e lavorativi.

Il sito offre gratuitamente e senza registrazione una serie di mini guide pratiche, che passo passo suggeriscono come tradurre una necessità in un progetto Drupal, utilizzando una app di esempio che il lettore può anche veder girare dal vivo.

👉 Per ora è solo un abbozzo e mi farebbe davvero piacere avere un feedback, suggerimenti e critiche per migliorarlo e completarlo.

MieApp è qui

https://mieapp.bottasini.eu

Grazie 🤝

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

Building a Drupal website with AI

In a previous post I shared how I used Claude to create a Drupal website just by prompting and tweaking via the Drupal admin pages. Wasn't a perfect or the "Drupal way" of a website but it worked. Was mainly just twig files with raw HTML in there so most edits require editing the twig files.

BUT I took this workflow and had Claude analyze my AI Drupal site builder codebase to see what it was missing, and oh was it missing a lot. It filled in gaps I didn't even know about and was a lot better than me hammering and hoping.

After adding the workflow and testing/tweaking I finally got it to create a fully customized and working Drupal site running in DDEV!!

Then the easy part of porting it over to my web server to finally update a website I built in 2020 and hadn't touched it since. The final (and very basic) Drupal website is at: webdevday.com and my AI Drupal website will eventually be at drupod.com

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

Finally found a way to make Drupal Canvas AI actually look professional

I’ve been messing around with the new Drupal Canvas AI sub-module, but honestly, the layout output was driving me crazy. It felt like it was just guessing where things should go and ignoring my design system.

I just stumbled on this step-by-step video that explains the "Context" side of things. It shows how to actually train the AI using a coding agent to generate knowledge guidelines so it respects your component props and grids.

If you’ve been struggling with messy AI-generated pages in Drupal, this workflow is a game-changer:

It’s a quick watch but the part about the AI Context module saved me hours of manual tweaking.

submitted by /u/Familiar-Ad-2878
[link] [comments]
  •  

The marketplace feels like gatekeeping

Drupal's new marketplace is "certified partners only" during the pilot phase. The stated reason: ensure quality. The actual result: established agencies get first-mover advantage, small builders dont get invited to the ball.

Also, the marketplace seems like a gray area with the GPL. How are premium themes compatible, are the GPL parts contributed back to the community?

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

Update without rsync?

Update without rsync?

Hello. I hope you can help me here.

I am atthe moment trying to move from WP to Drupal. I use the Drupal CMS, latest version.

It includes a lot of modules that need to be updated.

However it requires rsync. My ISP claims that rsync is installed, but I get the alert that it is not installed.

So I go to the Drupal website in order to download the modules and update via FTP, which is the way I suppose I am ment to do it if no rsync.

I get this message:

https://preview.redd.it/xsit8xnlv6tg1.png?width=1274&format=png&auto=webp&s=dbf1a7d22f606afd4ef7211fc657264f07a7a34b

So as I understand it, manual installation is not recommended. Any ideas on how to be able to update Drupal modules?

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

First Drupal layout

First Drupal layout

Hi, I’m starting my first project in Drupal 10. I come from a WordPress background and have solid knowledge of HTML, CSS, JS and basic PHP.

I’m building a site with a custom homepage layout (two-column section + 3x2 grid of tiles).

https://preview.redd.it/yv8rs4l8xxsg1.png?width=1440&format=png&auto=webp&s=09643258cb386c1e4e1be56f312593be48b3baf6

My question:
Is it realistic to achieve this using Olivero + Layout Builder, or should I go straight to a custom theme?

I want to avoid solutions that could break or get overwritten during updates.

What would be the correct approach for this type of project?

Thanks!

submitted by /u/Trick-Tie-8651
[link] [comments]
  •  

Thing that annoys me | Blocks disappearing on deploy

TLDR;

Since I work on 3 Drupal environments (local, staging, prod) and each has a DB, every time I add a new block locally, then deploy to staging, it disappears. Of course, different DBs, different UUIDs, I get why this is happening. The block I have locally simply doesn't exist on staging, I need to go there and create it, add to the block layout, dump DB and do a config export from this DB, commit to the codebase and deploy again. Same with prod.

So around 10 steps and 4 deployments for adding a block to a Drupal website. How do you solve it? Simply ignoring block configs has obvious downsides.

More details

I add a new promo banner block locally → commit config → deploy to staging → block is gone because the UUID is different on staging. I then have to dump staging DB, re-export, merge the diff, redeploy. Then repeat the whole thing for prod. For a single block.

I know I could just throw `block.block.*` into config_ignore and call it a day, but that feels stupid - no git history, no rollback, one wrong click from me or teammates and the layout is broken on prod with no way to trace what happened.

My semi-idea

Ignore only the blocks that actually cause problems (views blocks, custom content blocks) but keep tracking structural ones like menus and branding.

Is this roughly what others do? Is there a cleaner solution I'm missing? Would love to hear how teams with a lot of blocks are handling this.

submitted by /u/rob4ik-bob4ik
[link] [comments]
  •  

people it is sad but devs are becoming redundand

i was able to update and upgrade my sites with ai, before nobody could help....i spend several days on slack, messaging also dev of specific theme...no answer.....ai knew everything. I havent visited slack now for over a year. For like moderate tasks in drupal ai is winner....it knows aeverything about every little module and you save like 99 % of the time...it is just amazing..... it knows ddev, docker, upgrades....altering theme...you name it....this is a major thing, because people on slack ususally are not the most friendliest

submitted by /u/maomao19
[link] [comments]
  •  
❌