2026-06-01 01:46:47 -08:00
|
|
|
riverside_pt.palette:
|
|
|
|
|
path: '/dev/palette'
|
|
|
|
|
defaults:
|
|
|
|
|
_controller: '\Drupal\riverside_pt\Controller\PaletteController::page'
|
|
|
|
|
_title: 'Color Palette'
|
|
|
|
|
requirements:
|
|
|
|
|
_permission: 'administer site configuration'
|
|
|
|
|
|
2026-05-14 19:05:46 -08:00
|
|
|
riverside_pt.home:
|
|
|
|
|
path: '/home'
|
|
|
|
|
defaults:
|
|
|
|
|
_controller: '\Drupal\riverside_pt\Controller\HomeController::page'
|
2026-06-01 00:47:26 -08:00
|
|
|
_title: 'Welcome'
|
2026-05-14 19:05:46 -08:00
|
|
|
requirements:
|
|
|
|
|
_permission: 'access content'
|
|
|
|
|
|
2026-05-13 14:26:33 -08:00
|
|
|
riverside_pt.booking_store_slot:
|
|
|
|
|
path: '/schedule/book/slot'
|
|
|
|
|
defaults:
|
|
|
|
|
_controller: '\Drupal\riverside_pt\Controller\ScheduleController::storeSlot'
|
|
|
|
|
requirements:
|
|
|
|
|
_permission: 'access content'
|
|
|
|
|
methods: [POST]
|
|
|
|
|
|
2026-05-12 16:28:47 -08:00
|
|
|
riverside_pt.schedule_events:
|
|
|
|
|
path: '/schedule/events'
|
|
|
|
|
defaults:
|
|
|
|
|
_controller: '\Drupal\riverside_pt\Controller\ScheduleController::events'
|
|
|
|
|
requirements:
|
|
|
|
|
_permission: 'access content'
|
|
|
|
|
options:
|
|
|
|
|
_auth:
|
|
|
|
|
- cookie
|
Create custom /contact page with details and appointment CTAs
- Refactor AboutController to PageController to handle multiple static pages:
- /about
- /services/{slug} (diagnostic, sports, pre-post, neuro)
- /contact (new)
- New template riverside-pt-contact.html.twig:
- Contact details (address, phone, email)
- Office hours
- 'Send us a message' section directing to booking tool
- Multiple 'Make an Appointment' links back to /home#book-an-appointment
- Updated riverside_pt.routing.yml with riverside_pt.contact route
- Registered 'riverside_pt_contact' theme in riverside_pt.module
- Updated riverside_pt.install to skip legacy node creation for 'Contact' (and previously About/Services) to avoid alias conflicts
- Minor updates to home template, header handling, libraries (scroll support), and other controllers for consistency with page flows and email/booking features
All details pages (/about, /services/*, /contact) now include clear links back to 'Make an Appointment'.
2026-06-03 22:55:02 -08:00
|
|
|
|
|
|
|
|
riverside_pt.about:
|
|
|
|
|
path: '/about'
|
|
|
|
|
defaults:
|
|
|
|
|
_controller: '\Drupal\riverside_pt\Controller\PageController::page'
|
|
|
|
|
_title: 'About'
|
|
|
|
|
requirements:
|
|
|
|
|
_permission: 'access content'
|
|
|
|
|
|
|
|
|
|
riverside_pt.services:
|
|
|
|
|
path: '/services'
|
|
|
|
|
defaults:
|
|
|
|
|
_controller: '\Drupal\riverside_pt\Controller\HomeController::redirectToAnchor'
|
|
|
|
|
destination: '/home#pt-services'
|
|
|
|
|
requirements:
|
|
|
|
|
_access: 'TRUE'
|
|
|
|
|
|
|
|
|
|
riverside_pt.faq:
|
|
|
|
|
path: '/faq'
|
|
|
|
|
defaults:
|
|
|
|
|
_controller: '\Drupal\riverside_pt\Controller\HomeController::redirectToAnchor'
|
|
|
|
|
destination: '/home#pt-faq'
|
|
|
|
|
requirements:
|
|
|
|
|
_access: 'TRUE'
|
|
|
|
|
|
|
|
|
|
riverside_pt.service:
|
|
|
|
|
path: '/services/{slug}'
|
|
|
|
|
defaults:
|
|
|
|
|
_controller: '\Drupal\riverside_pt\Controller\PageController::service'
|
|
|
|
|
_title: 'Service'
|
|
|
|
|
requirements:
|
|
|
|
|
_permission: 'access content'
|
|
|
|
|
slug: 'diagnostic-assessment|sports-rehabilitation|pre-post-surgical-rehab|neurological-therapy'
|
|
|
|
|
|
|
|
|
|
riverside_pt.contact:
|
|
|
|
|
path: '/contact'
|
|
|
|
|
defaults:
|
|
|
|
|
_controller: '\Drupal\riverside_pt\Controller\PageController::contact'
|
|
|
|
|
_title: 'Contact'
|
|
|
|
|
requirements:
|
|
|
|
|
_permission: 'access content'
|