Hallo,
ich möchte die Partner-Extension so anpassen, daß bestimmte Felder unter einem anderen Reiter erscheinen und auch die Paletten-Zusammensetzung ändern.
Das Problem ist also ehr ein grundsätzliches und hat nur am Rande mit der Partner-Extension zu tun.
Ich wüßte, wie ich es in der TCA anpassen kann, die so aussieht:
'types' => Array (
'0' => Array('showitem' => 'type, label, status;;1, title;;2;;1-1-1, first_name;;4, last_name;;3, street;;5;;1-1-1, postal_code, locality;;10, country, po_number;;6;;1-1-1, po_postal_code;;7, image;;;;1-1-1, remarks, --div--;LLL:EXT:partner/locallang.php:tx_partner.label.contact_info_relationships, contact_info;;;;1-1-1, relationships_overview;;;;1-1-1, --div--;LLL:EXT:partner/locallang.php:tx_partner.label.dates, birth_date;;8;;1-1-1, death_date;;9, gender;;;;1-1-1, marital_status, nationality, religion, mother_tongue;;;;1-1-1, preferred_language, join_date;;;;1-1-1, leave_date, --div--;LLL:EXT:partner/locallang.php:tx_partner.label.activities, occupations;;;;1-1-1, hobbies, courses, --div--;LLL:EXT:partner/locallang.php:tx_partner.label.frontend, field_visibility;;;;1-1-1, fe_user'),
'1' => Array('showitem' => 'type, label, status;;1, org_name;;;;1-1-1, org_type, org_legal_form, street;;5;;1-1-1, postal_code, locality;;10, country, po_number;;6;;1-1-1, po_postal_code;;7, image;;;;1-1-1, remarks, --div--;LLL:EXT:partner/locallang.php:tx_partner.label.contact_info_relationships, contact_info;;;;1-1-1, relationships_overview, --div--;LLL:EXT:partner/locallang.php:tx_partner.label.dates, formation_date;;;;1-1-1, closure_date, meeting_period;;;;1-1-1, meeting_unit, meeting_start_date')
),
'palettes' => Array (
'1' => Array('showitem' => 'contact_permission, data_source, external_id'),
'2' => Array('showitem' => 'preceding_title, letter_title'),
'3' => Array('showitem' => 'last_name_prefix, maiden_name, general_suffix, initials'),
'4' => Array('showitem' => 'middle_name'),
'5' => Array('showitem' => 'street_number, department, building, floor, room'),
'6' => Array('showitem' => 'po_no_number'),
'7' => Array('showitem' => 'po_locality, po_admin_area, po_country'),
'8' => Array('showitem' => 'birth_place'),
'9' => Array('showitem' => 'death_place'),
'10' => Array('showitem' => 'admin_area'),
)
Ich möchte die Extension aber nur mit Page-Bzw. User-TSConfig anpassen, um flexibel zu bleiben.
Kann ich Type- und Palettes-Eigenschaften der TCA mit TSconfig ändern?
Ich fürchte nicht, weil ich in der Doku nichts finde.
Aber vielleicht gibt es ja doch noch eine Möglichkeit?
Gruß, Regina