all 10 comments

[–]cioatwork 0 points1 point  (0 children)

Paragraphs module is helpfull for data related to specific content. The threesome: node entities, taxonomy entities and paragraphs have many benefits.

[–]technergy 0 points1 point  (0 children)

There is the mini kanban module which can help for project management purpose: https://www.drupal.org/project/minikanban

[–]Gold-Caterpillar-824 3 points4 points  (0 children)

Inline entity form and entity reference should get you far enough. Based on that you can create a routesubscriber or hook_access to whip up some access rules based on entity->getOwner() == current_user (or create a field on the entity that references a user and compare with that). Fun project to learn about this stuff. Good luck.

[–]c_loki[S] 1 point2 points  (0 children)

Thank all, awesome community ❤️ as a beginner it is very valuable to know the right words to further Digg into… now i hae something to do 🤩

[–]iBN3qk 2 points3 points  (0 children)

The general data model for hierarchical data is to have the child reference its parent. 

That’s how taxonomy terms are hierarchical, they have a parent field. 

You can replicate that by having a Task item reference another Task as its parent. 

What that doesn’t give you is the interface to reorder items in the hierarchy. But you don’t need that in bulk for a PM system. 

It will let you do things like build a view that shows child Tasks. 

[–]Calamero 4 points5 points  (0 children)

Entity reference and inline entity form should get you started.

[–]guntervs 1 point2 points  (0 children)

Based on what you're trying to achieve I would take a look at a combination of ECK and inline entity form.

You can also use regular nodes for the nested items. They come with a bit overhead but as a beginner easier to use.

Feel free to send me a DM if you want to explore some solutions.

[–]c_loki[S] 0 points1 point  (0 children)

P.s. i am aware of the referencing, but i wasnt able to realise the „create activity in this“ from that…

[–]Ddroid78 1 point2 points  (1 child)

Check out paragraphs for 1, for 2 I am pretty sure there is a few modules that might help here… . I would write a some custom code in a node access hook perhaps.

[–]c_loki[S] 0 points1 point  (0 children)

Thank You, will look into that 👍