PHP-Code:
// Config
'config' => [
'dataContainer' => 'Table',
'ptable' => 'tl_wbsit_job_directory_category',
'enableVersioning' => true,
'markAsCopy' => 'title',
'sql' => [
'keys' => [
'id' => 'primary',
'alias' => 'index',
'pid,start,stop,published' => 'index',
],
],
],
// List
'list' => [
'sorting' => [
'mode' => 1,
'flag' => 1,
'fields' => [
'title',
],
'headerFields' => [
'title',
],
'panelLayout' => 'sort,filter,search,limit',
],
'label' => [
'fields' => [
'title',
],
'format' => '%s',
],
'global_operations' => [
'all' => [
'href' => 'act=select',
'class' => 'header_edit_all',
'attributes' => 'onclick="Backend.getScrollOffset();"',
],
],
'operations' => [
'edit' => [
// funktioniert
],
'copy' => [
'href' => 'act=paste&mode=copy',
'icon' => 'copy.svg',
],
'cut' => [
'href' => 'act=paste&mode=cut',
'icon' => 'cut.svg',
],
'delete' => [
// funktioniert
],
'toggle' => [
// funktioniert
],
'show' => [
// funktioniert
],
],
],
// Palettes, Fields, etc. weggelassen
Danke für eure Hilfe.
Lesezeichen