Skip to content

TYPO3 extension to simplify work with Kitodo.Presentation at DDB-Zeitungsportal

License

Notifications You must be signed in to change notification settings

slub/ddb_kitodo_zeitungsportal

Repository files navigation

DDB Kitodo Zeitungsportal

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.

Create unified JavaScript/CSS build

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

Include TypoScript Template of ddb_kitodo_zeitungsportal

Configure the Kitodo.Presentation Extension

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 to Kitodo.Presentation 4 (preliminary)

  • Upgrade package via Composer
  • In LocalConfiguration.php:
    'FE' => [
        'cacheHash' => [
            'requireCacheHashPresenceParameters' => [
                'tx_dlf[id]',
            ],
        ],
    ],
    This could be set in command line:
    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 = ...
    

Maintainer

[email protected]

About

TYPO3 extension to simplify work with Kitodo.Presentation at DDB-Zeitungsportal

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •