0

Moderation's draft content not showing on the front end.

When a node has both a published and a draft, the data from the published overrides the draft data on the front end when viewing the draft.

For example www.example.comnode/6 and www.example.com/node/6/draft will display identically.

Does this require a special hook in the theme?

1 Answer 1

1

It was a two-part solution. There was a bug that needed patch #16 from here: https://www.drupal.org/project/workbench_moderation/issues/2021903

I also needed to add vid to node_load: When I combined the $vids = $node->vid; $node = node_load( $nid, $vids ); with patch #16 from: https://www.drupal.org/project/workbench_moderation/issues/2021903 it solves the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.