I'd like to flag a node automatically every time it is tagged with a certain taxonomy term. Is this possible to accomplish with the Flag Actions sub-module?

Comments

quicksketch’s picture

Category: feature » support

It might be possible using Rules, or you can implement hook_nodeapi() in a custom module. This won't be added as a feature to Flag itself, since it's requirement is extremely specific and is probably best handled by a separate solution.

mitchell’s picture

Project: Flag » Rules
Version: 5.x-1.1 » 6.x-1.x-dev
Component: Miscellaneous » Documentation
Status: Active » Fixed

It might look something like this:

Event: Node is submitted
Condition: Taxonomy has term
Action: Flag content

Marking as fixed, but feel free to reopen if you need any further assistance.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

fadgadget’s picture

Status: Closed (fixed) » Active

hi im going to reopen this as it doesnt seem to be fixed. Please see
http://drupal.org/node/1787324
http://drupal.org/node/1036678

the suggestion in #2 doesnt work at all. Currently im using

ON event After saving new content

IF
Created content is Post
AND
Content has term

DO
Flag created content, under "Unlisted Content"

I can get it working if i remove the content has term part but thats the important part to me. Terms are flagged with-
http://drupal.org/project/flag_terms

If anyone can help me it would be appreciated as this has been holding me back for weeks. Thanks

fadgadget’s picture

Hi is this just not possible? I am in kinda limbo with my sites structure till i know whether i can go ahead with this. My alternative would be to create a new content just for the unlisted tags. Sorry for being a pain. Thanks

tr’s picture

Issue summary: View changes
Status: Active » Closed (outdated)