moinframe / kirby-loop
Interactive feedback tool for Kirby CMS websites that allows users to add contextual comments directly on page elements
Package info
github.com/moinframe/kirby-loop
Language:JavaScript
Type:kirby-plugin
pkg:composer/moinframe/kirby-loop
Requires
- php: ~8.3.0 || ~8.4.0 || ~8.5.0 || ~8.6.0
- getkirby/cms: ^6.0
- getkirby/composer-installer: ^1.2
Requires (Dev)
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-main
- 2.0.1
- 2.0.0
- 1.x-dev
- 1.2.1
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.1
- 1.0.0
- 1.0.0-beta.7
- 1.0.0-beta.6
- 1.0.0-beta.5
- 1.0.0-beta.4
- 1.0.0-beta.3
- 1.0.0-beta.2
- 1.0.0-beta.1
- 1.0.0-beta.0
- dev-fix/multilang-websites-comments-missing
- dev-develop
- dev-feature/draft-pages
- dev-feature/theming
- dev-hotfix/cursor-overwrite
- dev-feature/rate-limiting
This package is auto-updated.
Last update: 2026-12-03 14:21:26 UTC
README
Kirby Loop
Stay in the loop. A visual feedback plugin for Kirby CMS: click anywhere on a page to leave a comment, reply in threads, and resolve discussions, right where the content lives. Made for client reviews and team feedback.
Features
- Click-to-comment: switch to comment mode and click any element to attach feedback to it
- Threaded discussions: reply to comments and mark them as resolved
- Panel integration: a global Feedback area in the Kirby Panel plus a per-page comments field for page blueprints
- Multi-language: works with Kirby's multi-language sites, UI language auto-detected
- Public or users only: restrict commenting to authenticated users or open it up to the public
- Theming: light/dark themes included, custom themes possible
- Self-contained: everything is stored in a local SQLite database, no external services
Quick Start
composer require moinframe/kirby-loop
The feedback widget is automatically injected on all pages for authenticated users.
Configuration
All options go into site/config/config.php:
return [ // Enable/disable loop (default: true) 'moinframe.loop.enabled' => true, // Or use a callback for conditional enabling 'moinframe.loop.enabled' => function($page) { return in_array($page->template()->name(), ['article', 'blog']); }, // Disable auto-injection (default: true) 'moinframe.loop.auto-inject' => false, // Set header position: 'top' or 'bottom' (default: 'top') 'moinframe.loop.position' => 'bottom', // Allow guest comments (default: false - requires auth) 'moinframe.loop.public' => true, // Force UI language (default: null - auto-detect) 'moinframe.loop.language' => 'de', // Set theme: 'default', 'dark', or custom theme name 'moinframe.loop.theme' => 'dark', ];
Panel View
Since 1.1.0 comments also show up in the Kirby Panel. A global Feedback area in the Panel menu lists all comments across the site, grouped by page. There's also a loop-comments blueprint field to show a page's comments right where editors work:
fields: feedback: type: loop-comments
See the Panel docs for permissions and how to hide the area for certain roles.
Documentation
Requirements
- Kirby CMS 6 (Loop 1.x supports Kirby 4 and 5)
- PHP 8.3+
- SQLite support
[!WARNING] Caching Pages with the snippet automatically have Kirby's page cache disabled. This is necessary for CSRF token validation and user authentication checks.
Support
Found a bug? Report it on GitHub Issues.
License
MIT License - see LICENSE.md

