Closed (won't fix)
Project:
Workflow
Version:
5.x-2.3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Dec 2008 at 12:31 UTC
Updated:
14 Nov 2011 at 14:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jvandyk commentedIn Administer / Site building / Blocks, under "Page specific visibility settings", choose "Show if the following PHP code returns TRUE". Then enter the following:
See attached screenshot.
Substitute the state ID of the first state of your workflow (you can find out the state ID by going to Administer / Site building / Workflow and clicking on the Edit button next to the state you are interested in; the state ID will be the last part of the URL).
Comment #2
newdru08 commentedThanks - but this didn't work. This removed the block from all workflow states of the node.
Comment #3
Anonymous (not verified) commentedThere are two reasons this snippet did not work:
Comment #4
Bastlynn commentedHi,
With the release of Drupal 7, Drupal 5 is no longer receiving security updates, reviews, or development from many contributed modules. Since 5 is now considered a depreciated version, you really should seriously look into upgrading to Drupal 6 or 7. The newer versions of Drupal work better, have more support, and will be safer (literally! security patches!) for your website. We are currently working on a new release for Workflow to Drupal 7. In light of that, further support for Drupal 5 issues is infeasible at the moment. Please consider upgrading to Drupal 6 or 7 in the near future - you'll be glad you did.
- Bastlynn
Aside from that - you may consider pulling the node id from your URL on the display page. That will give you the nid, then you can load the node and pull the workflow data from that. Otherwise, I really do strongly recommend you update to 6 or 7.
Comment #5
Bastlynn commented