Hi, I'm currently getting the message:
You are currently viewing the possible transitions to and from workflow states. The state is shown in the left column; the state to be moved to is to the right. For each transition, check the box next to the role(s) that may initiate the transition. For example, if only the "production editor" role may move a node from Review state to the Published state, check the box next to "production editor". The author role is built in and refers to the user who authored the node.
on 403 and 404 pages.
Removing strstr($path, and ): in function workflow_help seems to clear things up, but I don't know what other effects it would have.
??
Comments
Comment #1
Nick Fedchik commentedConfirm. On my site it's same message for anon user instead of title page.
Comment #2
avpadernoI changed the code to:
To simply remove the call to
strstr()makes the help appear in less places where it should appear. The module checks if the path starts with the second string passed to the function, and when it finds the first characters of the path it shows the appropriate text.There could be a better way to do that, like checking for a path like
'admin/build/workflow/edit/%'(which is permitted from Drupal 6). I should check if that would match also'admin/build/workflow/edit/1/2', or just'admin/build/workflow/edit/1'. If this would be the case, the code would become:I will check about that tomorrow.
Comment #3
avpadernoI changed the code like follow:
I removed the help text from pages where it should not have any sense (and which has been catched from the original code) by restricting the match; it doesn't make any sense to present a the same help to the page to add a state, and to the page to delete it.
Comment #4
jvandyk commentedFixed. Thanks.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.