Questions tagged [tca]

16 questions
0
votes
1 answer

Is there a way to set the upload folder in the backend? TYPO3 v11.5

I want to restrict/change/set access to a specific file folder when uploading to a file field from the backend. I have the following TCA code from the upload file field: 'document' => [ 'label' => 'Label', 'description' => 'Description', …
0
votes
0 answers

iOS TCA architecture parent intercept children's action

Now I have ListTabView it is parent and want to show MakeCardView by sheet. I am using @PresentationState for showing children View. It works well, but the problems is children view' s all action intercept by parents view. struct ListTabFeature:…
red
  • 25
  • 3
0
votes
0 answers

why TCA coordinator's routeAction working only once?

Now I made my project by using SwiftUI and TCA and TCA coordinator. I made root view and root View have a tree tab. last tab is profile tab. in profile tab when click the profile detail button, it go to the profile detail view Now it is working but…
red
  • 25
  • 3
0
votes
0 answers

SwiftUI, the composable architecture and core data, update entity

I'm try to make a ToDoApp using TCA and CoreData. When the user tap on a cell I would to change the complete attribute and change the value of the checkbox of the task cell. struct MainViewModel: ReducerProtocol { let loadElements: () ->…
Fabio Cirruto
  • 71
  • 1
  • 7
0
votes
1 answer

TCA: 'onAppear' Action is triggered but changes are not shown on screen

I'm using the TCA for an SwiftUI application and I have this bug that the '.onAppear' action is not showing any changes on the screen. This happens in the simulator and also on the phone. The weird thing is that when I'm printing the changes of the…
baronfac
  • 348
  • 3
  • 9
0
votes
1 answer

Xcode Previews throw errors when using SPM with a multi-module setup

I am using Swift Package Manager (SPM) with a multi-module setup in my Xcode project. However, when trying to use Xcode Previews, I am encountering errors. Could anyone help me troubleshoot this issue or suggest a workaround? I would greatly…
Ryu
  • 1
0
votes
0 answers

custom Extention with multiple RTE (text) but different configuration

in tables.sql i define teaser text, highlights text, description text, producttable text, in TCA I configure this: 'teaser' => [ 'l10n_mode' => 'prefixLangTitle', 'exclude' => true, 'label' => 'teaser', …
Eumolpius
  • 87
  • 9
0
votes
1 answer

TYPO3 Display Cond AND within OR not working

I am trying to combine some conditions to display a field. I want to show the field if (CType is text AND layout is 1) OR (Ctype is textpic AND layout is 2), but it doesn't work. It enters only the second condition when CType is textpic AND layout…
dade
  • 3
  • 2
0
votes
1 answer

typo3 flexform xml with itemsProcConfig to handover an array

I am still trying to tranform the TCA definition to an Flexform XML definition. I am working with T3 11.5.25. In T3 12 this is - as far as I know - deprecated and replaced by "type=file". But this is not available in T3 11. 'icon_file' => [ …
averlon
  • 325
  • 3
  • 14
0
votes
1 answer

How to convert typo3 tca definitions to xml

I have a TCA definition. But Flexforms in T3 use the same syntax but XML format I would like to convert the existing file to XML. Is there a simple way to do this? 'icon_file' => [ 'label' =>…
averlon
  • 325
  • 3
  • 14
0
votes
0 answers

Kotlin, swiftUI UI does not refresh

I am picking up a project which is using SWIFTUI (TCA) with integrate kotlin for handling business logic for both Android and iOS. I am facing an issue which is the Listview is not refresh after created additional object. I guess it is due to the…
jLeung
  • 1
  • 1
0
votes
1 answer

TYPO3 11 TCA field 'type' => 'user' - Fetch child objects like inline

I'm trying to create my own TCA field user type to simply display some data in the typo3 backend of an objects child/children. The thing is that when I fetch the children by query builder I would be returned an array with id's for its children…
Kathara
  • 1,226
  • 1
  • 12
  • 36
0
votes
1 answer

Remove unused fields (rename with prefix) / TCA Overrides

I customized the TCA of tt_address in my custom sitepackage. In EXT:my_package/Configuration/TCA/Overrides/tt_content.php I have this code, which works fine in the backend. $GLOBALS['TCA']['tt_address']['types']['0'] = [ 'showitem' => ' …
Steffi
  • 27
  • 4
0
votes
0 answers

Fixed columns with renderType => textTable?

i have a custom content element with a bodytext field. The renderType is set to 'textTable' $GLOBALS['TCA']['tt_content']['types']['myElement']['columnsOverrides']['bodytext'] = [ 'config' => [ 'type' => 'text', 'renderType' =>…
Steffi
  • 27
  • 4
0
votes
2 answers

TCA - show tt_address company as a select field in custom content element

i have a custom package with a custom content element. The data (header + bodytext) of the custom element is stored in tt_content. This content element now needs a connection to a record of tt_address. Therefore i extendet tt_content with a field…
Steffi
  • 27
  • 4
1
2