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
  • Current Limitations
  • Links
  1. Development
  2. Content Types

Current School Block

PreviousCurrent Club BlockNextEmbed

Last updated 5 years ago

Overview

Displays the authenticated user's current school (and optional school impact), or displays a school finder form to update their school.

Content Type Fields

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

  • Select School Title (optional): The Card title when school finder form is shown (Defaults to "Find Your School").

  • Select School Description (optional): The text displayed above the school finder form.

  • Current School Title (optional): The Card title when the user has a current school (Defaults to "Your School").

  • Current School Description (optional): The text displayed above the user's current school information.

  • School Not Available Description (optional): The text displayed when the user has selected that they can't find their school (when school_id is school-not-available).

Current Limitations

  • Only K-12 schools are listed -- colleges currently unavailable.

    • Colleges are not included in our Great Schools data set. We may want to add colleges to our Schools database, and store our own internal ID for schools instead of the Great Schoolsuniversal-id we're currently saving to a user school_id.

  • A user is currently unable to edit their school once it is set.

    • This is mainly to avoid the complexity around whether we'd need to update any posts the user has submitted in association with their previous school_id value.

Links

If the user does not have a school_id set on their Northstar profile, they are prompted to select their school's state, and then prompted to select their school from an autocomplete dropdown of schools in the selected state. This list of schools is sourced from . Upon save, the user's Northstar school_id field is updated with the selected school.

Action ID (optional): The ID of the to show the selected school's aggregate quantity for.

Great Schools
Action
Editorial instructions
Technical Spec
Example Current School Block With Action
Example Current School Block With School Finder