Bug #22534 ยป 14231.diff
t3lib/class.t3lib_extmgm.php (working copy) | ||
---|---|---|
'.$content;
|
||
if ($afterStaticUid) {
|
||
$TYPO3_CONF_VARS['FE']['defaultTypoScript_'.$type.'.'][$afterStaticUid].=$content;
|
||
// TODO: find a dynamic way to add default TS to all versions of css_style_content
|
||
if ($afterStaticUid==43) { // If 'content (default)' is targeted, also add to other 'content rendering templates', eg. css_styled_content
|
||
$TYPO3_CONF_VARS['FE']['defaultTypoScript_'.$type.'.']['cssstyledcontent/static/'] .= $content;
|
||
$TYPO3_CONF_VARS['FE']['defaultTypoScript_'.$type.'.']['cssstyledcontent/static/v4.2/'] .= $content;
|
||
$TYPO3_CONF_VARS['FE']['defaultTypoScript_'.$type.'.']['cssstyledcontent/static/v3.9/'] .= $content;
|
||
$TYPO3_CONF_VARS['FE']['defaultTypoScript_'.$type.'.']['cssstyledcontent/static/v3.8/'] .= $content;
|
||
// If 'content (default)' is targeted, also add to other 'content rendering templates', eg. css_styled_content
|
||
if ($afterStaticUid==43 && is_array($TYPO3_CONF_VARS['FE']['contentRenderingTemplates'])) {
|
||
foreach ($TYPO3_CONF_VARS['FE']['contentRenderingTemplates'] as $templateName) {
|
||
$TYPO3_CONF_VARS['FE']['defaultTypoScript_'.$type.'.'][$templateName] .= $content;
|
||
}
|
||
}
|
||
} else {
|
||
$TYPO3_CONF_VARS['FE']['defaultTypoScript_'.$type].=$content;
|
typo3/sysext/css_styled_content/ext_localconf.php (working copy) | ||
---|---|---|
'description' => '<ul><li>Clear divs will be generated by default for in-text right or left positioned textpic elements.</li><li>The default row space changes to 10px, to be in line with col space and text margin.</li><li>Rendering bugs with wrong margins were fixed (Default CSS changed).</li></ul>',
|
||
);
|
||
// Register ourselves as "content rendering template" (providing the hooks of "static template 43" = content (default) )
|
||
$TYPO3_CONF_VARS['FE']['contentRenderingTemplates'] = array(
|
||
'cssstyledcontent/static/',
|
||
'cssstyledcontent/static/v4.3/',
|
||
'cssstyledcontent/static/v4.2/',
|
||
'cssstyledcontent/static/v3.9/',
|
||
'cssstyledcontent/static/v3.8/',
|
||
);
|
||
?>
|