Please jump in http://drupal.org/node/135125 !

Many thanx

Comments

westbywest’s picture

You can use this code by wrapping it in a custom module. That is, create the files custom_action.info and custom_action.module and then paste the code snippet visible at the URL above into custom_action.module.

After enabling the custom module, then go to admin->site building->actions to create new actions to add/remove terms.

Finally, you will need to create a trigger for this action to actually occur. This could be done by a cron job, user votes (e.g. with with the voting actions module), a workflow transition, or whatever is relevant to your project.

westbywest’s picture

You can use this code by wrapping it in a custom module. That is, create the files custom_action.info and custom_action.module and then paste the code snippet visible at the URL above into custom_action.module.

After enabling the custom module, then go to admin->site building->actions to create new actions to add/remove terms.

Finally, you will need to create a trigger for this action to actually occur. This could be done by a cron job, user votes (e.g. with with the voting actions module), a workflow transition, or whatever is relevant to your project.

doc2@drupalfr.org’s picture

This should be useful. I'll let you know whenever I implement this. Thank you very much.

Greetings

doc2@drupalfr.org’s picture

My needs have changed.

Yet the Node Auto Term module could have done what I was looking for: http://drupal.org/project/nat

Hope this helps

paulnem’s picture

Great, this plus the php code in the supplied link are just what I was looking for. I'm incorporating this with the scheduled actions module and am happy with the results so far.

crandell’s picture

I can't get this to work quite right. The php code in the link above simply *adds* a term, even if the vocabulary is not supposed to allow multiple selections. How do I get it to *change* the term instead? So it would clear all other terms in the vocabulary before adding the desired term? I'm not well-versed in php.

doc2@drupalfr.org’s picture

Crandell, your request is about a new feature and should be submitted as such as a new issue, or as a forum topic.

Then you could link it there. Personaly, I cannot help you on this unfortunately. Good luck.

pomliane’s picture

Status: Active » Closed (won't fix)

This version of Actions is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.