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

 
14 Drupal Themes miễn phí tốt nhất

14 Drupal Themes miễn phí tốt nhất

Free Drupal themes are in high demand, because of the versatility and growing popularity of DrupalCMS.  While Drupal can be used for blogging platforms in a similar manner to WordPress, Drupal’s core is also suited to eCommerce, social media and other applications, thanks to the large extensibility of the features.

Chạy Android trên Netbook hoặc Desktop

Chạy Android trên Netbook hoặc Desktop

Android đang là hệ điều hành số một trên các thiết bị di động. Là một người yêu công nghệ chắc hẳn bạn cũng muốn dùng thử qua hệ điều hành này.

Hướng dẫn viết module drush command trong Drupal 7

Experienced Drupal coders can hardly do without Drush (Drupal shell) utility as it speeds up a good deal of routine function along the way.

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

 

Diet con trung