Netresearch Blog

Blog

You can find all the news and insights here. We share our knowledge, give tips and inform you about everything that happens internally and externally at our company.

High-end editing in TYPO3: Changing backend data with dynamic TCA

Hiring a TYPO3 agency for every small change can add up to a considerable cost factor. Our aim is to give our customers the opportunity to work more freely in their everyday lives, thereby saving costs and valuable time. That's why we have implemented a solution for our customer futureSAX that makes it possible to flexibly create fields in forms and to change all this form data in the backend at a later date.

Forms in TYPO3 & dynamic TCA entries

The Table Configuration Array (TCA), a core architecture of TYPO3, defines how TYPO3 uses which database fields and tables. Editors can then directly edit data records in the backend whose fields are configured via TCA.

Table Configuration Array
The Table Configuration Array, TCA for short, is a central concept in TYPO3. It is a configuration file or a configuration structure that contains the definition of database tables and their fields. It enables developers to control the structure and behaviour of database tables and forms in the backend. The TCA thus offers a flexible way of organising and adapting data in TYPO3 to meet the individual requirements of websites and applications.

In general, a form field in the TYPO3 backend is assigned to exactly one field in the database - the form and database are therefore permanently defined. If a new field is added to the form on the website, the editor should be able to edit the data from this field independently in the backend later on. We have therefore specified that the changeable fields of a form in the front end, which can therefore be dynamically adapted, correspond exactly to a data record in the database. Using the json format, we can now dynamically create the TCA fields in the backend. The json, which is located in a database field, is automatically generated from the form created by futureSAX (backend).

Nothing is impossible

Special customer requirements are always met with customised solutions. In this case, we were able to prove that nothing was impossible. If the customer also benefits from the solution and saves costs and time, then everyone wins. The advantage of this solution summarised once again:

By assigning all form fields in the front end to a data record in the database, complete freedom is given for subsequent editing of the form fields in the back end. In the standard case of a TYPO3, the connection of external data sources would be static and would have to be adapted each time the structures of these sources were changed. With our solution, the TYPO3 data records adapt dynamically to external changes.

Conclusion: The customer does not need us for his customisations and we can devote ourselves to the customer's other challenging projects.


Tobias Hein
Head of DXP

Change data flexibly in the backend without an agency? Our TYPO3 expert will be happy to help - arrange a non-binding consultation today!

Share article:

Latest posts

Spread Group: Spreadshop ist neues Projekt bei Netresearch

By Franka Hesse

When platforms grow: Spread Group relies on Netresearch for Spreadshop

A grown platform, international content and high technical requirements: Together with the Spread…

Read more
TYPO3 Design- und Marken-Relaunch: BIM-Projekt wird "Bundesfernstraßen digital"
By Caroline Kindervater

At the turn of the year, BIM Bundesfernstraßen was reorganised in a very short time: new design,…

Read more
Tender won: TYPO3 relaunch for Hochschule Mittweida
By Sandra Beier

A new digital presence is currently being created for Mittweida University of Applied Sciences. The…

Read more
Gastvorlesung Duale Hochschule Sachsen bei Netresearch (EN)
By Tobias Kämpfe

Students on the Business Administration Service and Retail Management, E-Commerce course at the…

Read more