简体   繁体   中英

TYPO3 TCA inline with wizard

在此处输入图像描述

In TYPO3 9.5 LTS, Is there a TCA option to change the inline new relation btn (1) to something like the form suggest (2) so that a popup does not appear?

Actually, clicking on button (1) opens a popup to select the product to add. I need to avoid this popup with a solution like the one of input field (2) where editor can type some letters and a list of records containing those letters appear. Is not mandatory that the selection is same as (2), even a select field populated with the products could do the job. The important thing is that it doesn't open a popup.

I'm not entirely sure what you want to archive. I'd suggest you install the typo3/cms-styleguide package (version ^9.2 should be suitable for TYPO3 9.5).

In the TCA section you can see examples of all possibilities you have with TCA.

Solved changing the TCA type of the column uid_local that references to the product records from type group to type select and adding the parameter foreign_table with the name of the products table.

This is the result: 在此处输入图像描述

Now, to select a product, the editor just have to choose one from the list. No more popup.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM