Closed (fixed)
Project:
Flag Note
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
14 Aug 2009 at 12:54 UTC
Updated:
11 Jan 2010 at 02:11 UTC
It would be really nice if a token existed for flag note, especially for use with rules.
Sincerely,
Rene
Comments
Comment #1
gunzip commentedinteresting, i will look at this.
Comment #2
rhache commentedgunzip,
Just to give you a bit more info as why I want this, I think would be cool to be able to create a rule that sends an email to to someone whenever a flag note is created.
That way, you could have an "Ask a Question" flag, and specific users could be notified immediately.
I've tried using the tokenSTARTER module, but so far I've had no luck given my pretty rudimentary php coding skills.
Sincerely,
Rene
Comment #3
Remon commented+1
Comment #4
gunzip commentedcan you please make an example use case ? thank you.
Comment #5
gunzip commentedComment #6
Remon commentedan example use case is when I want to fire a "send a tokenised email" action, that sends the note to the recipient email once an item is flagged.
Comment #7
gunzip commenteddo you mean, you want to manually type tokens into the flag note like [node-title] etc ?
Comment #8
Remon commentedI just want to include the flag note into action's email body, something like [flag:note]
Comment #9
rhache commentedJust to expand on rgeorgy explanation, the reason I made the feature request is so that once a flag note was added to a node, that I could inform users of that note via email or some other method.
For example, you could use Flag Notes to track issues on nodes, and immediately notify all users of a particular role a what needs to be fixed.
Thanks,
Rene
Comment #10
gunzip commentedcommitted to -dev. now there's a [flag-note] token in the "sending tokenized email" flag action. can you confirm that this works well ?
Comment #11
rhache commentedHi gunzip,
I tested with Rules, since that's the scenario I'm interested in.
However, I cannot see [flag-note] as one of the token items I can use.
I should point out that I'm not familiar with how to use actions with core, for which this might work fine.
Sincerely,
Rene
Comment #12
gunzip commentedsorry there was a small typo, in line 454 you have to put:
instead of
(committed to dev).
Can you try then? Thank you.
Comment #13
BillyMG commentedSeems to work so far, for me. Thanks.
Comment #14
gunzip commentedComment #15
rhache commentedHi gunzip,
Just tested it and confirming that this does also work for me.
Very very sweet.
Thanks,
Rene
Comment #17
BenK commentedJust need to keep track of this thread