Hello,

I see the og_actions module can allow the changing of og_groups using Workflow. Can anyone help with the same idea to allow nodes to have their Taxonomy Term changed in a similiar manner? what I am after is to be able to publish content to different Taxonomies as they move through a workflow, eg: a document is created, reviewed and approved so I want to transition the document through a status taxonomy where the terms are New, Reviewed and Published.

Simply using the Publish/Unpublish button is not suitable as I am using Taxonomy Access to determine which content a user can see at any given point in time.

Any help would be appreciated,
Thanks.

CommentFileSizeAuthor
#2 taxonomy_actions.module.txt2.05 KBKieg Khan

Comments

moshe weitzman’s picture

Status: Active » Closed (fixed)

what you describe can be achieved with workflow and workflow_access modules. see the na_arbitrator project for workflow_access. see http://angrydonuts.com/publishing_articles_a_tutorial for the text.

Kieg Khan’s picture

StatusFileSize
new2.05 KB

Ok, lets try it another way.

Can you help me create an action that will allow Workflow to modify the Taxonomy Term, eg: pick the term from a list and workflow then automatically updates the table TERM_NODE with the TID that was picked?

I had a look at the link you provided and it looks overly complex for what I want to do. Also, there seems to be a lot of tinkering with the code required, which I do not want my un-knowledgable users to have to deal with.

While I am not a programmer, I have had a bit of a play with an action module to change the Taxonomy term and I have a few problems. If you can review the taxonomy_actions.module then any constructive help would be great.

To start with, I have created a query that (sort of) gives me a list of terms to pick from. What it does not handle is the view of multi-layered terms. Unfortunately my SQL skills are not good enough to create a query to show the parent relationship of the terms. Currently it gives a list like:

VID, TID, Parent
1, 1, 0
1, 2, 0
2, 1, 0
2, 2, 0
2, 3, 1
2, 4, 1
2, 5, 2
2, 6, 2

What I would like it to do is give results as:

VID, TID, Parent
1, 1, 0
1, 2, 0
2, 1, 0
2, 3, 1
2, 4, 1
2, 2, 0
2, 5, 2
2, 6, 2

so that it is clear that the term is a sub-term of the parent term.

The other thing I cannot figure out how to do is to update the TERM_NODE.TID with the value picked from the form.

So at this stage my action can be added as Taxonomy_actions.module from the modules menu. The Action can be selected for use from the Actions module. The Taxonomy Terms can be selected from the list (although the view is not as I would like it). But the action does not do what it is supposed to do as I do not know how to apply the action to the relevent table.

If you can help or anyone can help, then I think this action would be very useful to people and be a lot more integrated and easy to use than other solutions I have seen.

Thanks.