[gelöst]Backend Modul nur bestimmte Datensätze anzeigen
Guten Morgen,
ich habe mal wieder nen Miniproblem. Wie kann ich im Backend nur bestimmte Datensätze anzeigen die bearbeitbar sind? Muss ich das in der dca Datei einstellen??
PHP-Code:
'config' => array
(
'dataContainer' => 'Table',
'enableVersioning' => false
),
// List
'list' => array
(
'sorting' => array
(
'mode' => 1,
'fields' => array('Produktname'),
'flag' => 1,
'panelLayout' => 'search,limit'
),
'label' => array
(
'fields' => array('Produktname', 'Summenformel'),
'format' => '%s <span style="color:#b3b3b3; padding-left:3px;">[%s]</span>'
),
'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']['tl_cds']['edit'],
'href' => 'act=edit',
'icon' => 'edit.gif'
),
'copy' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_cds']['copy'],
'href' => 'act=copy',
'icon' => 'copy.gif'
),
'delete' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_cds']['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']['tl_cds']['show'],
'href' => 'act=show',
'icon' => 'show.gif'
)*/
)
),
// Palettes
'palettes' => array
(
'default' => 'Produktname, Summenformel, Molmasse_in_gmol, Feld5, Synonyme,
Molmasse_Zusatz, Lagerbedingungen, Retest_Periode_Monat,
CASNr, EINECSNr,HSNr, Qualitaet, Physikalische_Ersche, Gehalt, UNNr, Gefahrgutklasse,
Verpackungsgruppe, R,S2, Verpackung, Anzeige,P, Feld4'
),
// Fields
'fields' => array
(
'Produktname' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_cds']['title'],
'inputType' => 'text',
'search' => true,
'eval' => array( 'maxlength'=>64)
), usw usw
So sieht sie zur Zeit aus. Ich will aber manche die in einer bestimmten Spalte nur ein Zeichen haben ausblenden. Wo kann ich dieses Kriterium einstellen?
Danke