Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong screenshot in Types/Examples #436

Open
DavidBruchmann opened this issue Aug 28, 2021 · 1 comment
Open

Wrong screenshot in Types/Examples #436

DavidBruchmann opened this issue Aug 28, 2021 · 1 comment
Assignees

Comments

@DavidBruchmann
Copy link
Contributor

https://docs.typo3.org/m/typo3/reference-tca/master/en-us/Types/Examples.html

image

@linawolf linawolf self-assigned this Oct 23, 2021
@sypets
Copy link
Contributor

sypets commented Nov 14, 2023

Perhaps it is helpful to look at the v10.4 page to see how it used to be: https://docs.typo3.org/m/typo3/reference-tca/10.4/en-us/Types/#examples


Let's take the internal notes (sys_note) as a basic example. The ['types'] section is configured like this:

'types' => [
    '0' => [
        'showitem' => '
            --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general, category, subject, message,
            --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access, personal
        ',
    ],
]

It specifies two tabs: the first one labelled "general" with three fields "category" "subject" and "message", and the second one labelled "access" with the field "personal". Only the default type "0" is specified. Opening such a record looks like this:

image

@sypets sypets changed the title wrong screenshot Wrong screenshot in Types/Examples Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants