❌

Normal view

Custom Module Error Correction by a Non-Developer using Claude

I've had a business website running in Drupal since 4.x. While I have some technical background, I always had a developer setting up the initial site and creating some custom modules. I would add some contrib modules as needed. I occasionally would make very minor changes in the custom modules.

I'm currently running a 10.x site that I had a developer help migrate up. One particular part of the custom module displayed some charts via the Google Charts contrib module. My developer set it up initially and it worked fine.

At some point during upgrade cycles, the charts stopped working. I was busy, they weren't mission critical, my developer was busy, and I didn't make it a priority to get fixed. It didn't look bad for my customers, just one relatively minor feature was not appearing.

During a recent security upgrade, the module started creating errors that showed up on the live site. Stuff that potentially looked off-putting to my customers.

I wanted to continue with the upgrade and thought: "How about this AI coding stuff?" I have only done one coding thing in AI before, a script for the CAD package I use. I can understand error messages enough to understand what modules were involved. I figured this would be a pretty safe experiment, just fixing some code to make it happy with the current Drupal environment.

I went to Claude, fed it all the files I thought might be involved. Fed it the errors I was seeing on the screen and from the system log and asked it if it could fix the problem. It said it could, it suggested changes to various files, and I obediently made the changes. It generated errors, I fed the errors back to Claude, more changes, more errors, changes, etc. until I hit a dead end...

Learning from my previous effort, I did a hard reset, started a new chat session, fed it more files than last time, fed it errors, made one query to send it in a direction that averted the dead end from last time, made the suggested changes, reported the errors, repeated that a few times until the errors disappeared, and then low and behold, the charts worked again.

Again, I know virtually nothing about the coding structure of Drupal, how to create modules, or make API calls. I can use Composer, Drush, and git, that's about it. My experience with Claude and ChatGPT is primarily researching the history of stuff and drafting legal documents. I understand that there are ways to set up Claude to do coding work, but I don't know what they are. I just asked it to fix the errors and learned enough during the 40-something minutes of effort to make it work. I will not vouch for the quality of the fix, but my site looks good.

I would have happily paid my developer to make the fix; they had more pressing jobs. I would have just let it slide, but I was interested to see what was possible, and I am impressed. Its not that Claude did something that is difficult, but that it allowed me to do something that was fairly easy but I didn't have the skills to do alone.

BTW, I let my Mac proofread this. It added some commas and a semicolon.

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

Do you really know how your website is performing?

We’re bringing the DrupalFit Challenge to DrupalCon Chicago!

We’re inviting the Drupal community to submit their websites for the DrupalFit Challenge – Chicago Edition.

Using our tool DrupalFit, we’ll audit submitted Drupal websites across key areas. The top websites will be recognized across five award categories, and the winners will be announced live at DrupalCon Chicago.

Winner will get exciting rewards!

If you’d like to showcase your Drupal project and see how it performs, we’d love for you to participate!

Submit your website here:
https://forms.gle/ik9XLR6kkMm9ygd66

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

Small higher Ed university is looking for freelancer or small firms to help to migrate from modern campus to drupal

I asked here before or Drupal would be good for it and while I got positive feedback I am still looking for a couple more proposals and options. Since the webpages have some issues. The university would on many pages provide json files with fixed headers and bodies.

If you are a freelancer or small firm, let me know and maybe we can see if we could work on that.

We are talking about a full website setup and probably somewhere between 1000 and 1800 pages they need to be moved. I am still working on precise numbers.

I asked the mods by modmail of I could post it here but they didn't get back to me with any answer, so I guess it's allowed.

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

Drupal Resources Recently Compiled

We compiled a curated selection of reliable Drupal resources for developers and site builders of all levels.
This is a purely informational resource with no ads or affiliate links.

It covers official documentation, tutorials, free e-books/guides, code examples, video courses, cheat sheets (Twig, Form API, etc.), themes/templates, extensions/modules (Token, Pathauto, etc.), Composer/Drush integration, Docker/local dev tools (Lando, DDEV), and more.

https://rshweb.com/blog-drupal-resource-tools

