How to reference existing user at the time of node creation

Hello, 

I have a content type. 

I have a list of users. 

When I add a node, I like to have a field which should allow me to select an user from the active users list. 

How can I do it? Which module to use? I have searched online but I could not find something specific to my need. 

Thanks!

How to notify Views of Node Field Value

I have a Commerce Order Item view I need to get notice of a change in any node of a particular content type. The view has a Link button (created from Custom Text field) that users click to create a node of the content type with the fields prefilled with data from the URL. There is a boolean field in the node, I want a way to send communicate the users decision (Yes/No) to the view so that with that the Link Button for the row can be made either active or inactive. One of the field in the node contains the Order Number, which is also set in a field of the views respective target row.

[Solved] Get entity id of reference entity in views

Hello,

I have 2 contents type :

  • Testimonial
  • Installer

In the "testimonial" content type I have a field which is a reference entity of installer.

When I enter a "testimonial" I choose an installer among those available. It well works .

When "testimonial" is displayed, the installer field is displayed in the content of the node as a label (I don't want entity display).

I want to add on bottom of the page a block with informations about "installer".

I try to make a view block that displays only the relevant installer.

How to install Drupal with Composer ?

Hi, which of these 2 command lines should you use for a new Drupal project ?

What is --stability dev and --no-interaction used for ?

$ composer create-project drupal/recommended-project /home/ubuntu/www-example-com

or

$ composer create-project drupal/recommended-project:~8.8.0 /home/ubuntu/www-example-com --stability dev --no-interaction

Views exposed filters - show number of results next to label

I have a View which contains multiple exposed filters. How can I show the number of results for each option next to the label?

So it will look like this:

Country
- Germany (9)
- Italy (2)
- Japan (3)

Brand
- Audi (5)
- BMW (4)
- Fiat (2)
- Toyota (3)

I would also like the results to be updated when a filter is chosen. For example, when you pick "Germany" the Brand filters should look like this:

Brand
- Audi (5)
- BMW (4)
- Fiat (0)
- Toyota (0)

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x