After I installed the lastest dev version, I found that the workflow transition form will be displayed in the node view page. But I don't want that.

How to NOT show the workflow transition form in node view page?

I think it should be an option in setting.

Thank you very much.

CommentFileSizeAuthor
#5 1893542.patch451 bytesNancyDru
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

NancyDru’s picture

Try the "manage display" page for the content type. You should be able to move it to "hidden".

NancyDru’s picture

Title: How to now show the workflow transition form in node view page » How to not show the workflow transition form in node view page
adamtong’s picture

I have tried. but there is no option in the manage display for the workflow "field"

Please help.

NancyDru’s picture

Line 547: $extra['node']['service'] = array(
Change to: $extra['node'][$type] = array(
Then clear your cache.

NancyDru’s picture

FileSize
451 bytes
NancyDru’s picture

Status: Active » Needs review

Here's a patch

adamtong’s picture

thank you so much. It works very well.

Will it be committed in coming version?

thank you.

NancyDru’s picture

Yes.

NancyDru’s picture

Status: Needs review » Fixed

Committed to -dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.