Phoenix Documentation
Phoenix ProductionPhoenix PreviewContentful
Primary version
Primary version
  • 🔥Phoenix 🔥
  • Installation + Usage
    • Prerequisites
    • Installation
    • Usage
  • Development
    • Architecture
      • Heroku
    • Content Types
      • Action Stats Block
      • Campaign
      • Content Block
      • Cause Page
      • Company Page
      • Current Club Block
      • Current School Block
      • Embed
      • External Link
      • Landing Page
      • Link Action
      • Metadata
      • Page
      • Photo Submission Action
      • Selection Submission Action
      • Share Action
      • Signup Referrals Block
      • Social Drive Action
      • Voter Registration Action
      • Voter Registration Drive Action
      • Voter Registration Marketing Page
      • Voter Registration Referrals Block
    • Features
      • Affiliate Opt In
      • Affiliate Scholarship Block
      • Analytics Waypoint
      • Delayed Element
      • Dismissable Element
      • Stat Card
      • General Buttons
      • Groups
      • Paginated Campaign Gallery
      • Popover Dispatcher
      • Refer A Friend
      • Referrals Gallery
      • Sitewide Banner
      • Sixpack A/B Testing
        • Code Tests
        • Contentful Tests
        • Testing Tips
      • Tooltip
      • Traffic Distribution
      • Volunteer Credits
      • Voter Registration
      • Zendesk Form
    • Contentful
      • Workflow
      • Content Management API Scripts
    • Helpers
  • Phoenix API
    • v2
      • Campaigns Resource
      • Posts Resource
      • Zendesk Endpoint
  • Data + Performance
    • Monitoring
    • Analytics
    • Logging
  • Contributing Instructions
    • Edit This Documentation
    • Glossary
Powered by GitBook
On this page
  • Overview
  • Content Type Fields
  1. Development
  2. Content Types

Page

PreviousMetadataNextPhoto Submission Action

Last updated 4 years ago

Overview

The Page Content Type is used across the app in several forms:

  1. As a subpage. If the slug is prefixed with the campaign's slug (e.g. teens-for-jeans/action), and the page is referenced within the campaign's pages. It'll be accessible via the Campaign's URL + /:slug e.g. /us/campaigns/teens-for-jeans/action.

  2. As a standalone article page. If the slug is prefixed with articles/ (e.g. articles/how-to-volunteer), it'll be rendered in the general page template.

  3. As a standalone '11-facts-page'. If the slug is prefixed with facts/ (e.g. facts/11-facts-about-dogs), it'll be rendered in the general page template.

Content Type Fields

  • Internal Title: This is for our internal Contentful organization and will be how the block shows up in search results, etc.

  • Title: The title is displayed prominantly on the page, for articles/facts pages. For campaign subpages, it'll display as the sub navigation link on the campaign (unless the hideFromNavigation field is toggled off).

  • Subtitle (optional): The subtitle is displayed beneath the title, only for articles/facts pages.

  • Slug: The slug used to access the pages. (must be prefixed with the parent Campaign slug for campaign subpages, articles/ for article pages, facts/ for facts pages). (about/ is a prohibited prefix, since about pages render via the )

  • Metadata (optional): A reference to the for this page (only for articles/facts pages. Campaign subpages use the Campaign's metadata).

  • Authors (optional): A list of references to the authors (Person entries) of this page. (only for articles/facts pages). Displays beneath the subtitle, as well as an author bio at the bottom of the page.

  • Cover Image (optional): The cover image for this page (only for article/facts pages).

  • Content: The markdown content for this page.

  • Blocks (optional): A list of blocks displayed on the page beneath the Content. (Supports most standalone block widgets in our Contentful arsenal).

  • Display Social Share (optional): Toggles social share buttons (Facebook, Twitter) beneath the page. (only for articles/facts pages).

  • Hide From Navigation (optional): Toggles whether a Campaign subpage (linked within the parent Campaign's Pages) will be displayed in the Campaign sub navigation bar. If toggled off, the page will still be accessible.

  • Additional Content: (optional): Any custom settings for this page in JSON format:

    • display_scholarship_newsletter_cta_popover: true/false. Toggles the Call To Action popover for scholarships newsletter registration on articles/facts pages.

Campaign
Company Page
Metadata