Closed (works as designed)
Project:
CKEditor mentions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2014 at 14:20 UTC
Updated:
19 Jan 2019 at 11:23 UTC
Jump to comment: Most recent
Comments
Comment #1
tanius commentedI do not think this is supported out of the box, since there is no Rules integration for ckeditor_mentions, and no configuration settings that would support it directly.
However, I have found a workaround for my own purposes (using the 7.x-1.2 version, but it probably also works on Drupal 6.x). For that, I simply installed the mentions module additionally and configured it to recognize usernames based on an @ prefix (config settings: prefix "@", suffix nothing). Then I created a Rule (using rules) for sending a new message, triggered by event "Mention: New Mention Created".
While this solution is admittedly hacky, the two modules do not seem to interfere in any way.
Comment #2
askibinski commentedIndeed this module has no built-in support for email notifications.
tanius suggestion is a bit hackish indeed ;) but that might be the easiest way if you are not a programmer.
Anyway, the way we did this, was by parsing the field in our own custom module who did a lot of other things too.
Here's a code snippet to get an array of uids from a given field:
You could call this from hook_node_insert() for example.
Comment #3
askibinski commentedI'm closing this one because it's already supported in the Drupal 8 version through events, and the Drupal 7 version won't get any new features.
You can write your own email logic which is triggered by one of the events available, but the email functionality itself does not belong in this module.