Pages

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 12.0

After you've installed the Frosmo Segments for Contentful app, you can start creating content types with a segment selector field.

Table of Contents

Adding a segment selector field to a content type

To add a segment selector field to a content type:

  1. Log in to the Contentful web app.
  2. In the top navigation menu, select Content model.
  3. Select the content type to which you want to add the segment selector field, or select to create a new content type.
  4. In the content type editor sidebar, click Add field.
  5. Select Text.
  6. Define the following settings for the field:

    • Enter a Name for the field.
    • Optionally, edit the Field ID.
    • Select Short text.
    • Select List.

    Segment selector field settingsImage Added

  7. Click Create and configure.
  8. Select Appearance, and select Frosmo Segments.

    Segment selector field appearanceImage Added

  9. Click Confirm.
  10. When you're otherwise done configuring the content type, click Save.

You've added the segment selector field to the content type. You can now attach segments to entries that are based on the content type.

Converting an existing field into a segment selector

You can convert any "Short text, list" field in a content type into a segment selector.

To convert an existing field into a segment selector:

  1. Log in to the Contentful web app.
  2. In the top navigation menu, select Content model.
  3. Select the content type whose field you want to convert into a segment selector.
  4. Click Settings for the field you want to convert into a segment selector. The field must be a "Short text, list" field.
  5. Select Appearance, and select Frosmo Segments.

    Segment selector field appearanceImage Added
  6. Click Confirm.
  7. Click Save.

You've converted the existing field in the content type into a segment selector. You can now attach segments to entries that are based on the content type.