Skip to content

Asset Management

The asset system spans media files, slideshows, forms, and reusable content assets.

Media Files - Primary model: App\Models\Files. - Storage: S3 via App\Models\Legacy\S3MediaManager. - Media browsing: MediaController and FilemanagerController. - File types and groups are derived from file extensions in Files::calculateFileType().

Slideshows and Galleries - Models: Slideshows, SlideshowsItems, SlideshowsKind. - Rendering: Slideshows::generateSlideshowPreview() builds HTML using legacy builders. - Admin routes: /assets/slideshows in routes/web/backend/assets.php.

Forms and Fields - Models: Forms, Fields, Choices, FormsSent, FormsSentFields. - Admin routes: /assets/forms and /assets/fields. - Reporting: /assets/forms/report supports CSV download and filtering.

Reusable Blocks and Builder Sections - builder_sections for HTML sections used by the builder. - content_blocks for reusable blocks managed under /assets/contentblocks.

Observed Data Ownership - Most assets are tagged by City, Category, and Kind in Files. - Some assets are associated with specific Item_ID (pages, locations, forms).