LogoLogo
  • GovCMS8 Site Building Training Manual
  • Contributing and Feedback Guide
  • Software and module requirements
  • UNIT 1: FUNCTIONAL ANALYSIS
    • Overview
    • Layout of a GovCMS page
    • Regions in GovCMS
    • Planning your site
    • About our client
    • Understanding requirements
    • Audience analysis
    • User (visitor) personas
    • Define user stories
    • Roles and Permissions
      • Exercise 1.1: Configure account settings
    • Blocks in GovCMS
      • Exercise 1.3: Place Welcome message block
    • Site navigation
    • Footers
      • Exercise 1.4: Build the related links menu
      • Exercise 1.5: Assign the related links menu block to a region
      • Exercise 1.6: Configure the related links menu block
      • Exercise 1.7: Rearrange the main menu
    • Theme settings
      • Exercise 1.8: Change the logo
      • Exercise 1.9: Create a friendly error page
    • Unit 1 Summary
  • UNIT 2: DESIGNING AND PLANNING CONTENT
    • Designing and planning content
      • Exercise 2.1: Compare content types
    • Planning your site structure
    • Planning data entry and display
    • Discussion
      • Exercise 2.2: Design a content type in minutes
      • Exercise 2.3: Create a content type
    • Add and configure fields
      • Exercise 2.5: Modify an existing field
      • Exercise 2.6: Add a custom text field
      • Exercise 2.7: Review the field list report
    • Manage form display
      • Exercise 2.8: Testing content types
    • Unit 2 Summary
  • UNIT 3: MANAGE MEDIA
    • Manage Media
    • Customise image display with image styles
    • Review configuration of image media display
      • Exercise 3.1: Example use of image styles
      • Exercise 3.2: Add and configure a media field
      • Exercise 3.3 (Challenge): Change image size
    • Unit 3 Summary
  • UNIT 4: TAXONOMY - CATEGORISING CONTENT
    • Taxonomy - Categorising content
      • Exercise 4.1: Add new Vocabulary
      • Exercise 4.2: Add Taxonomy field to content types
    • About input options
      • Exercise 4.3: Add fields to content types
      • Exercise 4.4: Test the new vocuabulary
    • Editorial considerations
    • Prepare documentation for new staff onboarding
    • Content creation forms
    • Unit 4 Summary
  • UNIT 5: TEXT FORMATS AND RICH TEXT
    • Text formats and rich text
      • Exercise 5.1 (Optional): Set up the Rich Text editor
      • Exercise 5.2 (Challenge): Create a new text format
    • About cross-site scripting
    • Text formats
    • Unit 5 Summary
  • UNIT 6: CONTENT LISTING WITH VIEWS
    • Content listing with Views
      • Exercise 6.1: Build the employment news view
    • Views - Part 2
      • Exercise 6.3: A customised News and Media page
      • Exercise 6.4: Reuse a Views template
    • Related content by term
      • Exercise 6.5: Make a list of States/Territories block
      • Exercise 6.6: Build the related content block
      • Exercise 6.7: Configure data field and Event content type
      • Exercise 6.8 (Challenge): Extend Content type
      • Exercise 6.9: Modify an event listing for future dates
    • Customize the content administration experience
      • Exercise 6.10: Administration with View bulk operations
    • Unit 6 Summary
  • UNIT 7: URL ALIASES
    • URL Aliases
      • Exercise 7.1: URL aliases - Patterns
    • URL Redirects
      • Exercise 7.2: Configure redirects
      • Exercise 7.3: Breadcrumbs
    • Menu check
    • Unit 7 Summary
  • UNIT 8: SITE BUILDING EXERCISES
    • Site building exercices workshop
    • Extend content types with new fields
      • Exercise 8.1: Add an external link field
    • Agency reference link
      • Exercise 8.2: Create Agency References
    • Job list dropdown filter
      • Exercise 8.3: Configure the job listing
      • Exercise 8.4: Agency logo in Job Posting view
      • Exercise 8.5: Challenge exercises
    • Discussion
    • Views contextual filters
      • Exercise 8.6: Add About author block to News article
    • Further discussion and exercices
    • Employee list and custom profiles
      • Exercise 8.7: Set up profile fields
      • Exercise 8.8: Create a list of users
      • Exercise 8.9: Edit the existing view to filter out roles
      • Exercise 8.10: Create a custom layout
      • Exercise 8.11 (Challenge): An image gallery
    • Unit Summary
    • Discussion
  • UNIT 9: SEARCH AND RELATED CONTENT
    • Search and related content
      • Exercise 9.1: Explore the default search
      • Exercise 9.2: Set up Job posting content type display in global search
      • Exercise 9.3: Create new search page with Search API
      • Exercise 9.4: Add fields to the index
      • Exercise 9.5: Extend the search with Facets
    • Unit Summary
  • UNIT 10: SITE PERFORMANCE
    • Overview
    • Planning for Peformance
    • Define Goals and Requirements
    • Review current issues and bottlenecks
    • Other performance considerations
    • Unit 10 Summary
    • Glossary of terms
    • Appendices
