Blog

Notes from daily work with TYPO3, PHP and AI-assisted engineering.

Getting referenced files in TYPO3

In the frontend context In a frontend context, the \TYPO3\CMS\Core\DataHandling\DataHandler class cannot be used and there is no specific API to create a File Reference. You are on your own. The simplest solution is to simply create a database entry into table “sys_file_reference” by using directly the database connection class provided by TYPO3 CMS. A cleaner solution … Continue reading Getting referenced files in TYPO3

Top CLI VIM Commands and Shortcuts a PHP Developer Should Know

VIM Commands Since the 1970’s, Vi and its successor Vim have been included by default on many operating systems, including almost all GNU/Linux distributions. Vim is free and open-source and is one of the most popular code editors. It can be downloaded on Vim official site. vi (vim) line navigation FAQ: What is the vi command … Continue reading Top CLI VIM Commands and Shortcuts a PHP Developer Should Know