Feature #16404
closedflexibilize addPItoST43()
0%
Description
Extensions only work with 'css_styled_content' oder 'content (default)' if they use t3lib_extMgm::addPItoST43(). To use another rendering extension an alteration of the function t3lib_extMgm::addTypoScript() is necessary.
Make it more flexible by using a global variable to register the rendering extension:
Replace line 873:
$TYPO3_CONF_VARS['FE']['defaultTypoScript_'.$type.'.']['cssstyledcontent/static/'].=$content
With
$TYPO3_CONF_VARS['FE']['defaultTypoScript_'.$type.'.'][$SomeGlobalVariable].=$content;
(issue imported from #M3930)
Updated by Ernesto Baschny over 18 years ago
I would propose to postpone this feature to a refactoring of this stuff. I know of no other content rendering engine besides content (default) and css_styled_content, and I don't think there will be more of that before (or even after) TYPO3 5.0. And in 5.0 we need to rethink these things anyway (static templates in sys_templates will probably be gone by then).
Updated by old_lab over 18 years ago
I would like to have a method to use another rendering system.
know of no other content rendering engine besides content (default) and css_styled_content,...
Maybe thats because it is so difficult to plug one in... ;-)
Updated by Peter Niederlag over 18 years ago
IMO this feature-request qualifies perfect for 4.1. It's not a great fuss and a small (and backwards compatible) change.
Updated by Ernesto Baschny over 18 years ago
How about $TYPO3_CONF_VARS['FE']['contentRendererTemplate'][] array where all the content renderers can register?
I would leave "cssstyledcontent/static/" hardcoded as it is (in 4.x), because some crazy folk might be using some old or adapted of "local" installation of css_styled_content which would not add itself to this array.
So this would just be used by new content rendering extensions.
Updated by Ernesto Baschny over 12 years ago
- Category deleted (
Communication) - Status changed from Accepted to Rejected
- Target version deleted (
0) - PHP Version deleted (
4)
Not really needed anymore