Normal view

Restricting taxonomy term selection on field?

For example I have taxonomy terms vocabulary of "Fruits" which consist of:

-Apple
-Banana
-Pear
-Dragonfruit
-Pineapple

On one field I want to have selection from limited range:

-Apple
-Banana
-Pear

On the other from:

-Pear
-Dragonfruit
-Pineapple

And so on.
Basically I want to limit taxonomy depending on the field. Now there are no form selection widgets to do that, the only option is to display all the terms of the "Fruits"

Is there a module for that? Multiple parents somehow probably could help, but still there is no widget to limit selection to terms of particular parent, but that is even more of a problem as in this case multiple parents are more of a structural problem. Hierarchical selection modules (I think) do not work in this case.

Also all the terms have to be in the same vocabulary. No multiple vocabularies with term duplication.

Any ideas are welcome. Drupal 11.

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

Drupal Core 11 best performance set up

Hi I just recently installed my wamp server and Drupal core 11 latest version inside it I'm just playing around and I wanna seek some help on how to boost its performance what are your best recommendation set up no to production only in development mode

submitted by /u/Useful-Trick-6086
[link] [comments]

Views AJAX / live update possible?

Hello,

I've got a content type with a boolean switch: "top".
And I've got two view blocks on one layout builder page.

If on node gets updated now and the the switch is set to off / false, the node should move from the top views block into the bottom views block.

When I reload the page, the views filters kick in and everything is working fine.
Is this possible to do live / right away somehow without reloading the whole page?

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

New drupal users

I last used drupal 20 years ago. Is there a good training video on YouTube? I saw one that was nine years old.

Also, I’ve been playing around with replit for building sites. Is there an AI tool that will help build a full drupal site that quickly? I want to create a travel oriented site with lot of pages

Thx

submitted by /u/Interesting-Bus624
[link] [comments]

AI now finds the right Drupal module for you (no more endless searching)

AI now finds the right Drupal module for you (no more endless searching)

At DrupalForge, we’re building tools that save developers time and make Drupal smarter.

One of our newest experiments is the Drupal Module Finder AI — a practical showcase of what happens when you combine agentic RAG with Drupal.

🔍 How it works on DrupalForge:

  • We’ve pulled in all Drupal 11 module metadata via JSON:API
  • AI enriches it with smart summaries & use cases
  • Pre-indexed into a chatbot you can query directly on DrupalForge

Ask it things like:
👉 “I want to rebuild Reddit, what modules do I need?”
👉 “My site is getting spammed on comments — what’s the fix?”

⚡ Bonus: DrupalForge also lets you compare chatbot answers with “normal” search — so you can see just how much better AI really is.

🎥 Demo: https://www.youtube.com/watch?v=VRYP7MsdQKs
🧪 Try it on DrupalForge: https://www.drupalforge.org

This is just one step in how DrupalForge is pushing the boundaries of Drupal + AI for the community.
👉 What’s the first question you’d throw at the Module Finder AI?

https://preview.redd.it/77165qgiryrf1.png?width=1879&format=png&auto=webp&s=398b637a261e50b1a6568f37ffd52224e3d02016

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

i updated drupal 9 site with gemini

i tried with chat gpt, and it was a horrid disaster...going in loops, making so many mistaked...then i tried gemini, oh boy...no mistakes, i jsut copy paste stuff and it knew everything..i was stuck on drupal 9 now for too long..and i updated to 10 with gemini with ease...using ddev...so if anybody needs little or a lot of help...gemini si the right person...chat gpt will only make you crazy....gemini will solve problem

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

will there be easier upgrade in the future?

I have 3 sites still in drupal 9 version....I could not upgrade because of the theme....willtehre be better future where you will be able to upgrade like in wordpress with a click of a button? BEcause Buytaerd promised it is coming....but when?

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

An entirely semantic HTML theme?

Does anyone know if this exists? I know there are some things sprouting up in the new UI components work, like for pico.css. I’m interested in utilizing one of the many tiny “classless” CSS mini-frameworks to design a very simple site for an organization.

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

Upgrade D7 to D10

Do I have to manually recreate all the content type with the same fields in the D10 first before the upgrade ? some people say yes, some say no, I am confusing with what to do with this step. but I see this

" Do not configure the Drupal destination site

Keep in mind that the upgrade process will overwrite configuration on the Drupal destination site, so do not do any configuration of the Drupal site until after the upgrade process is complete. This means you do not have to create all the content types and fields manually before running this upgrade." please tell your experience if you know about this .Thank you

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

New #DrupalAI templates now live on DrupalForge

New #DrupalAI templates now live on DrupalForge

Hey everyone,
We’ve just launched new Drupal AI templates on DrupalForge, built in collaboration with QED42 and FreelyGive.

