2020-02-07 10:27:07 +01:00
|
|
|
<?php
|
2020-07-29 10:07:14 +02:00
|
|
|
|
2020-02-07 10:27:07 +01:00
|
|
|
return [
|
|
|
|
'ctrl' => [
|
|
|
|
'label' => 'url',
|
|
|
|
'label_alt' => 'crdate',
|
|
|
|
'label_alt_force' => true,
|
2020-06-24 09:14:20 +02:00
|
|
|
'default_sortby' => 'crdate DESC',
|
2020-02-07 10:27:07 +01:00
|
|
|
'tstamp' => 'tstamp',
|
|
|
|
'crdate' => 'crdate',
|
|
|
|
'cruser_id' => 'cruser_id',
|
|
|
|
'languageField' => 'sys_language_uid',
|
|
|
|
'title' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview',
|
2020-04-22 18:43:29 +02:00
|
|
|
'searchFields' => 'uid, url',
|
|
|
|
'iconfile' => 'EXT:core/Resources/Public/Icons/T3Icons/apps/apps-pagetree-page-default.svg',
|
2020-02-07 10:27:07 +01:00
|
|
|
],
|
|
|
|
'types' => [
|
|
|
|
'0' => [
|
2020-04-01 21:04:32 +02:00
|
|
|
'showitem' => 'sys_language_uid, pid, url, user_agent, operating_system, type, crdate',
|
2020-02-07 10:27:07 +01:00
|
|
|
],
|
|
|
|
],
|
|
|
|
'columns' => [
|
|
|
|
'pid' => [
|
|
|
|
'label' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.pid',
|
|
|
|
'config' => [
|
2020-07-29 10:07:14 +02:00
|
|
|
// TYPO3 v10 does no longer allow to resolve PID relations, e.g. via select or group
|
2020-04-22 18:43:46 +02:00
|
|
|
// This will break internal PID handling.
|
|
|
|
'type' => 'input',
|
2020-02-07 10:27:07 +01:00
|
|
|
'readOnly' => true,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
'crdate' => [
|
|
|
|
'label' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.crdate',
|
|
|
|
'config' => [
|
|
|
|
'type' => 'input',
|
|
|
|
'eval' => 'datetime',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
'sys_language_uid' => [
|
|
|
|
'label' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.sys_language',
|
|
|
|
'config' => [
|
|
|
|
'type' => 'select',
|
|
|
|
'renderType' => 'selectSingle',
|
|
|
|
'foreign_table' => 'sys_language',
|
|
|
|
'items' => [
|
|
|
|
['LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.sys_language.0', 0],
|
|
|
|
],
|
|
|
|
'readOnly' => true,
|
|
|
|
]
|
|
|
|
],
|
2020-02-13 12:26:19 +01:00
|
|
|
'user_agent' => [
|
|
|
|
'label' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.user_agent',
|
|
|
|
'config' => [
|
|
|
|
'type' => 'input',
|
|
|
|
'readOnly' => true,
|
|
|
|
],
|
|
|
|
],
|
2020-04-01 21:04:32 +02:00
|
|
|
'operating_system' => [
|
|
|
|
'label' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.operating_system',
|
|
|
|
'config' => [
|
|
|
|
'type' => 'input',
|
|
|
|
'readOnly' => true,
|
|
|
|
],
|
|
|
|
],
|
2020-02-07 10:27:07 +01:00
|
|
|
'type' => [
|
|
|
|
'label' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.type',
|
|
|
|
'config' => [
|
|
|
|
'type' => 'input',
|
|
|
|
'readOnly' => true,
|
|
|
|
'eval' => 'int',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
'url' => [
|
|
|
|
'label' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.url',
|
|
|
|
'config' => [
|
|
|
|
'readOnly' => true,
|
|
|
|
'type' => 'input',
|
|
|
|
'size' => 50,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
],
|
|
|
|
];
|