PHP-Code:
'fields' => [
'url' => [
'label' => ['Nachricht','Wählen Sie eine Nachricht aus.'],
'inputType' => 'picker',
'eval' => [
'tl_class' => 'w50',
'mandatory' => true,
],
'relation' => [
'type' => 'hasOne',
'table' => 'tl_news',
],
],
bringt Error » The table name must not be empty
Ich vermute, weil hier keine sql-Infos eingetragen werden ??
was aber im RSCE klappt:
PHP-Code:
'fields' => [
'url' => [
'label' => ['Nachricht','Wählen Sie eine Nachricht aus.'],
'inputType' => 'picker',
'eval' => [
'tl_class' => 'w50',
'mandatory' => true,
'context' => 'dc.tl_news',
],
],
Lesezeichen