Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

subhh/HOS-visualization

Repository files navigation

New facet types for typo3-find extension of subugoe

Basic architecture

These extensions offer new facets views for typo3-find extension.

Example implementation

On HamburgOpenScience you can see an example implementation.

Common usage

Installing extension

You can install via extension manager or with composer.

List of facets

Heatmap vie

Example rendering:

Typoscript:

First add static template from extension:

Now you can add new type inside plugin.tx_find.settings section of typoscript:

plugin.tx_find.settings.facets.heatmap {
   type = Heatmap
   fetchMaximum = 1000
   field = geoLocationPoint 
   tileProvider = https://stamen-tiles-c.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}@2x.png
   dsvgo = 1
   attribution = Map tiles by <a title="Design by Stamen Design" href="https://stamen.com/maps/">Stamen Design</a>, CC BY 3.0

Other maps types

On this page you can choose an other map provider.

General Data Protection Regulation (EU-DSVGO)

If you want avoid access of not local web servers you can use the embedded tile cache. Additional the class caches the tiles. This avoid to much traffic of native tile provider. Attention: maybe it is a good idea to limit the range.

Switch view

Typescript configuration:

For configuration add these properties below to the section:

plugin.tx_find.settings.facets.10 {
       id = OpenAccess
       headerhidden = 1
       field = rightsOA
       type = Threestateswitch
       displayDefault = 2
       link = ?tx_find_find[facet][OpenAccess][%s]=1&tx_find_find[controller]=Search
       csspath= typo3conf/ext/discovery/Resources/Public/CSS/toggle-switch.css
       toast = Publikationen vom Typ: „%s“
       query=(rightsOA:%s)
       values {
              Open=Open Access
              All=Open Access,zugriffsbeschränkt
              Close=zugriffsbeschränkt
       }
       labels {
              Open=Open Access
              All=Alle Dokumente
              Close=Restricted Access 
       }
}

Pie view

Wordcloud view

DDC view

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages