Create a treeview menu for Drupal 8

I have to create a sidebar treeview menu for my website. It needs to have a parent-children relationship that would have to be until 5 levels. At the top, it should have a button at the utmost left to close the sidebar menu and two other links, one to expand all the levels of the menu and one to close all the levels of the menu. The menu should look like in the images of the links below:

https://i.stack.imgur.com/LJ1Wi.png

Language Switcher must move to Language Front Page from not translated Node page

Hello, here it is Drupal 8 Language Switcher hook! I think for better user experience the language links must be available everywhere: both on not translated entity, on translated entity.

When the user visit Node or Taxonomy Term page or User page he might want to go to another Language. This might be cause sometimes Spanish version of the website has info user is looking for, but this page might be not translated into English. So after reading info in Spanish the user want to click on English language link to look English version of the website.

Private message Rest API parameters to POST a message to thread

Hi,

I am using the "Private message" module at one of Drupal 8 site. I want to create rest API to post the message to the thread.

As REST module suggests, I am using API - "/entity/private_message?_format=json" with body parameters as following

{
"owner": { "value": "1"},
"message": { "value": "hi hello 112"}
}

By this way, I am able to post the message. But I am not able to get that message in a thread.

M I missing something? what is the correct way to post the message at message thread with Rest API?

Does view support ajax callbacks on exposed view filters?

 I am populating a select field based on the previous filter value and so on.
However upon ajax fire, all i get is the following error.

An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (2 MB) that this server supports.

Can anyone shed some light on this?

How to show scroll bar when a form field is too long

Hi,

In my project, we have 800+ categories , when visit the article edit page /node/{nodeId}/edit , this will show all categories and the page will go very long.

I'm wondering if I can add a scroll bar at the category field, so the page won't go too long, how can I do this?

Thanks!

Security check for Drupal 8 website

I have been using drupal 8 website and want to verify my site is secured.

Things i worked

1) Core & Contrib modules version are up to date.

2) Writing secure code

3) Security Review Module

Other than above items where can i confirm my site is secured.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x