Water Supply and Sanitation Collaborative Council (WSSCC)

The Water Supply and Sanitation Collaborative Council (WSSCC) is a global, multi-stakeholder membership and partnership organization under the United Nations Office for Project Services (UNOPS), that works with poor people, organizations, governments and local entrepreneurs to improve sanitation and hygiene at scale.

Sectors: 
Non-profit

How can I fill some fields using the information of a uploaded image without submitting the form?

Hi all, 

I'm trying to fill some fields of my Media Type "Image" using the information obtained from the uploaded image. I explain what i did for now:

I have a Media Type "Image" with 4 fields:

- Title

- Description

- Image with Alt text

- Copyright

I create a new media "Image" and I upload a image. As soon as the image has been uploaded I want to fill Name, Description, Alt text and Copyright from the data of the image.

Add tab to user profile to show node content

I want to figure out a way to display the contents of a basic page node on my user profile tab menu.

I found the way using views to generate the tab, and the path, and made a basic page test like I said, and it worked like I wanted making a "My Work" tab at /user/*/my-work.

how to get the value of view reference field in form(field of module viewsreference)

I am altering the form of a custom block shown in layout builder and I need to get the value of views reference field to implement an ajax callback.i need the value of target_id. thanks for help

these two way return null

$form_state->getValue('viewsreference_field')
$form['viewsreference_field']['widget'][0]['target_id']['#value]

Using a Paragraphs field for Facet in Search API

How to use fields referenced through Paragraphs for Facets in Search API.

I just can't find the right field.

I want to make a Facet out of a field collection, this is seeming difficult using Paragraphs for the field collection.

label and input field on the same line

Drupal 8.8.5
I have read various information on how to be able to view the label and then the input field when entering the variation (Form View Management)
Currently the form displays the date field in this manner.
Date
__ / __ / ____

I want to visualize it in this other way
Date __ / __ / ____
I have done various tests but I have not succeeded.
I saw that in View Manager you can choose the inline option for viewing.

Is it possible to insert?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x