Add topics widget
This commit is contained in:
parent
c60a207394
commit
a99ccd1d13
1 changed files with 22 additions and 0 deletions
|
@ -19,6 +19,28 @@ services:
|
||||||
$queryBuilder: '@querybuilder.tx_tracking_pageview'
|
$queryBuilder: '@querybuilder.tx_tracking_pageview'
|
||||||
$pagesToExclude: [1, 11, 38]
|
$pagesToExclude: [1, 11, 38]
|
||||||
|
|
||||||
|
dashboard.provider.danielsiepmann.tracking.records.topics:
|
||||||
|
class: 'DanielSiepmann\Tracking\Dashboard\Provider\Recordviews'
|
||||||
|
arguments:
|
||||||
|
$queryBuilder: '@querybuilder.tx_tracking_recordview'
|
||||||
|
$recordTableLimitation: ['sys_category']
|
||||||
|
|
||||||
|
dashboard.widget.danielsiepmann.tracking.records.topics:
|
||||||
|
class: 'TYPO3\CMS\Dashboard\Widgets\DoughnutChartWidget'
|
||||||
|
arguments:
|
||||||
|
$view: '@dashboard.views.widget'
|
||||||
|
$dataProvider: '@dashboard.provider.danielsiepmann.tracking.records.topics'
|
||||||
|
tags:
|
||||||
|
- name: 'dashboard.widget'
|
||||||
|
identifier: 'newsDoughnut'
|
||||||
|
groupNames: 'tracking'
|
||||||
|
iconIdentifier: 'content-widget-chart-pie'
|
||||||
|
title: 'Topics'
|
||||||
|
description: 'Shows which topics are called most'
|
||||||
|
additionalCssClasses: 'dashboard-item--chart'
|
||||||
|
height: 'medium'
|
||||||
|
width: 'small'
|
||||||
|
|
||||||
DanielSiepmann\Tracking\Middleware\Pageview:
|
DanielSiepmann\Tracking\Middleware\Pageview:
|
||||||
public: true
|
public: true
|
||||||
arguments:
|
arguments:
|
||||||
|
|
Loading…
Reference in a new issue