PHP-Code:
// *** Config ***
'config' => array
(
'dataContainer' => 'Table',
'enableVersioning' => false,
'onload_callback' => array(array('dands_xx_brands_entrypage', 'onload'), 'rb'),
),
// *** List ***
'list' => array
(
'sorting' => array
(
'mode' => 1,
'filter' => true,
'fields' => array('ProductManufacturerBrand'),
'flag' => 1,
'panelLayout' => 'sort,filter;search,limit',
'headerFields' => array('ProductManufacturerBrand'),
),
'label' => array
(
'fields' => array('ProductManufacturerBrand'),
'label_callback' => array('dands_xx_brands_entrypage', 'listBrands', 'ProductManufacturerBrand','id'),
),
'global_operations' => array
(
'all' => array
(
'label' => &$GLOBALS['TL_LANG']['MSC']['all'],
'href' => 'act=select',
'class' => 'header_edit_all',
'attributes' => 'onclick="Backend.getScrollOffset();"'
)
),
'operations' => array
(
'edit' => array
(
'label' => &$GLOBALS['TL_LANG']['dands_xx_brands_entrypage']['edit'],
'href' => 'act=edit',
'icon' => 'edit.gif'
),
'copy' => array
(
'label' => &$GLOBALS['TL_LANG']['dands_xx_brands_entrypage']['copy'],
'href' => 'act=copy',
'icon' => 'copy.gif'
),
'delete' => array
(
'label' => &$GLOBALS['TL_LANG']['dands_xx_brands_entrypage']['delete'],
'href' => 'act=delete',
'icon' => 'delete.gif',
'attributes' => 'onclick="if (!confirm(\'' . $GLOBALS['TL_LANG']['MSC']['deleteConfirm'] . '\')) return false; Backend.getScrollOffset();"'
),
'show' => array
(
'label' => &$GLOBALS['TL_LANG']['dands_xx_brands_entrypage']['show'],
'href' => 'act=show',
'icon' => 'show.gif'
)
)
),
);
Was führt neben einem nicht gesetzten Timestamp dazu, dass ein Datensatz wieder aus der DB gelöscht wird, wenn man Speichern und Schließen wählt?
Lesezeichen