You can nicely use rules to send an e-mail upon setting a flag note, and this e-mail can contain the text of the note. You can't, however, include the vocabulary term. It would also be nice to have access to this term in views.
Use case: I'm using this for moderation. I'd like the user to be able to pick from a list of problems. I can set that up, but I can't include it in the e-mail to the moderator or show it in the moderation report (view showing list of flag notes).
Great module. Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | token_term.patch | 2.25 KB | gunzip |
Comments
Comment #1
gunzip commentedThe term should be already available in your view under Relationship -> Flag Note -> Predefined note.
About rules, I've no plans actually for integration but I'll keep this open for the imminent future.
Comment #2
rawash commentedAre there anyway I can include the taxonomy term in the email that is sent to the moderator, you answered the question about how to view it on the view, but say nothing about the email
Comment #3
Ravi.J commentedHi @Rawash , How is the email being sent to moderator, Is it being triggered through VBO or are you using actions for triggering email ?
Comment #4
rawash commented@Rav.j I use the actions (send tokenized email) and I cant find any token to use as the pre-defined notes (Taxonomy terms) so I could include it in my email,
Thx
Comment #5
gunzip commentedi'll look at this asap, *should* be easy to implement with just more two lines.
Comment #6
gunzip commentedwith this patch i've added a new token for the term but actually i fear there's no way to add the required info (term + flag note text) during an action/rule. the only place where you can use the flag-note tokens is contextual to the flagging operation.
if this is what you were looking for, let's mark this as fixed after reviewing.
Comment #7
gunzip commentedComment #8
thedavidmeister commentedI want to add something to this that i thought was not obvious immediately.
After you add the predefined relationship, you extract it in the fields section by choosing "Taxonomy: Terms" and selecting the relationship there.
Comment #9
matdab commentedHi,
I've got already this patch in new version, but still I don't have flag_note_term field in views. Can u please let me know what is wrong?
Thanks for very needed module!
mat
Comment #10
gunzip commentedas suggested by thedavidmeister
After you add the predefined relationship, you extract it in the fields section by choosing "Taxonomy: Terms"
and selecting the relationship there.
so you just have to add a taxonomy term field using the flag note relationship
Comment #11
matdab commentedThank u, it wasn't obvious indeed:)
Comment #12
castelar commentedI don't see flag-note text or term tokens available in actions or rules. Can this be added, or already possible? My use case. Flag a node, add a note, trigger a rule that sends a Twitter message with the flag-note-text.