Suggestions for additional high-quality resources or recommendations to improve the list are always welcome.
Thanks

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

I built an OAuth 2.0 WebMCP bridge for Drupal so AI agents can interact with your site securely [New Module]

I wanted AI agents to be able to search and retrieve content from my Drupal site without exposing passwords or bypassing Drupal's permission system. I couldn't find anything that did this securely, so I built it.

AI Connect (webmcp_connect) is a Drupal module that lets AI agents interact with your site via OAuth 2.0 + PKCE β€” the same standard as Google and GitHub.

Real example: Tell Claude: "Search my site for articles about climate change and summarize the top 5" β€” it authenticates as you, with your permissions, and returns only what you're allowed to see.

What's included: - 7 tools: search nodes, get content, search/get comments, current user info, translation - Auto-registration of OAuth clients (no pre-configuration needed) - Localhost redirect URI support for Claude Desktop / MCP clients - Token lifecycle management (refresh, revocation, rate limiting)

Installation:

composer require drupal/webmcp_connect drush en ai_connect -y 

Links: - Drupal.org: https://www.drupal.org/project/webmcp_connect - Docs: https://git.drupalcode.org/project/webmcp_connect

This is v1.0 β€” what tools would be most useful for your use case?

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

Career Pivot Advice (As frontend dev)

Hello peoples,

So I'm a mid-level Drupal Frontend dev, and I'm a little bit cooked as the kids would say.

Essentially I strayed away from coding in 2023 thinking I would always have the option to come back (wanted to try another career avenue that also got decimated). Lo and behold, all remote job opportunites all seem to have evaporated (at least in Canada). Sorta had put all my eggs in one basket hyper specializing in Drupal Frontend development thinking there would always be remote opportunities...

Anyways, times change, gotta focus on reskilling/upskilling.

So any drupal frontend devs that have had success stories? Any advice?

Should I spend the next months expanding knowledge in another framework? Or learning something such as CNC programming, or accessibility, or QA, etc.

(Got a full time job, so not red alert, but also need to switch asap)

Cheers

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

How to prevent term ID next to taxonomy terms?

When I select a term in Views search form it shows the term ID next to the selected term e.g. Apple (13).

How do I stop it from displaying the term ID next to the term?

Also wondering what is the practical use of this feature when it is meaningless and confusing for the end user?

submitted by /u/1ozu1
[link] [comments]

Hybrid Full-Stack Developer (US-Based) β€” $40–$60/hr

We’re a senior US-based product team building clean, scalable platforms for US and Canadian clients. We’re looking for a hybrid full-stack developer who can own features end-to-end β€” frontend to backend β€” and help us ship products the right way.

Our Vision

We’re building a tight, high-output team that creates modern, reliable software without bloated processes or corporate noise. The goal is simple: ship clean architecture, scalable systems, and products that clients can actually grow on. We move fast, think long-term, and care about quality.

What You’ll Bring

- Strong communication and independent execution

- Experience with React / Next.js

- Backend experience with Node.js or Django

- Solid understanding of APIs, databases, and scalable systems

- Ability to align with US time zones

If you want to build serious products with serious people, let’s talk.

submitted by /u/Major-Toe-9697
[link] [comments]

Drupal revisioning and Rest API PATCH requests

When a content type has revisioning enabled, edits performed through the Drupal UI correctly create new revisions. However, updates made via the REST API (PATCH/PUT) modify the current revision in place and do not automatically create a new revision, unless explicitly programmed.

This behavior contradicts the intuitive and UI-based expectation that every content modification on a revision-enabled entity results in a new revision, regardless of the update channel.

What do you think, wouldn't the expected behaviour be to create a new revision for revision enabled content on Rest API PATCH request?

submitted by /u/Alarmed-Leek2205
[link] [comments]

Web devs: could a few people sanity-check a small in-page feedback tool I built?

Hey folks, I’m a web dev and I built a tiny tool for collecting website feedback directly on the page (click somewhere β†’ leave a comment pinned to that spot).

