typo3-10.x

TYPO3 FAL in Flexform

爷,独闯天下 提交于 2021-01-20 08:27:42
问题 I have a flexform with following code: <image> <TCEforms> <label>LLL:EXT:my_slider/Resources/Private/Language/locallang.xlf:flexform.slider.main.slider.image</label> <config> <type>group</type> <internal_type>file</internal_type> <allowed>jpg, jpeg, gif, png</allowed> <show_thumbs>1</show_thumbs> <minitems>0</minitems> <maxitems>1</maxitems> <size>1</size> </config> </TCEforms> </image> Until now this worked. But now in TYPO3 10 I get this error: TCA internal_type of field "image" in table tt

How to create a file upload field in flexform of a custom extbase extension in TYPO3 10?

落花浮王杯 提交于 2020-05-16 01:33:09
问题 I tried to create a file upload field in flexform of an extbase extension in TYPO3 10. since the internal_type "file" is not supported in TYPO3 10, I tried the below given code. <settings.bgImage> <TCEforms> <label>Background Image</label> <config> <type>inline</type> <maxitems>1</maxitems> <foreign_table>sys_file_reference</foreign_table> <!--<foreign_field>uid_foreign</foreign_field>--> <foreign_table_field>tablenames</foreign_table_field> <foreign_label>uid_local</foreign_label> <foreign

TYPO3 Produce images in different sizes

空扰寡人 提交于 2020-04-18 00:47:42
问题 I have this implementation, using it in a page level 2 submenu. Each level 2 menu has multiple subpages. Each subpage has one image. So this implementation produces an image from each page for each submenu. For example, a submenu with 2 subpages will have 2 images (one from each subpage). 1 = FILES 1 { references { table = pages fieldName = media data = levelmedia:-1, slide } begin = 0 maxItems = 2 renderObj = COA renderObj { 2 = IMAGE 2 { file { //params = -sharpen 50 +profile "*" -quality