With these templates, you can spin up a Drupal site in under 5 seconds — preconfigured for AI use cases. No setup, no installs, just test and explore. ⚡

Some highlights:

  • Community-maintained #DrupalAI templates
  • Perfect for demos, experimentation, and dev environments
  • Shareable links for quick collaboration
  • Free to use (DrupalForge is a 501(c)(3) non-profit)

https://preview.redd.it/6450deslidrf1.png?width=1725&format=png&auto=webp&s=c32dc2eff35d18c11a94df3eaa229cdcc2d89c8b

👉 You can try them here: https://www.drupalforge.org/templates?page=0

Curious to hear from the community:
What kind of AI use cases in Drupal would you like to see next in template form?

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

What is your workflow on creating Drupal recipes?

Hello it's a fairly new topic so I haven't found a lot of neat tips & tricks about it yet. Maybe I'm not looking in the right places (which is also why I'm posting it here).

I’m looking for the best way to create Drupal recipes out of existing websites.

I'm already creating recipes as we speak but it feels like I'm not doing it the right way because it takes a lot of time (cherrypick) and trial & error in testing.

Does anyone found a way to create recipes without it being a manual copy / paste & trial / error process?

I would be glad to learn and even document further for other Drupalistas.

Thanks in advance and all the best.

Fons

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

Creating documentation in Drupal

Creating documentation in Drupal

I just want to share what I've been up to.

For Webhaven I want to start creating the documentation on how to get up and running and how it works in general.

So i've researched some documentation tools and layouts that I liked. Most were in a different tech stack and I didn't want to bother introduce a new kind of tool for this. So I figured, why not build this in Drupal myself and learn a thing or two?

So I did. In this post I'd love to share the steps.

The first step was the research, I won't copy paste all the inspiration links but I figured out I liked the documentation of Orbstack a lot (https://docs.orbstack.dev/).

Based on that I've started building (what you see in the video).

Most of it is Drupal core:

- Documentation content type
- Documentation menu

But i've also introduced one contrib module:

