Skip to content

Commit

Permalink
[TASK] Add field controls to speakers and session relations
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Jun 6, 2024
1 parent 4c723af commit cd56544
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Configuration/TCA/tx_sessionplaner_domain_model_session.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,17 @@
'foreign_table_where' => 'AND tx_sessionplaner_domain_model_speaker.pid = ###CURRENT_PID### '
. 'ORDER BY tx_sessionplaner_domain_model_speaker.name',
'MM' => 'tx_sessionplaner_session_speaker_mm',
'fieldControl' => [
'editPopup' => [
'disabled' => false,
],
'addRecord' => [
'disabled' => false,
],
'listModule' => [
'disabled' => false,
],
],
],
'onChange' => 'reload'
],
Expand Down Expand Up @@ -241,6 +252,17 @@
'foreign_table_where' => 'AND tx_sessionplaner_domain_model_tag.pid = ###CURRENT_PID###',
'MM' => 'tx_sessionplaner_session_tag_mm',
'minitems' => 0,
'fieldControl' => [
'editPopup' => [
'disabled' => false,
],
'addRecord' => [
'disabled' => false,
],
'listModule' => [
'disabled' => false,
],
],
],
],
'links' => [
Expand Down
11 changes: 11 additions & 0 deletions Configuration/TCA/tx_sessionplaner_domain_model_speaker.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,17 @@
'foreign_table_where' => 'AND tx_sessionplaner_domain_model_session.pid = ###CURRENT_PID###',
'MM' => 'tx_sessionplaner_session_speaker_mm',
'MM_opposite_field' => 'speakers',
'fieldControl' => [
'editPopup' => [
'disabled' => false,
],
'addRecord' => [
'disabled' => false,
],
'listModule' => [
'disabled' => false,
],
],
],
],
'detail_page' => [
Expand Down

0 comments on commit cd56544

Please sign in to comment.