2022 Developer Survey is open! Take survey.

Questions tagged [workbench]

Use it for questions about the suite of modules for managing content inside Drupal: the Workbench project.

Filter by
Sorted by
Tagged with
0 votes
2 answers
99 views

Token to get the latest revision's URL

I am using the Content Moderation and the Workflows modules along with the Workbench Email module to generate email templates. The Workbench Email module uses tokens to create dynamic email templates....
user avatar
  • 1
0 votes
1 answer
97 views

Change workbench moderation state with VBO does not work properly

I have two workbench moderation states draft and publihsed When I try to change the state of a node from draft to published using VBO's set moderation state action, It actually republish the published ...
user avatar
  • 2,699
0 votes
1 answer
51 views

Update the from name in workbench email template

I'm trying to update the "from" name in my workbench email template. I created a custom module and added the following hook ('hook_mail_alter') but it's still not updating the from name for my email ...
user avatar
  • 43
0 votes
1 answer
114 views

Unable to access translated node content

After performing a Drupal core update on my site today I've found that I can no longer access translated content. When I try to view or edit the translation, I only see the default language content. ...
user avatar
  • 134
0 votes
0 answers
29 views

Where are the "My Drafts" and "Needs Reviews" tabs?

I am experimenting in simplytest.me to see if Drupal will suit our needs. I have been testing the workbench moderation module to get the work flow that will be required (content editors and then ...
user avatar
  • 109
0 votes
1 answer
31 views

How do I troubleshoot a node not appearing in workbench?

I have a bug report where a user is not able to see 'Draft' status nodes that they have just created in their workbench interface (at /admin/workbench). They are able to see other nodes in various ...
user avatar
  • 3,839
1 vote
0 answers
265 views

What is drupal/drupal dev-master?

I have a Drupal 8.6.7 project that I'm trying to manage with Composer. I'm trying to understand why I cannot make it work. To get this project started, I wiped the vendor and composer.lock file and ...
user avatar
  • 409
0 votes
1 answer
230 views

Redirect to home after NODE_ACCESS_DENY

My D7 customer uses the Workbench suite of modules to use taxonomy to allow fine-grained access to nodes successfully. But with a large amount of data to manage, sometimes they want to unpublish a ...
user avatar
  • 409
0 votes
2 answers
79 views

Workbench Moderation: Published data overriding draft data on draft view

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. ...
user avatar
  • 527
0 votes
1 answer
13 views

Features installed with profile are overridden

We are using workbench with the subpermissions module. We have created two features which set custom permissions for workbench and for subpermissions. If we install the workbench feature and then ...
user avatar
1 vote
2 answers
1k views

How to send an email to select set of users for moderation states?

We are using the following modules below for content moderation. Currently have we have 5 people with the Content Approver role and all of them are sent an email when a state transition occurs. There ...
user avatar
  • 2,376
1 vote
1 answer
123 views

Use Rules to notify original author when their node is published [closed]

In short, I'm simply looking to notify the original author when their node goes from a non-published state to a published state. I have Workbench Moderation enabled if it makes a difference. I've ...
user avatar
  • 57
1 vote
0 answers
80 views

Proper Workbench Access/Moderation/Email + Node permissions for my use case?

I've been banging my head against the wall all weekend trying to figure this out but just can't seem to get 100% of the way there... I fix one thing, causing another thing to break. Making me question ...
user avatar
  • 57
1 vote
2 answers
571 views

Using Workbench Moderation state changes as events

I would like to use the Rules module to send out emails to specific roles whenever a moderation state change event occurs on a node. So if a node is saved, and it goes from Draft to Needs Review, this ...
user avatar
  • 104
0 votes
2 answers
519 views

How to display unpublished contents in views for all the users?

I need to display published as well as unpublished content for all the authenticated users. Also, site also has workbench moderation module enabled. I have tried by pass access control permission, ...
user avatar
  • 644
1 vote
0 answers
110 views

Scheduled Update - publish new draft of an existing and published node

Trying to setup a scheduled update of an existing node (Drupal 8.3). I make content changes and setup Moderation State to draft - node is still visible to visitors, and new revisions is saved with ...
user avatar
  • 201
1 vote
0 answers
50 views

Set workbench_access taxonomy term to active

We're using workbench_access to separate content by taxonomy and when my customer adds a new term and tries to assign a role to it, is unable to find it in the list under admin/config/workbench/access/...
user avatar
  • 409
-1 votes
1 answer
50 views

Author can't see drafts when "sent back" from publisher in workbench

I have a problem after installing workbench access, workbench moderation. When an author creates a blog entry and sets it to needs review, the publisher will receive it in his work bench. When the ...
user avatar
  • 1,491
-1 votes
1 answer
26 views

Display view results based on two values NOT matching

I am trying to filter view results based on two fields 'Workbench moderation: Latest revision ID (Latest Draft ID)' and 'Content revision: Revision ID (Published)'. What I want to happen is if the ...
user avatar
0 votes
1 answer
169 views

Create short link automatically with ShURLy

I am using the ShURLy module to create short links for nodes. I would like to be able to create the short links when nodes are published, automatically, without having to do the extra steps of ...
user avatar
  • 253
3 votes
8 answers
7k views

"This entity (node: id) cannot be referenced" error

I use Drupal 8 and I have a content type which has a field that references another content type as a entity reference field. I use a rest endpoint to create the node and the referenced node which ...
user avatar
  • 411
3 votes
0 answers
648 views

How do I use the current theme templates to render a node in a module in order to send node content via email?

I'm trying to send a rendered node (which contains multiple entity references) via email for a newsletter. I'm using workbench moderation and workbench email to manage the different states I need and ...
user avatar
1 vote
1 answer
1k views

Content approval by roles

here is my question: I need to implement a content approval process, my client wants content to go through an approval process before being published. I need to create 3 administrative roles, like ...
user avatar
  • 103
2 votes
1 answer
164 views

Check if Workbench Content Has Published Revision

We are using Rules for advanced Workbench notifications. However, we have a notification that needs to change depending on whether content actually has a previously published version or is entirely ...
user avatar
  • 435
2 votes
0 answers
207 views

How do I migrate workbench states?

I have used the Workbench module in my Drupal 7 website. Now I want to migrate this website to Drupal 8. But when I migrate the site, it migrates only content and not the workbench states that were ...
user avatar
1 vote
1 answer
168 views

How to create notifications like Facebook about pending workflow approvals?

Is it possible in Drupal 8 to setup notification bar as in Facebook? Update: I have different roles and I am using workbench for applying workflow. I have three transition attached with role like ...
user avatar
0 votes
1 answer
780 views

hook_tokens() implementation no longer being called

We have a custom module in development, the purpose of which is to fetch the email addresses of the users who review content. Upon revisiting this module (after updating from Drupal-7.41 to Drupal-7....
user avatar
  • 435
1 vote
0 answers
144 views

Change workbench status from draft or needs review to publish programatically in Drupal 8

I want to update a node status from draft or needs review to publish programatically in Drupal 8. Can anyone suggest which is the function used by WBM module to update the node status. Thanks
user avatar
  • 317
3 votes
1 answer
111 views

unable to create new draft programatically for published node

I am using workbench_moderation module. When I edit the node and save it using node_save($node) it is changing the status of actual node to draft and original node is getting unpublished. While I ...
user avatar
  • 131
1 vote
0 answers
195 views

Workbench unpublishing nodes

I'm trying to understand Workbench for Drupal 7. We have a role called Content Edtior that is able to create drafts of new content and new drafts of existing content. Our trouble happens when ...
user avatar
  • 2,894
0 votes
0 answers
44 views

Can one user be assigned different permissions in different sections with Workbench Access?

We are testing the Workbench and Workbench Access modules. We have many different sections on our site which are each managed by a specific department. These sections are established using a ...
user avatar
  • 435
0 votes
1 answer
84 views

How to diagnose an undefined index in a fresh install of Drupal 7?

Question: How do I begin to explore what is causing this error? If this were reporting errors from a contrib module, I would submit a bug report on drupal.org. However, I'm not really sure where I ...
user avatar
  • 2,894
0 votes
1 answer
179 views

Send e-mail when a field has a specific value

I use the Workbench moderation module for Articles workflow. I would like to send an e-mail when Workbench moderation field has the needs review value. I tried using the Rules module, but I don't ...
user avatar
0 votes
1 answer
54 views

Workbench moderation repeats "Save and " in the button labels

My workbench moderation label is, for example, Save as draft, but the button says Save and Save as Draft. How can I get rid of that Save and , which is repeated for every button?
user avatar
  • 1
0 votes
1 answer
75 views

how to change the weight of a moderation state transition outside the database

how can I change the weight of a Moderation state transition in code? is it possible? This is for Drupal 8
user avatar
  • 1
0 votes
1 answer
105 views

Allow Role to change only Moderation State of Content Type without possibility to edit content fields

The system we are building has a role Publisher. It's task is to change Moderation State of a content (news content_type) without having a possibility to edit an actual content. In short, the user ...
user avatar
0 votes
2 answers
206 views

Views content show current state - workbench

I have a page that lists all the content and want to display the current state for each node. But for now I can only see published content on the page. The view of mine is a content view. Can we ...
user avatar
0 votes
1 answer
61 views

Content REST view does not work because of moderation states

I've created a simple view using the REST export to export all published content in JSON format, but I get this error: Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity....
user avatar
  • 121
4 votes
2 answers
2k views

How to build a simple content approval workflow between an administrator and a user?

I have the following requirement on a Drupal site. User interface (Authenticated user): A simple form with some text fields Radio buttons to select the content type A submit button to submit the ...
user avatar
1 vote
2 answers
385 views

How to make a rule select all users of a role?

I have a certain content type in which I have a user entity reference select list that is invisible to users/editors. The idea is that the creator of the request has to choose a role of employees to ...
user avatar
1 vote
1 answer
159 views

Why node object loses data after using workbench_moderation_moderate?

I'm using Workbench Moderation module because it matches my needs. I have a front-end form that initiate the node with some fields. Editor should review the node and fill all the required fields ...
user avatar
  • 178
1 vote
0 answers
56 views

How can I add date field in workbench moderation form in Drupal 7?

I have a content type. I applied workflow for this content type of using the Workbench, Workbench moderation, Workbench access module. When using I see arise a problem to add to my software that I ...
user avatar
1 vote
1 answer
121 views

Workbench Moderation - intermittent save / autosave without new revision

I'm stuck with a problem while using workbench moderation. while working on a node, my client wants to save / auto save his work but if he hits the default save button then it is creating a revision (...
user avatar
1 vote
1 answer
57 views

How to create many workbench moderation flows / scenarios [closed]

I want to manage many content types with the workbench moderation module. Every content type should have its own states and transitions. I tried Workbench Moderation Profile module, but it has many ...
user avatar
  • 11
1 vote
0 answers
30 views

Workbench Email - Slowing down Add Edit

I've configured workbench as per tutorial, everything works fine until i've handful of users but when I imported about 7000 users (authors) and when I open Add or Edit content type form for editorial ...
user avatar
2 votes
1 answer
139 views

Workbench Moderation - Admin Preview - Show Current Revision in Front-End

Can someone please help me on the following use case related to workbench module showing current revision but in the front-end. What I need: When we hit the preview button on edit content type (...
user avatar
1 vote
1 answer
66 views

Different permissions after node publishing

I have a role (Creators) where users can create/edit/delete nodes of some content types but they can't publish it, publication is done by other role (Publishers), I'm using Workbench and Workbench ...
user avatar
  • 1,584
4 votes
2 answers
337 views

List all Nodes a user ever edited

I want to do display a list with Views, which shows all Nodes the current user have ever edited. The workbench Module includes a list like I need, 'workbench_edited', this view uses the Filter (...
user avatar
  • 163
1 vote
0 answers
188 views

Why can I not set Workbench Access Control fields?

I am attempting to set the workbench access control fields on two content types. Under the "Access Control Fields" section of the Access settings page, my two content types can be seen. I drop down ...
user avatar
  • 435
1 vote
0 answers
150 views

Published content is not visible to anonymous user

I have installed the Workbench module (version 7.x-1.2) on my 7.38 Drupal install. Everything is working fine as far as an original author changing the status of a page from "Draft" to "Needs Review" ...
user avatar
  • 11