This patch provides basic ctools integration. It consists of two files:
- workflow_ctools.patch, adding an implementation of hook_ctools_plugin_directory.
- node_workflow.inc, which must go in the folder workflow/includes/content_types/node_context
The path structure of the plugin follows the requirements of ctools (which may be overridable, but I haven't found how).
The only feature that it provides, is a new type of pane when building panels, under the "Node" category: "Node workflow", which is a simple pane with the workflow name as title, and the current workflow state of the node as content.
I'll try to expand ctools integration by adding a plugin for the workflow part of the node add/editing form, but I still have to write it.
| Comment | File | Size | Author |
|---|---|---|---|
| node_workflow.inc_.zip | 914 bytes | peterpoe | |
| workflow_ctools.patch | 867 bytes | peterpoe |
Comments
Comment #1
Bastlynn commentedI'll take a look at this in a bit.
Comment #2
Bastlynn commentedOk, I'm a little confused on what the goal of this patch is. That's probably because I've not worked with panels much. What does this thing add in terms of feature set?
Comment #3
johnvI'd like to mark this as a duplicate of #1511694: Better integration of workflow_node with panels, although this is older. The other issue has a longer thread and a D7 patch.
D6 version is not maintained anymore.