- Tocbot (https://www.drupal.org/project/tocbot), the module didn't work out of the box and could use some improvements so I've added 3 issues in the issue queue and fixed that. The new release has all the fixes in place

The visual look & feel I made with my own starter theme that uses SDC.

The previous and next links I first wanted to create in a custom module with a block that reads out the menu and fetches this links. I felt I would need to write a lot of code to do this so I've made it with javascript in the front-end and just get the links out of the menu instead.

I hope you like it, all feedback is welcome.

This might be cool to recreate in a video with a Drupal recipe so people can also use / extend on it.

Now I'll stop building and start writing the documentation. Once I have more documentation in place I'll probably also add Search functionality (thinking about using drupal/search_api and drupal/fac for that).

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

Goodbye Drupal, Hello Backdrop (Out of the fire and into the frying pan)

A few months ago, I posted here about my Drupal 7 situation. In that post, I spoke about how I had a Drupal 7 site that I relied on for my income. That I’d built it up over nearly ten years and that I had employed a recommended developer to upgrade the site to a supported version. However, the developer had come back after a lengthy delay and said the costs needed to double and the timeline had to be expanded by a year to complete the job. This had resulted in me feeling lost as I could not afford the upgrade and was losing a lot of sleep at night about losing my income stream. I had also been paying $150pm to Tag1 for legacy support, but all my site update stuff was kinda messed up, and they released a patch with a huge mailsystem bug in it, so I ended that and effectively had no update/security support whatsoever.

I want to start by giving a huge, heartfelt thank you to those who responded here. You were kind, generous, and reassuring with your advice, which helped me see a path forward.

The general consensus was that I should build a new version of my website in Drupal 10.4x, and I was excited by that prospect. I was so motivated, in fact, that I spun up a new server the very next day and set about installing a newer version of Drupal.

Things did not go well.

I come from the world of installing Drupal via cPanel. It was its point-and-click functionality that drew me in. Sure, I’ve expanded outward into server hosting as a result of running a site for so long, but things like using a terminal to do things have always been juxtaposed to what I prefer. Needless to say, when I realised I needed to use Composer to even so much as install Drupal, I was immediately put on the back foot.

I did persevere, however, assuring myself that adopting these new skills was ultimately in my interest. Given that I used ServerPilot for my server management, even installing Drupal required some customisation and hacking to get it into the public directory that ServerPilot creates.

Then it got worse.

I noticed Drupal had some migration tools built in, and that made me want to test some data migration, so I set about installing all the 10.4x versions of the modules I could. That was enlightening, as I quickly learned just how many versions of Drupal seem to be running concurrently since version 7, and how much pot luck is involved, as ever, with module availability. I was installing these via Drush (I think), which I couldn’t call globally and had to reference in a subdirectory each time, when I got to Webforms and found that it had to have its own libraries installed in the traditional way. So, all the command-line stuff felt like it was for nothing, really.

I could go into detail about my attempted migrations via the web interface, but I’m sure most of you know both how foolish and how painful that is. Highlights included leaving it running for 24 hours just to realise it had ground to a halt.

Yes, I did try migration via the command line, but at this point, everything was so messed up and my head so fried from searching through blog posts that referenced so many versions of Drupal, I couldn’t move forward and resigned to the concept I was stuck with Drupal 7 until I could afford to pay someone my yearly salary to try and upgrade it.

Now, Backdrop had been mentioned, but I reacted to that concept like a baby being fed a Brussels sprout. I did not like that idea. It caused me to have flashbacks to the days of Joomla vs Drupal and the horrors of adopting the next digital Betamax. I did take a look at their site, though, and their installation guide, just to see if I could do it via FTP, and that led me to their migration documentation and the mention of a module that can check what other modules have been ported across.

Well, that turned out to be a shocker.

I’d assumed that, even if I wanted desperately to move to Backdrop, a lack of module support would make that impossible, but the check showed that almost all of the ones I was using had already been ported, even though I was using a lot.

So, I installed Backdrop, which was really easy for me, and went through their process of migrating from Drupal 7, which got me a mostly functioning site. I mean, it had some significant issues, like major parts of the admin interface going missing, but, data-wise, it was all there.

Knowing that this still wasn’t something I felt up to doing, but clearly a lot easier to achieve, I looked for Backdrop specialists in the UK whom I could approach, which is a bit like finding someone who can build a dry-stone wall, not an ordinary skill. I found one agency in London and one just an hour away from me.

The London agency admitted that they’d never actually built a Backdrop site, only Drupal, and proceeded to give me a rough estimate I can only describe as astronomical. The more local agency, though, a meeting with them showed they were really switched on and felt Backdrop was certainly the way to go.

They quoted, at their top end, around 1/10th of what it would have cost me to migrate to a newer version of Drupal. I snapped their hand off.

At the beginning of this month, my new Backdrop-powered site launched, and, to be honest, it feels good. Not amazing. Just good. I mean, it’s Drupal, so everything kinda feels the same. Bugs in some views are still there. A few module features have gone. It doesn’t feel any faster. It feels like I’ve paid what is a significant amount of money to move sideways from something that originally cost me nothing, and then there’s that slight concern that Backdrop is just going to die a death due to the comparatively small size of its community.

I do sleep at night, though. It’s nice knowing the platform I’m on has all the focus on one version. It’s nice knowing that, for now, the plan is to keep everything interface-based. It’s nice having, for the first time, an actual developer I trust and can call upon in a crisis.

This is why I’ve titled this post with a reversal of out of the frying pan and into the fire. I don’t feel like I’m quite out of the woods yet. Part of me wonders how much more secure I would perhaps feel if I were on a supported version of Drupal, or if I would still feel like my days were numbered, with the technical side getting more daunting rather than more reassuring.

I’ve posted this because some people were asking me to update them on my findings. Ultimately, I think it’s too easy to see this as a Drupal vs Backdrop issue. The reality is, thanks to Drupal’s dominance and thanks to the open source community, we’re blessed with options. If my site didn’t take card payments, I probably would have persevered with the Backdrop migration myself. If I’d had much more funds, I probably would have eaten the cost of upgrading to a newer version of Drupal and maybe never faced the issue again. If I’d not felt ready to jump in either direction, there was still that legacy support to consider. That I’m deeply thankful for.

I’m also deeply thankful to this community, which pushed me in a few directions worth trying and helped me find a result that works.

submitted by /u/Captain-Trashpanda
[link] [comments]

Upgrade D7 views to D10

I am wondering if the formal upgrade process will auto upgrade all the veiws to Drupal 10 or I have to upgrade all the views separately, because I see there is https://www.drupal.org/project/views_migration module. I have around 100 views in my D7 site, there will be lots works to deal with them. Thank you.

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

Media data behind a hidden permission?

D11.x Commerce - I noticed that if I try to view media with a contextual filter, I cant get anything but a blank view on pages. Works within the view editor itself but not on a page.

If I use a custom content type with a related media field, a contextual view does work, and I can pull it into a product twig template with {{ drupal_view('additionaLproduct_media', 'block_1') }}.

My goal was being able to import media (images and remote video) for a product. I assumed importing into the related content type wouldnt work at all, but it does so I have a working setup.

But, I am left wondering if there is a permission or some other default media setting that keeps it from working with a media content view?

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