Update 'Omeka core'

chris 2021-10-13 15:19:17 +02:00
parent b5b8e77555
commit c8ac23eba0
1 changed files with 21 additions and 1 deletions

@ -1,6 +1,6 @@
Things to do after upgrading the Omeka core. Things to do after upgrading the Omeka core.
## Disable modules ## Disable blocks
https://git.hangar.org/arcHIVE-tech/Docs/wiki/Disabling-modules 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; $data['html'] = $html.PHP_EOL;
$block->setData($data); $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,
],
........
``` ```