diff --git a/Configuration/Services.yaml b/Configuration/Services.yaml index 633e48d..1a056a3 100644 --- a/Configuration/Services.yaml +++ b/Configuration/Services.yaml @@ -29,6 +29,22 @@ services: height: 'medium' width: 'small' + dashboard.widget.sysLogErrors: + class: 'TYPO3\CMS\Dashboard\Widgets\BarChartWidget' + arguments: + $dataProvider: '@TYPO3\CMS\Dashboard\Widgets\Provider\SysLogErrorsDataProvider' + $view: '@dashboard.views.widget' + $buttonProvider: '@TYPO3\CMS\Dashboard\Widgets\Provider\SysLogButtonProvider' + tags: + - name: dashboard.widget + identifier: 'sysLogErrors' + groupNames: 'systemInfo' + title: 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widgets.sysLogErrors.title' + description: 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widgets.sysLogErrors.description' + iconIdentifier: 'content-widget-chart-bar' + height: 'medium' + width: 'small' + # Events DanielSiepmann\DsSite\EventListener\AddFurtherMetadataToFile: public: true diff --git a/Configuration/Services/Tracking.yaml b/Configuration/Services/Tracking.yaml index fe6513b..2559ce9 100644 --- a/Configuration/Services/Tracking.yaml +++ b/Configuration/Services/Tracking.yaml @@ -9,22 +9,65 @@ services: $queryBuilder: '@querybuilder.tx_tracking_pageview' $pagesToExclude: [1, 11, 38] + DanielSiepmann\Tracking\Dashboard\Provider\NewestPageviews: + arguments: + $queryBuilder: '@querybuilder.tx_tracking_pageview' + $pagesToExclude: [1, 11, 38] + DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerPage: arguments: $queryBuilder: '@querybuilder.tx_tracking_pageview' $pagesToExclude: [1, 11, 38] - DanielSiepmann\Tracking\Dashboard\Provider\NewestPageviews: + DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerPage7_days: + class: DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerPage arguments: $queryBuilder: '@querybuilder.tx_tracking_pageview' $pagesToExclude: [1, 11, 38] + $days: 7 + dashboard.widget.danielsiepmann.tracking.pageViewsPerPage7_days: + class: 'TYPO3\CMS\Dashboard\Widgets\DoughnutChartWidget' + arguments: + $view: '@dashboard.views.widget' + $dataProvider: '@DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerPage7_days' + tags: + - name: 'dashboard.widget' + identifier: 'pageViewsPerPageDoughnut7_days' + groupNames: 'tracking' + iconIdentifier: 'content-widget-chart-bar' + title: 'Pageviews 7 Days' + description: '' + additionalCssClasses: 'dashboard-item--chart' + height: 'medium' + width: 'small' + + DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerPage365_days: + class: DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerPage + arguments: + $queryBuilder: '@querybuilder.tx_tracking_pageview' + $pagesToExclude: [1, 11, 38] + $days: 365 + dashboard.widget.danielsiepmann.tracking.pageViewsPerPage365_days: + class: 'TYPO3\CMS\Dashboard\Widgets\DoughnutChartWidget' + arguments: + $view: '@dashboard.views.widget' + $dataProvider: '@DanielSiepmann\Tracking\Dashboard\Provider\PageviewsPerPage365_days' + tags: + - name: 'dashboard.widget' + identifier: 'pageViewsPerPageDoughnut365_days' + groupNames: 'tracking' + iconIdentifier: 'content-widget-chart-bar' + title: 'Pageviews 365 Days' + description: '' + additionalCssClasses: 'dashboard-item--chart' + height: 'medium' + width: 'small' 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: @@ -32,10 +75,54 @@ services: $dataProvider: '@dashboard.provider.danielsiepmann.tracking.records.topics' tags: - name: 'dashboard.widget' - identifier: 'newsDoughnut' + identifier: 'topics' groupNames: 'tracking' iconIdentifier: 'content-widget-chart-pie' - title: 'Topics' + title: 'Topics 31 Days' + description: 'Shows which topics are called most' + additionalCssClasses: 'dashboard-item--chart' + height: 'medium' + width: 'small' + + dashboard.provider.danielsiepmann.tracking.records.topics7_days: + class: 'DanielSiepmann\Tracking\Dashboard\Provider\Recordviews' + arguments: + $queryBuilder: '@querybuilder.tx_tracking_recordview' + $recordTableLimitation: ['sys_category'] + $days: 7 + dashboard.widget.danielsiepmann.tracking.records.topics7_days: + class: 'TYPO3\CMS\Dashboard\Widgets\DoughnutChartWidget' + arguments: + $view: '@dashboard.views.widget' + $dataProvider: '@dashboard.provider.danielsiepmann.tracking.records.topics7_days' + tags: + - name: 'dashboard.widget' + identifier: 'topics7days' + groupNames: 'tracking' + iconIdentifier: 'content-widget-chart-pie' + title: 'Topics 7 Days' + description: 'Shows which topics are called most' + additionalCssClasses: 'dashboard-item--chart' + height: 'medium' + width: 'small' + + dashboard.provider.danielsiepmann.tracking.records.topics365_days: + class: 'DanielSiepmann\Tracking\Dashboard\Provider\Recordviews' + arguments: + $queryBuilder: '@querybuilder.tx_tracking_recordview' + $recordTableLimitation: ['sys_category'] + $days: 365 + dashboard.widget.danielsiepmann.tracking.records.topics365_days: + class: 'TYPO3\CMS\Dashboard\Widgets\DoughnutChartWidget' + arguments: + $view: '@dashboard.views.widget' + $dataProvider: '@dashboard.provider.danielsiepmann.tracking.records.topics365_days' + tags: + - name: 'dashboard.widget' + identifier: 'topics365days' + groupNames: 'tracking' + iconIdentifier: 'content-widget-chart-pie' + title: 'Topics 365 Days' description: 'Shows which topics are called most' additionalCssClasses: 'dashboard-item--chart' height: 'medium'