I’m posting because I’m too close to it and I need honest outside feedback. I’m not trying to market anything β€” I’m specifically looking for people who’ll try it for 5–10 minutes and tell me what sucks / what’s unclear / what would stop you from using it on a real project.

What I’m hoping to learn:

  • Is the value obvious without me explaining it?
  • Does it feel smooth or fiddly?
  • What’s missing for real client reviews?
  • Any trust/privacy red flags at first glance?

If you’re willing, comment β€œI’ll test” and I’ll DM you a link (or DM me).
And if this kind of post isn’t allowed here, tell me and I’ll remove it right away.

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

Drupal Upgrade to Drupal 2.0: A Quick Overview

Upgrading to Drupal 2.0 helps organizations modernize their websites with improved performance, stronger security, and better scalability. Older Drupal versions often face compatibility and maintenance challenges, making upgrades necessary for long-term digital growth.

Drupal 2.0 introduces a more flexible architecture, faster loading speeds, and improved integration capabilities with modern applications and cloud environments. It also enhances the content editing experience, allowing teams to manage websites more efficiently.

How the Upgrade Works

  • Assess the current Drupal website and modules
  • Replace outdated or unsupported components
  • Migrate content and configurations
  • Update themes for modern UI compatibility
  • Test performance and security before launch

Why It Matters

  • Improved website performance
  • Enhanced security standards
  • Easier integrations with third-party systems
  • Future-ready and scalable platform

Upgrading to Drupal 2.0 ensures your digital platform remains secure, efficient, and capable of supporting evolving business needs.

submitted by /u/Different-Algae7018
[link] [comments]

CMS 2.0 vs Standard Drupal

Hi folks,

I’m currently exploring Drupal CMS 2.0 and would like to understand how it compares with the standard Drupal setup.

If you’ve worked with CMS 2.0, could you please share:

  • The key differences you noticed compared to standard Drupal
  • Pros and cons of using CMS 2.0
  • Any challenges or limitations you faced
  • Scenarios where CMS 2.0 is a better fit (or not recommended)

I’m trying to evaluate whether CMS 2.0 is suitable for long-term projects, so your real-world experiences and suggestions would be really helpful.

Thanks in advanceβ€”looking forward to your thoughts!

submitted by /u/Prasanna-Venkat
[link] [comments]

Implementing a fairly complex database structure in Drupal.

I've been away from Drupal too long, sucked into WordPress. My company has an ongoing problem with the org chart - specifically it's advertising. I think I can use Drupal to manage this, but I have a lot of rust and haven't worked intensely with it in years (when 8 was current).

The Database I've sketched out uses a UUID approach to coordinate it's contents with outside databases it must stay in sync with, including the aforementioned WordPress site which I will be getting post information from. I'm trying to keep fields on only one table if feasible.

I'm going to go over some of the structure I designed without considering Drupal as the administrating program, so I am open to letting this change as long as I can get the same end result. Note also that this design is informed by schema.org entries for Medical Organizations - of which my company is one (and a fairly large one)

Everything is an Entity. This is the only table with an autoincrement field. Any entry created on any other table starts with an entity entry. For example, if I'm adding a provider the Entity table holds the mappings to the other databases, the entry name and a schema.org description, the person table contains information about the provider's name (given name, surname, which comes first since we have providers with Asian names, gender, etc), and the provider table contains information on whether they accepting new patients, the URL to their scheduler, their NPI (think social security number for medical professionals).

The provider table also cross-references with locations with additional information about which days the provider is at that location and which one is their primary. Another cross reference is which hospitals they have admission privileges to, and another maps which organizations they belong to. Yet another details their education, and their certifications, and the insurances they accept.

The UUID comes into play because hospitals also have insurance company contracts. So that table needs to be joinable with providers or hospitals.

So when I have an edit view of a provider I want the form to present this information cleanly without the user needing to go through multiple forms

I think Drupal can do this out of the box. If not out of the box I have written modules before, but in that event why use Drupal instead of just standing this up in Laravel or Symfony? I'm looking something that is resilient, but I don't want to spend more than a month on this if I can help it.

submitted by /u/Positive-Ring-5172
[link] [comments]
❌