This might be relevant to the issue on integration with the Actions module: http://drupal.org/node/210580

Views Actions Link is a module for exposing traditional actions as Views fields. This enables invocation of action code from the views, themeable in any way. Triggering Workflow NG through view fields should be as valuable.

This could be implemented as an extension to CC Links module, by adding ability to create content links which are NOT associated with any content type, but instead exposed as views fields to be used anywhere.

Comments

fago’s picture

hm, why not add workflow-ng support to views actions link?

dkruglyak’s picture

A real problem is Views Action Links is dependent on actions, which is extra baggage at best.

I think CC Links should be able to provide event-triggering links in more places than just node link area. Views is one obvious place, but there should also be an option to output custom links arbitrarily by themes.

In any case Views Action Links code is very small / simple and could be replicated in CC Links easily.

fago’s picture

hm that's right. Feel free to create a patch :)

dkruglyak’s picture

Title: Expose Workflow-NG events/actions through Views » Options for triggering Workflow-NG events/actions
Version: 5.x-1.x-dev » 5.x-2.x-dev

OK, I hope to get to this issue soon. This really should be renamed and expanded to cover:

1) Exposing through View fields
2) Custom link/callback for output anywhere by themes
3) API and UI for scheduling invokation by cron

I think the part #3 could be based on and replace CCLink scheduling by generalizing it to support non-node entities and recurring events.

fago’s picture

yeah, I've planned support for a more general scheduling mechanism, but that's not simple. I think this will be 6.x only.