Hướng dẫn thêm Moderation State Tab mới vào Workbench trong Drupal 7

Hướng dẫn thêm Moderation State Tab mới vào Workbench trong Drupal 7

One of our members was watching our video class on Drupal's Workbench module and had been getting it set up on their site. However, they weren't sure how to use the new moderation states they added.

>> Giới thiệu 3 cách nâng cao để boost Drupal performance

>> Giới thiệu top 10 Drush commands tiếp theo

>> Hướng dẫn thêm Links to Fields trong Views

They wanted to add a tab so that people could easily see the content in a particular moderation state.

In this tutorial, we'll show you how to make that happen.

Note: we are going to assume some knowledge of Workbench. If you're new to or struggling with Workbench, watch our video class.

First, if you don't have one, set up a new state that content can be assigned to.

  • Go Configuration > Workbench Access
  • Add a new state. In this example, we added "Final Editor Approval":

Add a New Moderation State Tab to Workbench

  • Go to Structure > Views
  • Find the "Workbench Moderation: Content" view. This is the view that creates an default tab for the "Needs Review" state.
  • Click Clone:

  • Click Continue.
  • Now, we need to create a custom menu link for our "Final Editor Approval" state. Click "Tab: Needs review"/

  • Change the title of the menu link:

Now we need to modify the content that is being shown when people click this menu link.

  • Under Filter Criteria, click "Workbench Moderation: State (=Needs Review).

  • Choose the moderation state that you created earlier:

  • Save your view.
  • Go to your Workbench dashboard and you'll see your new tab.

Hướng dẫn thêm Moderation State Tab mới vào Workbench trong Drupal 7

Bạn thấy bài viết này như thế nào?: 
Average: 4 (1 vote)
Ảnh của Tommy Tran

Tommy owner Express Magazine

Drupal Developer having 9+ year experience, implementation and having strong knowledge of technical specifications, workflow development. Ability to perform effectively and efficiently in team and individually. Always enthusiastic and interseted to study new technologies

  • Skype ID: tthanhthuy

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Ngày 8 học HDFS là viết tắt của Hadoop Distributed File System

Ngày 8 học HDFS là viết tắt của Hadoop Distributed File System

HDFS là viết tắt của Hadoop Distributed File System và nó là 1 hệ thống lưu trữ chính được dùng bởi Hadoop. Nó cung cấp truy cập hiệu suất cao đến dữ liệu trên các cụm Hadoop

Google: có 200 triệu thiết bị Android đang hoạt động trên toàn thế giới

Google: có 200 triệu thiết bị Android đang hoạt động trên toàn thế giới

Gã khổng lồ đã tự hào tuyên bố điều đó trong buổi ra mắt dịch vụ âm nhạc Google Music hôm 16/11 vừa qua.

Cài đặt vitual box cho Web Development ( Virtual Machines )

Cài đặt vitual box cho Web Development ( Virtual Machines )

I develop locally on a virtual server before deploying to a production environment. It's an efficient and flexible workflow and I wanted to share the setup process. This will walk through getting a simple LAMP stack up and running.

Công ty diệt chuột T&C

 

Diet con trung