TYPO3 extension to simplify work with and make adjustments to Kitodo.Presentation at DDB-Zeitungsportal.
The JavaScript build is based on v4.0.1 (commit d8be5dd) of Kitodo.Presentation.
When building, ../dlf/
(i.e., a sibling folder of ddb_kitodo_zeitungsportal
) must point to the code of Kitodo.Presentation that you want to use.
cd Build/
nvm use # If you use NVM
npm ci
npm run build
npm run watch # (Alternative) Watch Mode
This builds:
Resources/Public/JavaScript/ddbKitodoZeitungsportal.js
Resources/Public/Css/ddbKitodoZeitungsportal.css
Example of dlf part of configuration from LocalConfiguration.php file is available here. It can be used as a template for plugin configuration after the installation.
- Upgrade package via Composer
- In
LocalConfiguration.php
:This could be set in command line:'FE' => [ 'cacheHash' => [ 'requireCacheHashPresenceParameters' => [ 'tx_dlf[id]', ], ], ],
vendor/bin/typo3cms configuration:set --json 'FE/cacheHash/requireCacheHashPresenceParameters' '["tx_dlf[id]"]'
- Update database:
vendor/bin/typo3cms database:updateschema
- Update setup of viewer template:
// Before plugin.tx_dlf_searchindocumenttool.documentIdUrlSchema = ... plugin.tx_dlf_searchindocumenttool.searchUrl = ... // After plugin.tx_dlf_searchindocumenttool.settings.documentIdUrlSchema = ... plugin.tx_dlf_searchindocumenttool.settings.searchUrl = ...