·¬ÇÑÉçÇø

Brightspot Integrations Guide

Configuring a paywall for a content type


To enable paywalling, you need to modify an existing content type to include a paywall toggle.

Tip
The following procedure describes how to apply a paywall to one of Brightspot's standard content types. You can also apply a paywall to an editorial content type. For information about creating an editorial content type, see Editorial content types.


To add a paywall to a content type:

  1. Click menu > Admin > Content Types.
  2. Under Content Type Modifications, click New.
  3. From the Types list, select the content type to which you are adding a paywall.
  4. Under Additional Items, do the following:
    1. Click add_circle_outline and select Boolean Field.
    2. In the Name field, enter a field label, such as Paywalled.
      Paywall name Paywall name
      Paywall name
    3. In the Developer > Annotations field, paste field.as(Java.type('brightspot.entitlements.zephr.ZephrContentApiCustomVariableObjectFieldModification')).setZephrCustomVariable(true).
      Paywall annotation Paywall annotation
      Paywall annotation
  5. Click Save.

When creating new assets based on the content type (such as new articles), editors see a Paywalled toggle in the content edit form. Toggling on Paywalled applies a paywall to the asset.

Paywall toggle for article Paywall toggle for article
Paywall toggle for article

Previous Topic
Configuring the Zephr Content API
Next Topic
Premium integrations
Tags
Was this topic helpful?
Thanks for your feedback.
Our robust, flexible Design System provides hundreds of pre-built components you can use to build the presentation layer of your dreams.

•
•
•
Brightspot is packaged with content types that get you up and running in a matter of days, including assets, modules and landing pages.

• Content types
• Modules
• Landing pages
Everything you need to know when creating, managing, and administering content within Brightspot CMS.

• Dashboards
• Publishing
• Workflows
• Admin configurations
A guide for installing, supporting, extending, modifying and administering code on the Brightspot platform.

• Field types
• Content modeling
• Rich-text elements
• Images
A guide to configuring Brightspot's library of integrations, including pre-built options and developer-configured extensions.

• Google Analytics
• Shopify
• Apple News