OpenSSL Error "tlsv1 alert protocol version" when trying to update Drupal 8 with drush or composer

I just upgraded my Macbook Pro to MacOS Sierra (10.12.6), so its probably related to the issue.

I'm trying to upgrade my Drupal 8 local installation from 8.3.1 to 8.3.7. When I try to run "composer outdated" or "composer update drupal" I see this error:

How to post datefield contet with timezone by Rest API

I'd like to know how can I post datetime field with timezone.

I'd like to post a content with datetime field by Rest API. I posted like this format, 2017-09-16T17:09:01. But in this way, the field is posted in UTC timezone. How can I post the field in local timezone?

I tried a format like this, 2017-09-16T17:09:01+0900. But an error was returned.

If anyone knows a solution, could you tell me the way?

Socket hang up error by DELETE request

An error happened when node.js program execute DELETE method by Rest API.

Situation
-There were over 10,000 contents on a view
-Node.js program run DELETE method by Rest API
-After about 1000 request succeeded, the program output "Error: socket hang up".

I confirmed Drupal log, but there is no error message.
I also checked Web server log. The log showed that server responded 204 when the program execute DELETE method and there is no error log.

How to change the information of a content field depending on wich user is logged in?

Hi everyone!

I am making a web server in wich teachers (diferent users) can publish some news about the school. I created a content type called "Noticias" (news in spanish) and in this content type I´ve created and added as a field a taxonomy (with its vocabulary) called "Courses", so later, news can be filtered depending on the course to wich the new is directed.

The problem is that I want to assing specific courses to each teacher so later they only can publish news that point to the courses under him/her management.

How to set the Book Navigation active-trail?

Hi I am trying to theme the Active trail in the block navigation of the book module.

As can also be seen on

https://www.drupal.org/docs/user_guide/en/understanding-chapter.html

But for some reason there is no active trail class given to the items.

How do I add it?

Thank you

Customizing paragraphs/content depending on the current user

I want to build a website, where several pages have content which should change dependent on who views it. Let's assume the user object has the field department.

The page has some general information which I would use paragraphs for and one paragraph dependent on the department.

--- paragraph 1
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eligendi, iste?
--- paragraph 2
Your supervisor is: dependent on the appartment
--- paragraph 3
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eligendi, iste?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x