From c8a8c524e3e4155c9cef0daec035b38138e7cae2 Mon Sep 17 00:00:00 2001 From: Jan Henckens Date: Mon, 8 Dec 2025 12:11:14 +0100 Subject: [PATCH 1/2] Added mostlyserious/craft-markerio --- composer.json | 1 + composer.lock | 51 ++++++++++++++++++++++++++++++++++++- config/project/project.yaml | 16 +++++++++++- 3 files changed, 66 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 74be888b..f2413c95 100644 --- a/composer.json +++ b/composer.json @@ -20,6 +20,7 @@ "jaybizzle/crawler-detect": "^1.3.6", "mikehaertl/php-shellcommand": "^1.7", "miranj/craft-obfuscator": "^1.2.0", + "mostlyserious/craft-markerio": "^2.2", "nystudio107/craft-imageoptimize": "5.0.7", "nystudio107/craft-vite": "5.0.1", "statikbe/craft-carbon-tracker": "5.0.3", diff --git a/composer.lock b/composer.lock index 9760015f..3a4089a5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "cd73f600864fca6de3de4298ffdf13e7", + "content-hash": "2f46de9e222f54575484a6df3a02a84a", "packages": [ { "name": "bacon/bacon-qr-code", @@ -3671,6 +3671,55 @@ ], "time": "2025-03-24T10:02:05+00:00" }, + { + "name": "mostlyserious/craft-markerio", + "version": "2.2.0", + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mostlyserious/craft-markerio/zipball/bd42c85509eedab178e2cc0d2376ca8e37104d85", + "reference": "bd42c85509eedab178e2cc0d2376ca8e37104d85", + "shasum": "" + }, + "require": { + "craftcms/cms": "^4.9.0||^5.0.0", + "php": ">=8.0.2" + }, + "type": "craft-plugin", + "extra": { + "handle": "markerio", + "name": "Marker.io", + "developer": "Mostly Serious", + "documentationUrl": "https://github.com/mostlyserious/craft-markerio" + }, + "autoload": { + "psr-4": { + "mostlyserious\\craftmarkerio\\": "src/" + } + }, + "license": [ + "proprietary" + ], + "authors": [ + { + "name": "Mostly Serious", + "homepage": "https://github.com/mostlyserious" + } + ], + "description": "Easily add Marker.io to your CraftCMS site.", + "keywords": [ + "craft", + "craft-plugin", + "craftcms", + "marker", + "marker.io" + ], + "support": { + "issues": "https://github.com/mostlyserious/craft-markerio/issues", + "source": "https://github.com/mostlyserious/craft-markerio", + "docs": "https://github.com/mostlyserious/craft-markerio" + }, + "time": "2025-02-27T21:54:19+00:00" + }, { "name": "nesbot/carbon", "version": "2.73.0", diff --git a/config/project/project.yaml b/config/project/project.yaml index 13caf0a6..be0efc31 100644 --- a/config/project/project.yaml +++ b/config/project/project.yaml @@ -1,4 +1,4 @@ -dateModified: 1758178119 +dateModified: 1765191137 elementSources: craft\elements\Entry: - @@ -614,6 +614,20 @@ plugins: edition: standard enabled: true schemaVersion: 1.1.1 + markerio: + edition: standard + enabled: true + schemaVersion: 1.0.0 + settings: + enableWidgetCp: '' + enableWidgetFe: '1' + extension: '' + keyboardShortcuts: '1' + project: 6936acdb14be726f26c4b1a8 + renderDelay: '0' + requireLogin: '' + silent: '' + useNativeScreenshot: '' navigate: edition: standard enabled: true From 03d78bcffb412e01feb0f337706a6481e33ac475 Mon Sep 17 00:00:00 2001 From: Jan Henckens Date: Mon, 8 Dec 2025 12:11:27 +0100 Subject: [PATCH 2/2] Added example config for marker.io plugin --- config/markerio.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 config/markerio.php diff --git a/config/markerio.php b/config/markerio.php new file mode 100644 index 00000000..65c00a16 --- /dev/null +++ b/config/markerio.php @@ -0,0 +1,17 @@ +getSites()->getCurrentSite()->handle; + +return [ + 'project' => "", +// 'enableWidgetFe' => in_array($handle, ['en']), + 'enableWidgetFe' => true, + 'enableWidgetCp' => true, + 'requireLogin' => false, + 'silent' => false, + 'renderDelay' => 1200, + 'keyboardShortcuts' => false, + 'useNativeScreenshot' => false, + 'extension' => false, +];