Steffen Müller's TYPO3 blog

February 20, 2008

addPItoST43?

TYPO3 sometimes drives me nuts. It happens that I come across cryptic function or property names, using them over and over again without having a clue, what its name stands for. t3lib_extMgm::addPItoST43() is one of them, although it is part of almost a billion TYPO3 extensions...

Not only that we have the optionSplit beast, but we are hunted by the magic number 43. And we add PI to number ST43!

Today, I had enough and tried to find out, what 43 stands for. Finaly, the source code documentation led the cat out of the bag: 43 is the uid of the static template 'content.default' and the function name means: Add PlugIn to Static Template #43. Now don't worry if you use css_styled_content instead of static templates: The docs promise it will work anyway.

Comments


Leave a comment:

(will not be published)

yes no

About this site

At the moment, T3node is a TYPO3 blog by Steffen Müller. Beside TYPO3, technical and nontechnical topics about free software and the internet are discussed.

This blog is also a personal survey about what motivates me to write this blog and what issues are worth writing. Statistically, my motivation to do this is probably to

1. express myself
2. connect with other people
3. share knowledge with other people

All contents are distributed under the Creative Commons Attribution - NonCommercial - ShareAlike 3.0 Unported licence.

About other sites