Skip to content

v3.3.0 - Code Injection

Choose a tag to compare

@tallcms tallcms released this 04 Mar 23:10
· 181 commits to main since this release

New Features

  • Code Injection — Embed analytics, tracking pixels, chat widgets, and other third-party scripts from the admin panel (Settings > Code Injection) without editing theme files
    • Three injection zones: Head, Body Start, Body End
    • Per-zone audit trail (who saved what, when)
    • Security warning banner on the admin page
    • Gated by Manage:CodeInjection permission (super_admin and administrator only)
    • Plugin-mode opt-out via TallCmsPlugin::make()->withoutCodeInjection()
    • <x-tallcms::code-injection> Blade component for custom layouts
  • Theme scaffolding — make:theme now includes code injection zones in generated layouts

Improvements

  • SEO settings page now properly registered in plugin mode
  • 22 new tests covering code injection component rendering, layout placement across all 8 layouts, permissions, audit recording, and plugin opt-out

Documentation

  • New Code Injection guide
  • Updated roles & authorization reference with Manage:CodeInjection permission