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
0 answers
20 views

How can I add workbench_access to a custom content entity?

I have a custom entity and want to use our current workbench_access scheme to it. I've google for a long time and can't find and example. This article says that workbench_access now supports multiple ...
johnfallen's user avatar
0 votes
2 answers
268 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....
HarshB's user avatar
  • 13
0 votes
1 answer
114 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 ...
Ahmad's user avatar
  • 2,835
0 votes
1 answer
66 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 ...
Paul H's user avatar
  • 63
0 votes
1 answer
168 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. ...
SuperTony's user avatar
  • 144
0 votes
0 answers
35 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 ...
MicWit's user avatar
  • 109
0 votes
1 answer
33 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 ...
user1359's user avatar
  • 3,909
1 vote
0 answers
303 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 ...
sam452's user avatar
  • 451
0 votes
1 answer
327 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 ...
sam452's user avatar
  • 451
0 votes
1 answer
80 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. ...
Sam's user avatar
  • 585
0 votes
1 answer
14 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 ...
m.snider's 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 ...
usernameabc's user avatar
  • 2,676
1 vote
1 answer
145 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 ...
Chris K's user avatar
  • 57
1 vote
0 answers
87 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 ...
Chris K's user avatar
  • 57
1 vote
2 answers
672 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 ...
Juhani's user avatar
  • 104
0 votes
2 answers
631 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, ...
neha's user avatar
  • 662
1 vote
0 answers
118 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 ...
Lukas C's user avatar
  • 201
1 vote
0 answers
52 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/...
sam452's user avatar
  • 451
-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 ...
John's user avatar
  • 1,491
-1 votes
1 answer
28 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 ...
Moto824BRO's user avatar
0 votes
1 answer
214 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 ...
mamesaye's user avatar
  • 261
4 votes
8 answers
9k 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 ...
harnamc's user avatar
  • 421
3 votes
0 answers
664 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 ...
Julien FRATICELLI's 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 ...
Geek's user avatar
  • 103
2 votes
1 answer
167 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 ...
Travis's user avatar
  • 457
2 votes
0 answers
249 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 ...
Varun Pandey's user avatar
1 vote
1 answer
180 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 ...
Himali Kosty's user avatar
0 votes
1 answer
853 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....
Travis's user avatar
  • 457
1 vote
0 answers
150 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
Umed Godd's user avatar
  • 317
3 votes
1 answer
116 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 ...
Rakesh K's user avatar
  • 131
1 vote
0 answers
199 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 ...
Rick's user avatar
  • 2,954
0 votes
0 answers
55 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 ...
Travis's user avatar
  • 457
0 votes
1 answer
87 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 ...
Rick's user avatar
  • 2,954
0 votes
1 answer
189 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 ...
user2768952's user avatar
0 votes
1 answer
56 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?
Diana's user avatar
  • 3,274
0 votes
1 answer
81 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
Diana's user avatar
  • 3,274
0 votes
1 answer
154 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 ...
Artur Kedzior's user avatar
0 votes
2 answers
223 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 ...
user3421014's user avatar
0 votes
1 answer
66 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....
Jelle De Loecker's user avatar
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 ...
Sai Kiran Sripada's user avatar
1 vote
2 answers
393 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 ...
Digital Competitive's user avatar
1 vote
1 answer
165 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 ...
Mouneer's user avatar
  • 178
1 vote
0 answers
59 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 ...
Lê Quang Tú's user avatar
1 vote
1 answer
125 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 (...
Hassan Ali's 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 ...
DevOP's user avatar
  • 11
1 vote
0 answers
33 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 ...
user3642142's user avatar
2 votes
1 answer
141 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 (...
user3642142's user avatar
1 vote
1 answer
72 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 ...
mixerowsky's user avatar
  • 1,581
4 votes
2 answers
388 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 (...
dba's user avatar
  • 163
1 vote
0 answers
192 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 ...
Travis's user avatar
  • 457