[TYPO3-core] Reworking css_styled_content

Daniel Alder dalder at snowflake.ch
Mon Oct 22 08:38:58 CEST 2012


Am 18.10.2012 13:33, schrieb Jigal van Hemert:
> Mayb it's just that the PHP functions don't need to be changed that much
> to change the rendering? Most of the magic is done in TypoScript. You
> can register new content types and all render_* methods have a hook to
> use your own rendering methods completely.

Hooks are not an option. You're just able to enter on start. If you use 
hooks the output is right on the start. All the needed vars has to be 
done by yourself if you don't want to break anything (typoscript or 
systemconfs).

> Your own extensions can call
> TypoScript both from PHP and their own TypoScript.

Would be interesting how you access specified variables or try to use 
them for other ctypes.

For example:
If you want to use the calculations of the text/pic element. There is no 
way to enter ALL needed vars. If the files are not pictures, it's 
meaningless.

> A refactoring of old code can be a good thing however.

Plenty of vars are unused or same value in to vars saved.
Beside the whole logic is done in one function.


In the end its always the same, to use the functionality of the text/pic 
element, you have to rewrite the whole code.


More information about the TYPO3-team-core mailing list