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

Current Club Block

PreviousCompany PageNextCurrent School Block

Last updated 4 years ago

Overview

the Current Club Block Displays the authenticated user's current club (The matching the club_id in their Northstar profile).

If the user does not have a club_id set on their Northstar profile, or is not authenticated, they are prompted to select their club from an auto-complete drop-down of existing clubs sourced from Rogue. Upon save, the user's Northstar club_id field is updated with the selected club, and the user is subscribed to the clubs email subscription topic via Northstar.

The form will use 'lazy authentication' for unauthenticated users, allowing them to select their club and then authenticate via Northstar to persist their choice. (If the unauthenticated user already has joined a club, their new selection will not be persisted, and the form will update to display their original club once they authenticate).

Content Type Fields

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

Rogue Club
Example Current Club Block Form
Example Current Club Block With Form