From c8ac23eba0ed376992b900a2daf783255df3bf55 Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 13 Oct 2021 15:19:17 +0200 Subject: [PATCH] Update 'Omeka core' --- Upgrading-Omeka-core.md => Omeka-core.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) rename Upgrading-Omeka-core.md => Omeka-core.md (78%) diff --git a/Upgrading-Omeka-core.md b/Omeka-core.md similarity index 78% rename from Upgrading-Omeka-core.md rename to Omeka-core.md index aec1152..ea8af51 100644 --- a/Upgrading-Omeka-core.md +++ b/Omeka-core.md @@ -1,6 +1,6 @@ Things to do after upgrading the Omeka core. -## Disable modules +## Disable blocks https://git.hangar.org/arcHIVE-tech/Docs/wiki/Disabling-modules @@ -62,4 +62,24 @@ Add this class to the `class Html extends AbstractBlockLayout` $data['html'] = $html.PHP_EOL; $block->setData($data); } +``` + +## Disable YouTube module + +We have our own module 'Oembed a la Arc-hive' that handles oembedded objects resizing + +Edit `/application/config/module.config.php` and comment out these two lines + +``` + ...... + 'media_ingesters' => [ + 'factories' => [ + //'youtube' => Service\Media\Ingester\YoutubeFactory::class, + ], + ], + 'media_renderers' => [ + 'invokables' => [ + //'youtube' => Media\Renderer\Youtube::class, + ], + ........ ``` \ No newline at end of file