D8, is there a way to see other editor is editing an article

Hi,

In Wordpress, I can see that whether an article is editing by an editor or not from the post list page, and if I want to edit same article, a message will popup, tell me I will take over this article from other editor.

But in Drupal 8, I didn't see same thing. So my question is, is there any module can provide this feature ? when some user is editing an article, other editor can see that.

Thanks!

Which Drupal install for subscription membership?

I am doing a new Drupal website.  I am new to Drupal but I have used other products for other web pages, including a current one that uses Joomla & RSForms.  

The new web site purpose is a membership subscription where members have access to content that the general public does not see.

Memberships are yearly, renewed automatically unless canceled.

An additional service can be purchased (consulting time) as a one time purchases.

The content of the web page is articles with pictures, maybe videos, and a way to ask questions.

Can custom FieldType (TypedData) contain logic?

I've been evaluating D8 for at least a week, before delving into coding. 

I was wondering if a custom FieldType (TypedData) can contain some business logic? The way I see it, it's a Value Object (from the concept of DDD). 

For example, let's say we have a Dimensions field (similar to the physical module) with L, W, H columns. We can have the following:

$node->get('dimensions')->{getFieldType}->getVolume();

How to integrate a render array into a $build (or #pre_process) object?

I have a node content type called Doctor that has a field of what categories they are classified with and another field of what directory nids they should appear. A Directory is also a node content type that has a field for what taxonomy categories it should be looking for to fill its page. It seems to me that within my custom module I can use hook_node_view to change the render array and integrate these Doctor entities under each category. 

Right way to dinamically insert HTML Video

Hello,

I was trying to insert a HTML video tag when the user is on Desktop, and just don't do it if on Mobile, instead of using a Display:none on the video tag if user is mobile.

I was able to write this code, it works, it does insert the HTML Video tag, but for some reason I couldn't firgure out, it's not playing automatically. Even if I click on it nothing would happen.

I know I'm probably missing something in JS code, but I'm not sure what it could be.

The end result is the same as if I would have added the HTML tag on its own, but it's not playing.

Radix subtheme: 'npm run dev' kills my css changes

Creating a Radix subtheme works fine. But after running 'npm run dev' changes to my css file are missing.

Example: Under "themes/custom/subtheme/assets/css" I added a property to a div element in my css file. Then I run 'npm run dev', open the css file again, the property is gone :/

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x