Powered by GitBook
On this page
  • Prepare the site
  • Add the view
  • Add fields
  • Rearrange fields
  • Remove unnecessary filters
  • Add moderation workflow filter
  • Configure the format settings
  • Add a "no results" message
  • Change access settings for this view
  • Save and review

Was this helpful?

Edit on GitHub
Export as PDF
  1. UNIT 6: CONTENT LISTING WITH VIEWS
  2. Customize the content administration experience

Exercise 6.10: Administration with View bulk operations

PreviousCustomize the content administration experienceNextUnit 6 Summary

Last updated 1 year ago

Was this helpful?

In this exercise, we'll create a way for content approvers to view all content waiting for approval, so they can quickly and easily review and publish new content.

Prepare the site

In the current setup, content editors can create and publish job postings. We’re going to change this, so that new job postings must be reviewed by a Content Approver before being published. To do this, we’ll introduce a moderation workflow.

  1. Go to Configuration → Workflow → Workflows.

  2. Edit the existing “Editorial” workflow. We’re going to reuse the existing workflow states and transitions as-is, to match the moderation workflow of the rest of the site.

  3. Scroll down to This workflow applies to section and press Select in the Content types row.

  4. Select the Job Posting checkbox, Save the changes.

  5. Press the Save button in the Edit Editorial workflow page.

Add the view

  1. Create a new View with the following settings:

    View name
    Admin: Submitted job postings

    Show

    Content of type: Job Posting

    Page title

    Submitted jobs

    Page path

    admin/submitted-jobs

    Display format

    Table

    Items to display

    50

    Use a pager

    Selected

    Create a menu link

    No

    Create a block

    No

    Hint: Go to Structure → Views → Add View.

  2. Click Save and edit.

Add fields

Tip: Select multiple fields at a time and configure them sequentially.

  1. Add these fields:

    • Content: Node operations bulk form

    • Content: Authored on

    • Content: State

  2. Configure the Bulk operations: Available actions:

    • Delete content

    • Save content

    • Update URL alias

Note that we did not select the “Publish content” and “Unpublish content”. Since we have a moderation workflow in place, these actions won’t work on our site.

Keep other defaults for the remaining fields. Remember to Save your changes to the View.

Rearrange fields

Click the dropdown next to the Add button in the Fields pane and select Rearrange.

Remove unnecessary filters

The filter Content: Published (= Yes) can be removed as we will be replacing it in the next section.

Add moderation workflow filter

To only see Job Postings that are pending approval, add the Content: Moderation state filter. Configure the following options:

Tip: Hold down the Command key (Control for Windows) to select multiple options.

Configure the format settings

Edit the table settings. Ensure any column that can be sortable is selected. Set the default order for Authored on to Descending.

Add a "no results" message

Adding a “no results” message will clearly show that the view IS working properly if/when there isn’t any content waiting for approval.

  1. In the middle column, under NO RESULTS BEHAVIOR, click Add.

  2. Select Global: Text area

  3. Then set the message “There are no job postings currently waiting for review!”.

  4. Apply the changes.

Change access settings for this view

Lastly, we will change the access/permission settings for this new view, from View published content to Administer content. Note that you can only do this with a user belonging to a role that has the necessary permissions.

Save and review

Save the view and review. Go to admin/submitted-jobs. If there are no Job Listings in Draft status you should see the screen below:

Select button next to Content types in Workflow
Select Job Post
Image of View
Image of Rearrange fields
Image of Rearrange fields
Image of Remove unnecessary filters
Image of Remove unnecessary filters
Image of Add moderation workflow filter
Image of Configure the format settings
Image of Edit sortable settings
Image of View - Access
Image of Change access settings
Image of No jobs waiting for review