[TYPO3-english] Prevent css_styled_content from overwriting content rendering templates
Kay Strobach
typo3 at kay-strobach.de
Wed Jul 4 09:34:00 CEST 2012
Hi Thasmo,
you may use a hook to achieve that.
Otherwise a question is that code in localconf? - If you may move your
definition to ext_tables.php ;)
Regards
Kay
Am 03.07.2012 21:36, schrieb Thomas "Thasmo" Deinhamer:
> Hello folks,
>
> I got an extension which defines it's
> own content rendering templates. The
> extension must be installed first in
> order of installation, before CSC.
>
> The problem is,that css_styled_content
> overwrites the content rendering templates:
>
> --------------------------------------------------
> $TYPO3_CONF_VARS['FE']['contentRenderingTemplates'] = array(
> 'cssstyledcontent/static/',
> 'cssstyledcontent/static/v4.6/',
> 'cssstyledcontent/static/v4.5/',
> 'cssstyledcontent/static/v4.4/',
> 'cssstyledcontent/static/v4.3/',
> 'cssstyledcontent/static/v4.2/',
> 'cssstyledcontent/static/v3.9/',
> 'cssstyledcontent/static/v3.8/',
> );
> --------------------------------------------------
>
> Is there a way to prevent CSC overwriting
> the whole array or is there a hook which
> I can use to post-process $TYPO3_CONF_VARS?
>
> Thanks a lot,
> Thomas
--
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answer was useful - feel free to donate:
-
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
- https://flattr.com/profile/kaystrobach
More information about the TYPO3-english
mailing list