Accordion Stories
Create narrative content with expandable sections that can include maps, datasets, and rich text.
Overview
Accordion Stories provide a storytelling interface with expandable sections. Each section can contain rich HTML content, embedded maps, and linked datasets, making them ideal for creating interactive narratives and guided explorations.
Creating Accordion Stories
Access
Navigate to Accordion Stories (
accordion_stories.php)Publishers and admins can create stories
Users can view stories they have access to
Story Structure
Stories consist of:
Title: Story title
Description: Story description
Sections: Multiple expandable sections
Category: Optional categorization
Permissions: Access control settings
Sections
Section Content
Each section can contain:
Title: Section heading
HTML Content: Rich text with formatting
Dataset Link: Optional dataset association
Maps: Embedded map displays
Media: Images and other media
Section Features
Expandable: Click to expand/collapse
Rich Text: HTML formatting support
Dataset Integration: Link to datasets
Map Integration: Display maps in sections
Ordering: Custom section order
Building Stories
Step 1: Create Story
Navigate to Accordion Stories
Click “New Story”
Enter title and description
Select category (optional)
Set permissions
Step 2: Add Sections
Open story builder
Add new section
Enter section title
Add HTML content
Optionally link dataset
Save section
Step 3: Configure Content
Use rich text editor for content
Format text with HTML
Add images and media
Link to datasets
Embed maps if needed
Step 4: Arrange Sections
Reorder sections by dragging
Set default expanded section
Organize narrative flow
Save story
Content Editor
Rich Text Editing
Formatting: Bold, italic, underline
Headings: Multiple heading levels
Lists: Ordered and unordered lists
Links: Hyperlinks to external content
Images: Image embedding
Tables: Table creation
HTML Support
Direct HTML editing
Custom styling
Embedded content
Script integration (if allowed)
Dataset Integration
Linking Datasets
Dataset Selection: Choose dataset to link
Automatic Display: Map automatically displays linked dataset
Synchronization: Section expansion shows linked data
Filtering: Apply filters to linked datasets
Map Display
When a section has a linked dataset:
Map automatically displays dataset
Section expansion shows map
Map updates with section changes
Interactive map features available
Viewing Stories
Story Viewer
Left Panel: Accordion sections
Right Panel: Map display (if dataset linked)
Navigation: Expand/collapse sections
Responsive: Mobile-friendly layout
Interaction
Expand Sections: Click to expand
Collapse Sections: Click to collapse
Map Interaction: Pan, zoom, query
Content Scrolling: Scroll through content
Use Cases
Guided Tours
Location-based tours
Historical narratives
Educational content
Story maps
Data Narratives
Data exploration guides
Analysis walkthroughs
Results presentations
Research stories
Documentation
Feature documentation
User guides
Tutorial content
Help systems
Presentations
Interactive presentations
Conference materials
Public engagement
Stakeholder reports
Permissions
Access Control
Public: Accessible to all users
Private: Creator only
Group-based: Shared with user groups
Custom: Specific user permissions
Editing Permissions
Creator: Can edit their stories
Admins: Can edit all stories
Publishers: Can create and edit stories
Users: Can view accessible stories
Story Management
Editing
Edit story metadata
Modify sections
Update content
Reorder sections
Change permissions
Organization
Categorize stories
Tag stories
Search stories
Filter by category
Example Story
A typical accordion story might include:
Introduction Section: Overview and context
Data Section: Dataset description with linked map
Analysis Section: Analysis results and findings
Conclusion Section: Summary and next steps
Each section expands to reveal content and updates the map display.
Best Practices
Content
Write clear, engaging content
Use appropriate section titles
Organize content logically
Include visual elements
Maps
Link relevant datasets
Use appropriate basemaps
Configure map styling
Test map interactions