This forum is for less technical discussions about the Drupal project, not for support questions.

What's your latest favorite module?

I usually create a sub-theme with Bootstrap5 for my projects. But in a recent project, I only needed to add a bit of CSS, and I discovered Asset Injector which allows this, as well as adding JavaScript. You can also easily override the admin theme this way. These are the conditions it offers:

Help Needed - Creating a View Restricted to Specific Users

Hi everyone,

I'm trying to set up a View in Drupal (both as a page and a block) that only specific users can access. The goal is to ensure that only the user assigned to a particular "Person" content type can view this block.

Here's the setup: https://imgur.com/a/oIgNUr9

  • The Person field here is a reference field that links to another content type "Person".
  • Each "Person" is authored by or assigned to a specific user.

What I'm aiming for:

How to Load JSON File Content into Twig Template in Drupal

Hello everyone,

I encountered a challenge with loading the content of a local JSON file into a Twig template in Drupal. I have a JSON file located at /sites/default/files/json/test.json, and I want to load and parse the content of this file to use in the Twig template.

Here’s the content of my JSON file:

{
    "nid": "123",
    "title": "it is a title"
}

I’ve tried several approaches but none of them are working as expected:

How Do You Manage Site Performance on Large Drupal Installations?

Hello,

I’m running a Drupal site with a lot of traffic, and I’ve been noticing some performance issues lately. What are some of the most effective ways to improve Drupal site performance? Caching, server setup, or something else?
also if you are looking concreters in Richmond VA visit: www.concretesrichmondva.com

Thanks!

How to Repair Corrupted RAW Files on Windows

Other than using a photo repair tool, you can also try OS photo repair. The best approach therefore has to be to seek the services of photo repair tools such as BLR Photo Repair. With corrupted files, photos, and documents, BLR data recovery software would be your great lifesaver when your RAW files get damaged.

How Can I Use Camera Input in a WebForm Module?

Hello everyone!

I’m Darshan Hiranandani, trying to set up a webform where users can take a photo as input. I’m wondering if there’s a way to do this within the WebForm module.

Do you think it's possible to edit a regular file input to allow camera access for photos? Or is there a different approach I should consider?

Any suggestions or advice would be greatly appreciated!

Thanks in advance!
Regards

Darshan Hiranandani

Pages

Subscribe with RSS Subscribe to RSS - General discussion