Reading view

Built a semantic search-powered AI assistant with Drupal at its core

We've been working on Aeldris — an AI platform that lets organizations build custom AI assistants trained on their own internal data (PDFs, docs, chats, links, etc.).

Unlike generic chatbots, it uses semantic search agents to understand user intent, so it can handle things like customer service, HR queries, and compliance — without relying on keyword matching.

Drupal powers the content and data layer underneath. Dropped a short demo video if anyone's curious how it all comes together.

Happy to answer questions about the stack or how we approached it.

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

Available for Drupal Support / Upgrade Work – 10+ yrs experience

Hi everyone,

I’m a Drupal developer with 10+ years of experience, currently available for part-time or contract work.

My recent experience has been focused on maintaining and improving existing Drupal sites, including:

- Drupal 9/10/11 upgrades

- Module updates, patching, and dependency fixes

- Debugging issues in core and contributed modules

- Performance improvements and general site maintenance

- Working with CiviCRM-integrated Drupal sites

- Custom module development and enhancements

- Theme customization and front-end adjustments

I’ve worked extensively on live production sites, helping ensure stability, performance, and smooth upgrades.

If you need help with ongoing support, upgrades, customizations, or fixing issues on an existing site, feel free to message me.

Happy discuss further.

Thanks!

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

Drupal Front End - Views & SDCs Looking for Advice

Looking for some advice - I'm building a page that is designed to have a couple card groups as a staff directory page. I've built out the staff content type and the view with the pertinent fields and have the page built out using multiple template files and SDCs.

This is my flow and it just seems like I'm editing so many files - am I doing this the hardest way possible?

  • Content Type -> Staff with general contact fields and an image field
  • GUI View Module -> Builds the rows with pertinent fields from my content type (grouped by employee type taxonomy field)
  • views-view--staff--block-1.html.twig [Template File] -> calls the subsequent SDC
  • views-view—unformatted—staff-directory.twig [SDC] -> Builds the card group <div>, card containers (I.e. container width, padding, etc.), & calls {{ for row in rows }} ...
  • views-view-fields--staff--block-1.html.twig [Template File]-> Includes the Card SDC for each row with { fields of interest from the view }
  • Card [SDC]

It all works but seems like a lot of files to manipulate just to build a card group. Any help or suggestions would be appreciated.

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

Restrict access to files with temporary status?

If a file has a Status of Temporary the file in the filesystem can still be accessed (say, when themake_unused_managed_files_temporary configuration value is set to true (default is 0) in the file.settings.yml config file and a file becomes unused).

Often, if unused managed files become temporary it's because an author has replaced a file used on a media item with a newer version. Often this new version corrects some defect in the original document and it is therefore undesirable to maintain public access to the older file.

If you're having Drupal garbage collect temporary files you may have a few hours in which that old file is publicly available until it is deleted on cron (depending on the value of temporary_maximum_age in file.settings.yml). I'm primarily thinking about hotlinks to the files or the external experiences of having files surfaced via search or AI.

Is there a smart way to ensure these temporary files aren't accessible? Perhaps having them moved to private file storage until they're deleted? Would love some feedback here – there's not a lot of advice available in this area of file/media management and I'm managing a library of 10k+ items.

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

Backlit: server-render Lit web components in Drupal with composer require, no Node.js

Two years ago I shared a proof of concept for server-rendering Lit web components in Drupal using a Node.js sidecar container. It worked, but the feedback was fair: nobody wants to run Node.js alongside Drupal, manage inter-container networking, or babysit an extra process in production.

Backlit is the version I actually want to use:

composer require bennypowers/backlit drush en backlit

That's the entire install. Composer downloads the right pre-compiled binary for your OS and architecture. Drush enables the module. Every page response now gets its Lit components server-rendered with Declarative Shadow DOM -- styles and layout on first paint, before JavaScript loads.

How it works: Backlit starts a long-running child process (the binary) inside your PHP-FPM worker. HTML goes in via stdin, rendered HTML comes out via stdout. The binary embeds a WASM module containing @lit-labs/ssr. Cold start is ~350ms once per worker; per-render is ~0.32ms. With Drupal's page cache in front, subsequent requests never touch the binary at all.

A few practical details:

  • Drop component JS files in your theme's components/ directory; Backlit auto-discovers them from customElements.define() calls
  • If the binary fails for any reason, Backlit returns the original HTML unchanged -- SSR failure is invisible to users
  • Authors get a per-content "Enable SSR" checkbox for pages where it causes issues
  • composer update bennypowers/backlit handles binary updates

This is a v0 release. Lit only (via @lit-labs/ssr), no streaming, one process per worker. Honest about limitations. I'd love to hear what breaks on real sites.

Post: https://bennypowers.dev/posts/drupal-lit-ssr-wasm/ Module: https://github.com/bennypowers/backlit Demo repo: https://github.com/bennypowers/drupal-lit-ssr-wasm

submitted by /u/benny-powers
[link] [comments]
  •  

How could this AI custom module go wrong?

Look, before you judge me...

I'm not a programmer.

I'm working for a very small nonprofit outfit with a very limited budget.

I was tasked with fixing a problem with a Opigno Drupal server, where clicking a "Register" when NOT logged in button causes the server for 500.

After going the usual route of updates and looking for bug fixes and getting nowhere, I resorted to talking to AI. After a very lengthy conversation and lots of testing, I ended up with this:

/** * Implements hook_query_alter(). */ function anonymous_subscribe_fix_query_alter(Drupal\Core\Database\Query\AlterableInterface $query) { // Only alter queries for anonymous users on subscribe pages if (\Drupal::currentUser()->isAnonymous() && strpos(\Drupal::request()->getPathInfo(), '/subscribe') !== FALSE) { // Limit membership queries to prevent loading all members if ($query->hasTag('entity_query') || $query->hasTag('group_content_query')) { $query->range(0, 10); } } } 

Surprise surprise, it totally fixed the issue.

According to the AI,

All your groups are set to semiprivate visibility. When an anonymous user clicks "Register", Opigno is loading every single group and all their memberships to determine which ones the anonymous user can see and join.

The fix is simple - we need to tell Opigno: "Don't check all memberships for anonymous users, just show them the join form."

My questions are these:

What possible blowback could this module cause? Is there a better, cleaner way you can think of doing this?

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

Drupal10繁體中文使用手冊(Drupal 10 User Guide for Traditional Chinese)

Drupal10繁體中文使用手冊(Drupal 10 User Guide for Traditional Chinese)

This is the user manual I have compiled in Traditional Chinese — feel free to download it freely (no registration or personal information required)! It contains 15 chapters, 137 pages, and the file is only 15MB. The download page is available at the link below."

這是我整理好的中文使用手冊,歡迎大家自由下載(不需填任何資料)!

總共有15個章節,137頁,檔案只有15M。下載頁面,如下連結

Drupal10繁體中文使用手冊

https://preview.redd.it/s22gvxeqhbpg1.png?width=300&format=png&auto=webp&s=4b9994f86fd3bc1d8491679a70403f838954deaa

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

Another Drupal question from me. This time our AI guy stated his programmer friend could migrate a 1400+ page website from Modern campus to Drupal in four weeks.

And he stated QA and other testing wouldn't be necessary and everything will work out of the box including fixing all SEO and ADA issues as well as making all H1 and H2 headers and meta descriptions by AI. So be claims he can do without ever haven't set up a website do a complete migration in four weeks.

How serious should I take this statement?

The AI person doesn't know what ADA or SEO includes.

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