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

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

How to Use Camera Input in a WebForm Module?

Hi everyone,

I’m working on a web form and need to enable users to take a photo as part of the input. I believe this can be done by modifying a standard file input field, but I’m not entirely sure how to implement this.

Has anyone tried integrating camera functionality into a web form? If so, could you guide me on how to set it up? Is it just a matter of adjusting the file input field, or are there other steps I should be aware of?

I’d really appreciate any suggestions or tips!

Thanks in advance!

Pages

Subscribe with RSS Subscribe to RSS - General discussion