Open "Link to External Url" in new tab by default in TYPO3

In TYPO3 you can create a pages of the type "Link to External Url". Those pages appear just like normal pages in the navigation, but link to the absolute url given configured for the page. Links to those external pages are generated just like any link to a TYPO3-internal page. This leads to the kind of counter-intuitive behavior that these pages are opened in the same browser tab even if config.extTarget = _blank is set.

I was looking for a solution to open all external pages in a new tab. The bad news is: There is no built-in way to do that, but depending on your needs there are some fixes. Here are five solutions I found in order of increasing complexity.

keep on reading

Fix missing translations in TYPO3 and Snowbabel

For some years the language codes TYPO3 used for translations where based on the ISO country codes - not the ISO language codes! That was changed with TYPO3 4.6. That's why it might happen that translations go missing on the website if you do not move the language files correctly after updating from TYPO3 4.5.

This issue gets even more confusing if you use snowbabel. For some time they also used the faulty language codes from TYPO3 4.5, but then switched to the new labels in version 3.6.2. There you can also lose your translations if you don't take the proper actions.

keep on reading

Two surprising TYPO3 Performance Tips for Extension Developers

I recently did a performance analysis of a TYPO3 installation. Just from looking at the code it could not spot any major performance problems so I dug out the big guns and had a look at the code with xhprof.

As a five year TYPO3 extension developer who has seen quite a few things I was really surprised to find two significant things that I have not known about before.

keep on reading