I am trying to create a block that will appear on an "Add node" page for a custom type. I want the block to auto update searching and displaying nodes with similar words in their body. The idea is its a help desk system like Hesk that auto looks up similar issues and shows them to you before you actually post the ticket. I have written custom modules for Drupal 7 before but want to do this for Drupal 8 and have no idea where to start! If it is not possible for it to dynamically update, maybe once the user presses save, it could then show the similar content on a new screen and say continue with post or something similar before it actually posts. Any pointers of how to even go about something like this would be great! I was thinking maybe some sort of bootstrap wizard might work? Step one being enter details, step 2 being similar issues, step 3 being post issue?

Comments

cjsmith87’s picture

I have found these two modules that look as if they do what i want for drupal 7 but not 8.
Suggest similar titles: https://www.drupal.org/project/suggest_similar_titles
Uniqueness: https://www.drupal.org/project/uniqueness

Both look great so I am going to look at how easy they would be to port over. Thought id post my own progress here incase anyone else is looking to do something similar