Actions don't show for taxonomy triggers

doc2@drupalfr.org - April 2, 2008 - 18:23
Project:Actions
Version:5.x-2.0
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:by design
Description

I'd like to unpublish my image node whenever it's tagged with "thumbnail" (this image being only used as an "Attached image" in other nodes, must never show up elsewhere).

Currently, it seems impossible... no action, not even a basic action available elsewhere, is available for any taxonomy trigger.
See below: No_action_for_taxo_trigger.png

I'm the admin, so there shouldn't be any question of "access". Would you know what's wrong?

Many thanks in advance, Arsène

AttachmentSize
No_action_for_taxo_trigger.png42.29 KB

#1

jvandyk - April 2, 2008 - 18:39
Status:active» by design

Drupal core only provides the framework for actions/triggers and some basic actions. You would need to write your own action to do what you describe, or take an alternate approach (like using nodeapi). Note that there is no taxonomy hook fired when a duplicate term is used (i.e., the term 'thumbnail' after it has been used the first time) while submitting a node.

#2

doc2@drupalfr.org - April 10, 2008 - 15:13

Thank you for the answer. The UI gave me big hopes! If only that wasn't just a framework... that's not much clear on the project page.

Q: Has someone already written something for allowing taxonomy triggers? Anyone knows a module which would do the task? John, any hint?

EDIT: A: I tried http://drupal.org/project/taxonomy_actions . It works with Actions 2.x. You need to patch the node.module with the actions2 node.module patch and then create the corresponding advanced option. This solve my problem, not the issue.

Greetings

 
 

Drupal is a registered trademark of Dries Buytaert.