This forum is for module development and code related questions, not general module support. For general support, use the post installation forum.

Restful put update error 506

Hello, 
I have a problem with the restws, I manage to recover data, but when I want to do an update I get an error: 406Not Acceptable : UuidEntityException: Trying to save a Content entity with empty or invalid UUID.
Please, could you tell me what the problem is?

Problem with hook_service_resource return status 500

I have a problem fews a day.

In this case I created service with login function response login is work but status code internal error 500

I call to services/session/token and get token attach in header then call test_api/user/login.json

X-CSRF-Token : token

Content-Type : application/json

after response is failed because status code 500 but response text is right.

I can't attach image capture. Thank you for read. apologize for my english language.

Invoke javascript on form_set_error

I have a Drupal 7 custom form which uses Drupal.behaviors to modify a select menu to dynamically alter a form. It works, except a form element that is exposed when submitted is hidden when form_set_error() is invoked.

This appears to be the only comment that gets close to what I'm looking for. https://www.drupal.org/forum/support/module-development-and-code-questio...

Link a HTML of text content created/edited in Drupal with my frontend

Hello, I have pages created such as privacy policy, instructions, etc that I have to edit manually in the frontend.

How can I create content in the Backend and read it in the frontend?

Could be possible to use Style and all HTML functions? 

Module for job offers

Hi! Anyone among you knows if there is any module for job offers. The idea is to create a subpage on which job offers would be displayed.
At the top there would be a panel to search for a given job after entering the position we are interested in.

edit PL:

Hej! Wie ktoś z was czy jest jakiś moduł do ofert pracy. Chodzi o to, by zrobić podstronę na której byłyby wyświetlane oferty pracy. 
Na samej górze byłby panel do wyszukiwania danej oferty pracy po wpisaniu interesującego nas stanowiska.  

Drupal Commerce: Product load by SKU

In Drupal 8 Commerce, I have multiple variations of product.

I have sku like: ABC1-123, ABC2-456. ABC2-123, ABC2-456, etc... 

I would like to load all product which matches SKU like 123 or 456.

There will be case where it's 100 SKU need to match as well.

I have below code

$sql = "SELECT variation_id, product_id, sku FROM {commerce_product_variation_field_data} WHERE sku LIKE '%123' AND status = 1"; $connection = \Drupal::database(); $query = $connection->query($sql); $results = $query->fetchAll();

Pages

Subscribe with RSS Subscribe to RSS - Module Development and Code Questions